Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » HexBinary Type Validation bug
HexBinary Type Validation bug [message #575789] Mon, 11 August 2003 10:47
Eclipse UserFriend
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?
Previous Topic:How to traverse sequence / element within ComplexType
Next Topic:Removing components from an XML schema
Goto Forum:
  


Current Time: Mon Dec 22 07:59:06 GMT 2014

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

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