Is there a built-in facility to check whether a given value is valid compared to the effective facets of its type?
Is there a built-in facility to check whether a given value is valid compared to the effective facets of its type?
Answer
To determine if a literal is valid with respect to a simple type, you can use either XSDSimpleTypeDefinition.isValidLiteral or XSDSimpleTypeDefinition.assess.
Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website.
If you are using this website then its your own responsibility to understand the content of the website