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
CC:
To: public-qt-comments@w3.org
Message-Id: <E1JUqbg-0004pH-Fk@wiggum.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:50 GMT