Chapter and verse from http://www.w3.org/TR/xmlschema-1 2.2.1.2 Simple Type Definition A simple type definition is a set of constraints on strings and information about the values they encode, applicable to the �normalized value� of an attribute information item or of an element information item with no element children. Informally, it applies to the values of attributes and the text-only content of elements.
Each simple type definition, whether built-in (that is, defined in [XML Schemas: Datatypes]) or user-defined, is a �restriction� of some particular simple �base type definition�. For the built-in primitive types, this is the simple version of the �ur-type definition�, whose name is anySimpleType. This is in turn understood to be a restriction of the �ur-type definition�. Simple types may also be defined whose members are lists of items themselves constrained by some other simple type definition, or whose membership is the union of the memberships of some other simple type definitions. List and union simple type definitions are also understood as restrictions of the simple �ur-type definition�. For detailed information on simple type definitions, see Simple Type Definitions (�3.14) and [XML Schemas: Datatypes]. The latter also defines an extensive inventory of pre-defined simple types. --------------------------------------------------------------------- [Note: the original poster's problem could be worked around by using xs:string as the base type instead of xs:anySimpleType.] Jeff ----- Original Message ----- From: "Tom Jordahl" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 26, 2002 7:08 AM Subject: RE: anySimpleType as base type > > Are you sure anySimpleType is a XML Schema type? > Can you find it in the Schema spec? > > If you can point to the Schema specification, you can open an enhancement request to add support for it. Including a patch to add support increases the chances that it will get addressed. > > -- > Tom Jordahl
