Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » HexBinary Type Validation bug
HexBinary Type Validation bug [message #26263] Mon, 11 August 2003 10:47 Go to next message
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?
Re: HexBinary Type Validation bug [message #26305 is a reply to message #26263] Mon, 11 August 2003 11:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Tim,

This is a version mismatch. It will only work with Xerces 2.0.x. I'm hopeful that we can move to a newer
version in the Eclipse 3.0-based stream...

The JAR loading is working in the EMF/XSD 1.1.1 code stream, but we haven't dropped that to Eclipse yet,
as you've noticed. ;-)


Tim Harris wrote:

> 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?
Re: HexBinary Type Validation bug [message #26488 is a reply to message #26305] Tue, 19 August 2003 13:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tim.harris.snellwilcox.com

Ok, thanks for that.
Any idea when 1.1.1 will be released? (I'm starting to need to release
jars to people. I guess I could combine my schema's into one file, but
that is undesirable...)
Thanks again,
Tim


Ed Merks wrote:

> Tim,

> This is a version mismatch. It will only work with Xerces 2.0.x. I'm
hopeful that we can move to a newer
> version in the Eclipse 3.0-based stream...

> The JAR loading is working in the EMF/XSD 1.1.1 code stream, but we haven't
dropped that to Eclipse yet,
> as you've noticed. ;-)
Re: HexBinary Type Validation bug [message #26520 is a reply to message #26488] Tue, 19 August 2003 13:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Tim,

We should be able to make a stable build of 1.1.1 available either this week or
early next week.


Tim Harris wrote:

> Ok, thanks for that.
> Any idea when 1.1.1 will be released? (I'm starting to need to release
> jars to people. I guess I could combine my schema's into one file, but
> that is undesirable...)
> Thanks again,
> Tim
>
> Ed Merks wrote:
>
> > Tim,
>
> > This is a version mismatch. It will only work with Xerces 2.0.x. I'm
> hopeful that we can move to a newer
> > version in the Eclipse 3.0-based stream...
>
> > The JAR loading is working in the EMF/XSD 1.1.1 code stream, but we haven't
> dropped that to Eclipse yet,
> > as you've noticed. ;-)
Re: HexBinary Type Validation bug [message #28497 is a reply to message #26520] Wed, 10 September 2003 14:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tim.harris.snellwilcox.com

Hey, just to let you know that the schema including schema in jar seems to
work in 1.1.1.
Thanks,
Tim
Re: HexBinary Type Validation bug [message #29052 is a reply to message #28497] Wed, 10 September 2003 16:23 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Tim,

Excellent, thanks for letting me know. There should be a drop of 1.1.1 today
with that fix.

Tim Harris wrote:

> Hey, just to let you know that the schema including schema in jar seems to
> work in 1.1.1.
> Thanks,
> Tim
Re: HexBinary Type Validation bug [message #575831 is a reply to message #26263] Mon, 11 August 2003 11:49 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Tim,

This is a version mismatch. It will only work with Xerces 2.0.x. I'm hopeful that we can move to a newer
version in the Eclipse 3.0-based stream...

The JAR loading is working in the EMF/XSD 1.1.1 code stream, but we haven't dropped that to Eclipse yet,
as you've noticed. ;-)


Tim Harris wrote:

> 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?


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: HexBinary Type Validation bug [message #575990 is a reply to message #26305] Tue, 19 August 2003 13:09 Go to previous message
Eclipse UserFriend
Originally posted by: tim.harris.snellwilcox.com

Ok, thanks for that.
Any idea when 1.1.1 will be released? (I'm starting to need to release
jars to people. I guess I could combine my schema's into one file, but
that is undesirable...)
Thanks again,
Tim


Ed Merks wrote:

> Tim,

> This is a version mismatch. It will only work with Xerces 2.0.x. I'm
hopeful that we can move to a newer
> version in the Eclipse 3.0-based stream...

> The JAR loading is working in the EMF/XSD 1.1.1 code stream, but we haven't
dropped that to Eclipse yet,
> as you've noticed. ;-)
Re: HexBinary Type Validation bug [message #576029 is a reply to message #26488] Tue, 19 August 2003 13:16 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Tim,

We should be able to make a stable build of 1.1.1 available either this week or
early next week.


Tim Harris wrote:

> Ok, thanks for that.
> Any idea when 1.1.1 will be released? (I'm starting to need to release
> jars to people. I guess I could combine my schema's into one file, but
> that is undesirable...)
> Thanks again,
> Tim
>
> Ed Merks wrote:
>
> > Tim,
>
> > This is a version mismatch. It will only work with Xerces 2.0.x. I'm
> hopeful that we can move to a newer
> > version in the Eclipse 3.0-based stream...
>
> > The JAR loading is working in the EMF/XSD 1.1.1 code stream, but we haven't
> dropped that to Eclipse yet,
> > as you've noticed. ;-)


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: HexBinary Type Validation bug [message #577470 is a reply to message #26520] Wed, 10 September 2003 14:36 Go to previous message
Eclipse UserFriend
Originally posted by: tim.harris.snellwilcox.com

Hey, just to let you know that the schema including schema in jar seems to
work in 1.1.1.
Thanks,
Tim
Re: HexBinary Type Validation bug [message #577607 is a reply to message #28497] Wed, 10 September 2003 16:23 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Tim,

Excellent, thanks for letting me know. There should be a drop of 1.1.1 today
with that fix.

Tim Harris wrote:

> Hey, just to let you know that the schema including schema in jar seems to
> work in 1.1.1.
> Thanks,
> Tim


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:help with ref attribute
Next Topic:unexpected differences with/without target namespace
Goto Forum:
  


Current Time: Fri Apr 19 10:38:23 GMT 2024

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

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

Back to the top