[XML-SIG] XML testing

Fred L. Drake Fred L. Drake, Jr." <fdrake@acm.org
Tue, 16 Jun 1998 14:07:14 -0400 (EDT)

Lars Marius Garshol writes:
 > something a bit more organized. diff, BTW, won't work, since line
 > breaks are replaced by &#10; in canonical XML.

  Using cmp should be fine, but...

 > BTW: It should be noted that the output from validating parsers will
 > differ from the output from non-validating parsers, because of
 > whitespace normalization in attribute values.

... this introduces a problem.  Perhaps correct output from validating
and non-validing parsers should be handled separately.  This is more
disk space, but not for "normal" users.


Fred L. Drake, Jr.	     <fdrake@acm.org>
Corporation for National Research Initiatives
1895 Preston White Dr.	    Reston, VA  20191