[Bug 21931] app/Demos/currencysvg-result.xml should not have an XML declaration.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21931

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@saxonica.com

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
You're correct that the test isn't following the authoring guidelines. However,
this shouldn't cause the test to fail. The documentation also states (on the
"running tests" page): 

The assert-xml assertion succeeds if the result is an XML document that
compares deep-equal to the document contained (in XML form) in the assertion.

And it also says (in the schema documentation): The assertion is true if the
result of parsing and canonicalizing the XML given in the body of the
assert-xml element is the same (byte-for-byte) as the result of canonicalizing
the XML result of the query. 

Clearly the presence of the XML declaration does not affect the comparison if
it is done according to these rules.

Assert-xml should not be interpreted as a comparison of serialized results; the
schema comments make this clear.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Sunday, 5 May 2013 21:35:12 UTC