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 5510 - relative namespace URI in K2-DirectConOther-71
Summary: relative namespace URI in K2-DirectConOther-71
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Frans Englich
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-28 21:48 UTC by Andrew Eisenberg
Modified: 2008-02-29 11:22 UTC (History)
0 users

See Also:


Attachments

Description Andrew Eisenberg 2008-02-28 21:48:00 UTC
The query for K2-DirectConOther-71 is:

<a xmlns:p="NS"><b p:c="" p:d=""/></a>

The relative namespace URI bound to p can be processed by XQuery, but it trips up the canonicalization that I do to compare the actual and expected results.

Canonical XML, Version 1.0, 2.1 Data Model, says in part:

"Note: This specification supports the recent XML plenary decision to deprecate relative namespace URIs as follows: implementations of XML canonicalization MUST report an operation failure on documents containing relative namespace URIs. XML canonicalization MUST NOT be implemented with an XML parser that converts relative URIs to absolute URIs."

The same note appears in Canonical XML 1.1, Proposed Recommendation.


Perhaps you could change the query to something like:

<a xmlns:p="urn:abbrev:NS"><b p:c="" p:d=""/></a>
Comment 1 Frans Englich 2008-02-29 11:22:03 UTC
Yupp, changed in CVS as suggested.