You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parsing file test.xml
WARNING: The 'docName' attribute of the <rfc/> element should have a revision number as the last component when submitted: docName="draft-foo-bar-02".
test.xml(2539): Warning: Removed a redundant ascii= attribute from <title>
test.xml(2541): Warning: Removed a redundant ascii= attribute from <organization>
test.xml(12): Warning: Expected a category, one of std,bcp,exp,info,historic, but found none
test.xml(12): Warning: The 'docName' attribute of the <rfc/> element should have a revision number as the last component: docName="draft-foo-bar-02".
Traceback (most recent call last):
File "/bin/xml2rfc", line 11, in <module>
sys.exit(main())
File "/usr/lib/python3.6/site-packages/xml2rfc/run.py", line 384, in main
textwriter.write(filename)
File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 163, in write
text = self.render(self.root, width=72, joiners=joiners)
File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 192, in render
res = func(e, width, **kwargs)
File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 2495, in render_rfc
ctext = self.render(c, width, **kwargs)
File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 192, in render
res = func(e, width, **kwargs)
File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 1300, in render_front
parts.append(self.render(c, width, **kwargs))
File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 192, in render
res = func(e, width, **kwargs)
File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 1776, in render_note
text = self.join(text, c, width, **kwargs)
File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 211, in join
etext = self.render(e, width, **kwargs)
File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 192, in render
res = func(e, width, **kwargs)
File "/usr/lib/python3.6/site-packages/xml2rfc/writers/text.py", line 1741, in render_name
hang=kwargs['joiners'][e.tag].hang
KeyError: 'name'
Issue migrated from trac:346 at 2022-02-05 12:44:25 +0000
The text was updated successfully, but these errors were encountered:
Removed an assert that prevented rendering of document top when some elements are so long that the line width will be more than 72 characters. Added support for with . Added format default for included references. Added warning for s without 'pn' attribute (which can happen if the is pointing at an element for which pn is not generated (this is probably an error in RFC 7998). Fixes issue #346
resolution_fixed
type_defect
| by julian.reschke@gmx.deIssue migrated from trac:346 at 2022-02-05 12:44:25 +0000
The text was updated successfully, but these errors were encountered: