[Home] [By Thread] [By Date] [Recent Entries]



> 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@a...
> Phone: 425-492-2204
> Fax: 425-492-2125
> http://www.aspentech.com/
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member