Closed ietf-svn-bot closed 3 years ago
@julian.reschke@gmx.de commented
The example file (elements.xml) apparently was fixed in https://trac.tools.ietf.org/tools/xml2rfc/trac/changeset/3236/trunk/cli/tests/input/elements.xml.
I haven't checked whether xml2rfc now also rejects TABs in sourcecode.
@julian.reschke@gmx.de changed _comment0 which not transferred by tractive
@julian.reschke@gmx.de commented
The AUTH48 XML for RFC 8662 has an HTAB in artwork, so apparently the problem is not solved yet. The output files do not seem to contain it, but the processor definitively should generate a warning or an error.
@julian.reschke@gmx.de changed priority from medium
to major
@julian.reschke@gmx.de commented
I just checked with 2.36.0 and apparently TABs are accepted and converted to multiple SP characters.
Raised priority to "major".
@henrik@levkowetz.com changed priority from major
to minor
@henrik@levkowetz.com _changed component from Version_3_cli_txt
to v3 vocabulary, v2 xml2rfc
_
@henrik@levkowetz.com changed status from new
to accepted
@henrik@levkowetz.com commented
To do: Add warning or note when changing tabs to spaces in
@mrcullen42@gmail.com commented
Testing shows that there is already a warning for a tab character in
@mrcullen42@gmail.com changed status from accepted
to assigned
@mrcullen42@gmail.com changed owner from ` to
mrcullen42@gmail.com`
@julian.reschke@gmx.de commented
"Tab characters (U+0009) inside of this element are prohibited."
So I think this needs to be more than a warning.
@jennifer@painless-security.com changed status from assigned
to closed
@jennifer@painless-security.com changed resolution from ` to
fixed`
@jennifer@painless-security.com commented
Fixed in 69863cb29c20151788ff9316debef5088f7b1b22:
Fix indentation error that prevented normalizing ascii-art whitespace. Fixes #403. Commit ready for merge.
@rjsparks@nostrum.com commented
Fixed in e138c90351b5c13cb32c2332427856050197f1af:
Merged in 69863cb29c20151788ff9316debef5088f7b1b22 from jennifer@painless-security.com:\n Fix indentation error that prevented normalizing ascii-art whitespace. Fixes #403.
owner:mrcullen42@gmail.com
resolution_fixed
type_defect
| by julian.reschke@gmx.de...but shouldn't, see https://greenbytes.de/tech/webdav/rfc7991.html#elements.
An example source file happens to be https://trac.tools.ietf.org/tools/xml2rfc/trac/browser/trunk/cli/tests/input/elements.xml?rev=3042
Issue migrated from trac:403 at 2022-02-05 12:48:24 +0000