Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » XSDSimpleTypeDef validation
XSDSimpleTypeDef validation [message #603585] Thu, 08 January 2009 17:41
Lukasz Wycisk is currently offline Lukasz Wycisk
Messages: 4
Registered: July 2009
Junior Member
I define type:

<xs:simpleType name="isValid4">
<xs:restriction base="xs:string">
<xs:enumeration value="small" />
<xs:enumeration value="medium" />
<xs:enumeration value="large" />
</xs:restriction>
</xs:simpleType>

Method isValidLiteral( "dummy" ) from XSDSimpleTypeDefinition returns.

How can I validate values?

Thanks,
£ukasz Wycisk
Previous Topic:EMF model from XML Schema fails if duration has default value
Next Topic:XSDSimpleTypeDef validation
Goto Forum:
  


Current Time: Tue Sep 02 05:09:50 EDT 2014

Powered by FUDForum. Page generated in 0.02948 seconds