-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XML2RFC is blowing up on the attached draft #412
Comments
@daveoran@orandom.net uploaded file xml input file to xml2rfc |
@julian.reschke@gmx.de commented Diagnostics from rfc2629.xslt:
So the @anchor element is missing on the reference. (rfc2629.xslt reports that as WARNING but it really is an ERROR). |
@henrik@levkowetz.com changed status from |
@henrik@levkowetz.com changed resolution from `` to |
@henrik@levkowetz.com commented Fixed in 516811f: Added an error for references without anchor (in v2; in v3 this will be caught by the schema validation step). Fixes issue #412. |
owner:henrik@levkowetz.com
resolution_fixed
type_defect
| by daveoran@orandom.neti couldn't find anything useful in the traceback:
ORAN-M-51B7:Flowbalance Draft oran$ xml2rfc draft-oran-icnrg-flowbalance-00.xml
Parsing file draft-oran-icnrg-flowbalance-00.xml
Traceback (most recent call last):
File "/usr/local/bin/xml2rfc", line 11, in
load_entry_point('xml2rfc==2.5.2', 'console_scripts', 'xml2rfc')()
File "/usr/local/lib/python2.7/site-packages/xml2rfc/run.py", line 233, in main
pagedwriter.write(filename)
File "/usr/local/lib/python2.7/site-packages/xml2rfc/writers/base.py", line 1259, in write
self._build_index()
File "/usr/local/lib/python2.7/site-packages/xml2rfc/writers/base.py", line 1103, in _build_index
self._indexRef(ref_counter, title=title, anchor=ref.attrib["anchor"])
File "src/lxml/lxml.etree.pyx", line 2452, in lxml.etree._Attrib.getitem (src/lxml/lxml.etree.c:70080)
KeyError: 'anchor'
Issue migrated from trac:412 at 2022-02-05 12:49:03 +0000
The text was updated successfully, but these errors were encountered: