W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2013

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

From: <bugzilla@jessica.w3.org>
Date: Sun, 05 May 2013 21:35:11 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-21931-523-dgiaROHT5c@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:43 UTC