OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xml-dev] Help regarding an XML attribute.



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