This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7057 - ValSkip, ValLax, and ValTrans reference results contain xml declaration
Summary: ValSkip, ValLax, and ValTrans reference results contain xml declaration
Status: CLOSED FIXED
Alias: None
Product: XQuery Update Facility Test Suite
Classification: Unclassified
Component: XQuery Update Facility Test Suite (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-26 07:59 UTC by Matthias Brantner
Modified: 2009-07-30 08:09 UTC (History)
1 user (show)

See Also:


Attachments
list of reference results containing a problematic xml declaration (1.03 KB, text/plain)
2009-06-26 07:59 UTC, Matthias Brantner
Details

Description Matthias Brantner 2009-06-26 07:59:43 UTC
Created attachment 714 [details]
list of reference results containing a problematic xml declaration

The attached list of reference results contains an XML declaration although the comparison method specified in the catalog is "Fragment". This seems to be a problem since automatically adding an artificial root node and canonicalizing the result is not possible.
Comment 1 Michael Kay 2009-07-29 17:47:22 UTC
Taking the least course of resistance, I have changed these as requested.

However, surely "Fragment" means it is an XML external entity and it's easy to add a wrapper by using XML entity expansion? It seems to me that by not supporting an XML declaration in your test suite you're in danger of hitting encoding problems.

Actually, I'm not sure why these are listed as "Fragment" since most of them are well-formed XML. But I don't have time to investigate.