This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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.
While this is not a valid type on an attribute, we should allow this expression since attribute(*, xs:anyType) matches the same nodes as attribute (*, xs:anySimpleType) according to our type matching rules. So I do not see a reason to be overly restrictive here....
I withdraw this - there's nothing really broken in the status quo.
Closing bug because commenter has not objected to the resolution posted and more than two weeks have passed.