What is the meaning of xs:mixed without elements?

emubresqueell

New Member
I got the following XSD bit from a customer. It is part of a legacy schema that spans over dozens of files.\[code\]<xs:element name="stateProvinceName"> <xs:complexType mixed="true"> <xs:attributeGroup ref="xml:attlist.global-attributes"/> </xs:complexType></xs:element>\[/code\]I'm trying to figure out what they actually want. There are no sub-elements, so what is the meaning of this 'xs:mixed'? is it supposed to me simpleContent, or no content?I told them that they should use more standard construct, e.g.\[code\]<xs:element name="stateProvinceName"> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attributeGroup ref="xml:attlist.global-attributes"/> </xs:extension> </xs:simpleContent> </xs:complexType></xs:element>\[/code\]But they are not sure it means the same thing.
 
Back
Top