HexBinary Type Validation bug [message #575789] |
Mon, 11 August 2003 10:47 |
Eclipse User |
|
|
|
Originally posted by: tim.harris.snellwilcox.com
Hey,
I'm using XSDSimpleTypeDefinition.isValidLiteral() to validate a string
which should be of xsd:hexBinary type. When I do this I get the following
error:
java.lang.NoSuchMethodError:
org.apache.xerces.impl.dv.util.HexBin.decode(Ljava/lang/Stri ng;)Ljava/lang/String;
at
org.eclipse.xsd.impl.type.XSDHexBinaryType.isValidLiteral(XS DHexBinaryType.java:32)
at
org.eclipse.xsd.impl.type.XSDAnySimpleType.assess(XSDAnySimp leType.java:31)
at
org.eclipse.xsd.impl.XSDSimpleTypeDefinitionImpl.assess(XSDS impleTypeDefinitionImpl.java:3766)
at
org.eclipse.xsd.impl.XSDSimpleTypeDefinitionImpl.isValidLite ral(XSDSimpleTypeDefinitionImpl.java:3859)
<calling stack...>
I'm using Xerces 2.4.0.
Is this a bug or am I doing something incorrectly. I am succesfully
validating other types (restricted decimals).
Thanks,
Tim
PS
Any news on the loading schemas from JAR bug?
|
|
|
Powered by
FUDForum. Page generated in 0.02848 seconds