This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Section 3.5.1 of the XQuery Formal Semantics defines the type xs:anyType as define type xs:anyType restricts xs:anyType { attribute * of type xs:anySimpleType*, ( xdt:anyAtomicType* | ( element * of type xs:anyType | text | comment | processing-instruction )* ) } I suggest to make explicit that this is to be read as define type xs:anyType restricts xs:anyType { ( attribute * of type xs:anySimpleType )*, ( xdt:anyAtomicType* | ( element * of type xs:anyType | text | comment | processing-instruction )* ) } (note the parens around the `attribute *' part).
Added the proposed extra parenthesis. - Jerome