[Bug 5510] relative namespace URI in K2-DirectConOther-71

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5510

           Summary: relative namespace URI in K2-DirectConOther-71
           Product: XML Query Test Suite
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: andrew.eisenberg@us.ibm.com
         QAContact: public-qt-comments@w3.org


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>

Received on Thursday, 28 February 2008 21:48:11 UTC