[Bug 3756] Pre-canonicalize the testsuite

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3756





------- Comment #7 from per@bothner.com  2006-09-21 19:13 -------
If the previous patch is accepted (which I woukd much appreciate) I'll submit a
similar patch for the remaining namespace-declaration-order cases.

I did find one rather larger discrepency from canonical output: Most of the
results "short-cut" end-tags, which is not allowed by canonical XML.  I.e.
<foo attributes.../> rather than <foo attributes...></foo>.  When I changed my
output routine to emit the latter rather than the former, then the number of
passes dropped by 174 in my testing.  "Fixing" these manually will be somewhat
more tedious.

Of course the goal isn't necessarily "canonical XML" as it is a well-specified
and predictable output format.  So "canonical XML but with end-tag
abbreviation" is a reasonable option for expected output files, at least as an
interim step for XQTS 1.0.x.

Received on Thursday, 21 September 2006 19:13:58 UTC