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

[Bug 2792] attribute(*, xs:anyType)

From: <bugzilla@wiggum.w3.org>
Date: Wed, 01 Feb 2006 21:54:03 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1F4PvP-0003Jm-I9@wiggum.w3.org>

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

           Summary: attribute(*, xs:anyType)
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery
        AssignedTo: chamberl@almaden.ibm.com
        ReportedBy: jonathan.robie@datadirect.com
         QAContact: public-qt-comments@w3.org


XML Schema requires that an attribute's declared type be a simple type. The
following is not a valid XML Schema declaration:

<attribute ... type="xs:anyType" ... />

I can not find any text in our document that tells me the following is not a
valid SequenceType:

attribute(*, xs:anyType)

I believe we should modify the text of 2.5.4.5 Attribute Test as follows:


In these forms, AttributeName need not be present in the in-scope attribute
declarations, but TypeName must be <add>a simple type which is</addd> present in
the in-scope schema types.
Received on Wednesday, 1 February 2006 21:54:07 UTC

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