[Home] [By Thread] [By Date] [Recent Entries]
One mistake here:
> <complexType>
> <simpleContent>
> <restriction base="xsd:string" />
> </simpleContent>
> <attribute>...</attribute>
> ...
> </complexType>
should be:
<complexType>
<simpleContent>
<restriction base="xsd:string" />
<attribute>...</attribute>
...
</restriction>
</simpleContent>
</complexType>
That is, the attribute definitions must be inside the restriction. Got
to learn how to read specs ...
-- Ron
Ronald Bourret wrote:
> <complexType>
> <simpleContent>
> <restriction base="xsd:string" />
> </simpleContent>
> <attribute>...</attribute>
> ...
> </complexType>
>
> -- Ron
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this elist use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
--
Ronald Bourret
Programming, Writing, and Training
XML, Databases, and Schemas
http://www.rpbourret.com
|

Cart



