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

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