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 10423 - Canonicalization of expected result not possible due to relative uri in xml
Summary: Canonicalization of expected result not possible due to relative uri in xml
Status: CLOSED FIXED
Alias: None
Product: XQuery Update Facility Test Suite
Classification: Unclassified
Component: XQuery Update Facility Test Suite (show other bugs)
Version: 1.0.1
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Josh Spiegel
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-25 00:42 UTC by Markos Zaharioudakis
Modified: 2010-09-01 17:26 UTC (History)
1 user (show)

See Also:


Attachments

Description Markos Zaharioudakis 2010-08-25 00:42:58 UTC
Creating the canonical XML for the reference result (as described in the
guidelines) of queries propagateNamespaces05 and propagateNamespaces06
raises an error because the value of the default namespace declaration attribute
is not an absolute URI. 

A similar bug was opened, and fixed, for the XQTS. The link to that bug is:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6868
Comment 1 Josh Spiegel 2010-08-25 16:22:12 UTC
In both tests we can replace:
  declare default element namespace "bar";
With:
  declare default element namespace "http://example.org";


The new expected result for propagateNamespaces05:
<result xmlns="http://example.org">
  <x>foo a-ns</x>
  <y>http://example.org a-ns</y>
</result>

The new expected result for propagateNamespaces06:
<result xmlns="http://example.org">
  <x>foo a-ns</x>
  <y>http://example.org</y>
</result>

Sound good?
Comment 2 Andrew Eisenberg 2010-08-25 19:48:05 UTC
I've made the changes that Josh suggested.

Please close this bug report if you agree with this resolution.
Comment 3 Markos Zaharioudakis 2010-09-01 17:26:46 UTC
I agree with the fix and I am closing this bug.