- From: Dare Obasanjo <dareo@microsoft.com>
- Date: Mon, 22 Jul 2002 14:25:06 -0700
- To: "Jeroen Koops" <jeroen@empanda.net>, <xmlschema-dev@w3.org>
> -----Original Message----- > From: Jeroen Koops [mailto:jeroen@empanda.net] > Sent: Monday, July 22, 2002 2:15 PM > To: xmlschema-dev@w3.org > Subject: Question about different content-model for element > w/ same name > > My question is: is it also allowed for elements with the same > name to use different content-models, _without_ the > possibility to make a distinction based on their context, as in: > > <xs:element name="..."> > <xs:complexType> > <xs:choice> > <xs:element name="myName" type="myFirstType"/> > <xs:element name="myName" type="mySecondType"/> > </xs:choice> > </xs:complexType> > </xs:element> > Nope. This is invalid. -- PITHY WORDS OF WISDOM Going the speed of light is bad for your age. This posting is provided "AS IS" with no warranties, and confers no rights.
Received on Monday, 22 July 2002 17:25:38 UTC