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 22: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 23 10:31:12 GMT 2014

Powered by FUDForum. Page generated in 0.04785 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software