I'm looking for a little Java utility based on Xerces (in lieu of writing it myself) to validate against its corresponding XSSimpleTypeDefinition a string that is supposed to conform to a simple type.
An ugly but obvious approach is to create an document whose root element is designated to have the appropriate xsi:type with the string as its value and parse the serialized document. I'm looking for something better, if it exists. I see there is a class called org.apache.xerces.impl.dv.xs.XSSimpleTypeDecl which might be used, but I don't yet see how to produce one from the XSSimpleTypeDefinition. Jeff --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]