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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   FW: what's wrong with this?

[ Lists Home | Date Index | Thread Index ]


> Hi,
> 
> Can you tell the following segment of schema is valid or not? And WHY?
> 
> <xsd:complexType name = "ConnectionTypeType">
>     <xsd:simpleContent>
>       <xsd:restriction base = "xsd:string">
>         <xsd:enumeration value = "MaterialMovement" />
>         <xsd:enumeration value = "Other" />
>       </xsd:restriction>
>     </xsd:simpleContent>
>     <xsd:attribute name = "OtherValue" type = "xsd:string"/>
>   </xsd:complexType>
> 
> Somebody says 
>     <xsd:attribute name = "OtherValue" type = "xsd:string"/>
> is not expected here. WHY?
> 
> Thanks,
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Yong Miao
> Sr. Staff Engineer
> Manufacturing R&D
> Aspen Technology, Inc.
> mailto: yong.miao@aspentech.com
> Phone: 425-492-2204
> Fax: 425-492-2125
> http://www.aspentech.com/
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS