[standards-jig] sequence vs. choice
stpeter at jabber.org
Thu Feb 7 17:13:37 UTC 2002
> : Not the way you intend I think. The above schema allows anything inside
> : the <message/> element, just because of
> : <xsd:any namespace='##any' minOccurs='0' maxOccurs='unbounded'/>
> : My understanding is that we want allow any element that a local name
> : value of 'x', in any namespace. Am I wrong ?
No, it does not have to be in an <x/> element. You could include some
other element of your choice (e.g., <y/>) as the container for your XML.
More information about the Standards