Hi all,
I have a few issues, I try to put them in the same email.
Basic stuff:
I am using 1.3.6 offline (there's no newer offline version available for download).
I am using 1.3.6 online, too (there's an error that that does not allow running the development version; see attachment: xml2rfc-dev-error.png; see transcript in 'PS' at the end of this mail).
I attached my draft so you can run some the same tests.
When I use 1.3.6 offline, I get this error:
artwork outdented 1 characters to avoid overrunning right margin around input line 231
This is meaningless because I have no clue which line is too long - my editor shows that all lines are shorted than 72.
So, I tried using the online tool (1.3.6).
With the default settings, I get this:
Unable to Validate File
INPUT: 417 ms (379 elems, 309 attrs, 7265 spaces, 28061 chars)
[Error] INPUT:693:25: The content of element type "front" is incomplete, it must match "(title,author+,date,area*,workgroup*,keyword*,abstract?,note*)".
To proceed, you should fix your input file.
You may also try doing the conversion with Strict Checking turned off.
Apache/2.2.21 (Debian) Server at
xml.resource.org Port 80
This looks wrong to me because the structure does, in fact, match: title (1x), author (1x), date (1x), area (1xEMPTY), workgroup (1xEMPTY), abstract (1x), note (1x).
Something that might be work looking into.
Anyway, I go back, I change 'strict' to 'fast', and try again.
I get no messages of any kind. No errors, no warnings.
How can I figure out the reason for the figure being considered too wide?
Do I need to or is this fine?
Thank you.
PS. here's the transcript of the error from 2.2.3 in case it is useful:
Generating Text output in ASCII format
Expanding internal references and generating txt
Using XML_LIBRARY=/home/www/
tools.ietf.org/tools/xml2rfc/web/public/rfc/bibxml:/home/www/tools.ietf.org/tools/xml2rfc/web/public/rfc/bibxml2:/home/www/tools.ietf.org/tools/xml2rfc/web/public/rfc/bibxml3:/home/www/tools.ietf.org/tools/xml2rfc/web/public/rfc/bibxml4:/home/www/tools.ietf.org/tools/xml2rfc/web/public/rfc/bibxml5
Traceback (most recent call last):
File "/home/tonyh/bin/xml2rfc", line 4, in <module>
import pkg_resources
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2711, in <module>
parse_requirements(__requires__), Environment()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: xml2rfc==2.2.3
File is gone -- did you click reload?
Apache/2.2.21 (Debian) Server at
xml.resource.org Port 80
Best regards: Zoltán Ördögh