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

[Bug 1458] New: XQST0082 should be a dynamic error not a static error

From: <bugzilla@wiggum.w3.org>
Date: Tue, 17 May 2005 14:14:34 +0000
To: public-qt-comments@w3.org
Message-Id: <E1DY2qA-0000Xj-9z@wiggum.w3.org>


           Summary: XQST0082 should be a dynamic error not a static 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

This relates to attribute constructors for the xml:id attribute within a direct
element constructor. List item 5 in reads:

If the attribute name is in namespace http://www.w3.org/XML/1998/namespace and
its local part is id (informally, if the attribute name is xml:id), the
string-value of the attribute must be in the lexical space of the type xs:NCName
[err:XQST0082], and the is-id property of the resulting attribute node is set to
true; otherwise the is-id property is set to false.

In general it's not known until run-time whether the value of the attribute is a
valid NCName, so this should be a dynamic error not a static error.

Michael Kay
Received on Tuesday, 17 May 2005 14:22:01 UTC

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