[
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/
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
|