Hi! I have the same problem and came across this reference:
http://www.w3.org/2001/05/xmlschema-rec-comments#pfiS4SanySimpleType This recommendation states: --- Resolution Discussed at the May 23 telecon: http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002May/0091.html Henry Thompson to draft erratum: * Clarifying that the schema for schemas can derive primitives from anySimpleType, although users cannot. * Making the constraint normative, as per Jeni Tennison's point. Erratum incorporated within that of R-54. --- That is, anySimpleType is NOT a valid base for a data type in a user defined schema. See also: http://lists.xml.org/archives/xml-dev/200206/msg00446.html /Christer