W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2008

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

From: <bugzilla@wiggum.w3.org>
Date: Thu, 28 Feb 2008 21:48:00 +0000
To: public-qt-comments@w3.org
Message-Id: <E1JUqbg-0004pH-Fk@wiggum.w3.org>


           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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:35 UTC