W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2005

[Bug 1857] New: attribute xmlns:p {"uri"} isn't an error

From: <bugzilla@wiggum.w3.org>
Date: Thu, 18 Aug 2005 11:38:51 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1E5ijT-0004GD-Vk@wiggum.w3.org>

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

           Summary: attribute xmlns:p {"uri"} isn't an error
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery
        AssignedTo: chamberl@almaden.ibm.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


In 3.7.3.2 we are clear that when you do

attribute {$exp} {"uri"}

then it's an error (XQDT0044) if the value of $exp is "xmlns" or "xmlns:XXX".

There should be a corresponding static error for the case where the name is
written explicitly, e.g. as

attribute xmlns:p {"uri"}

or

attribute xmlns {"uri"}

Michael Kay
(following up private email from David Carlisle)
Received on Thursday, 18 August 2005 11:38:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:07 UTC