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 #26263] Mon, 11 August 2003 06:47 Go to next message
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?
Re: HexBinary Type Validation bug [message #26305 is a reply to message #26263] Mon, 11 August 2003 07:49 Go to previous messageGo to next message
Eclipse User
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 09:09 Go to previous messageGo to next message
Eclipse User
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 09:16 Go to previous messageGo to next message
Eclipse User
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 10:36 Go to previous messageGo to next message
Eclipse User
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 12:23 Go to previous message
Eclipse User
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 07:49 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25942
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?
Re: HexBinary Type Validation bug [message #575990 is a reply to message #26305] Tue, 19 August 2003 09:09 Go to previous message
Eclipse User
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 09:16 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25942
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. ;-)
Re: HexBinary Type Validation bug [message #577470 is a reply to message #26520] Wed, 10 September 2003 10:36 Go to previous message
Eclipse User
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 12:23 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25942
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
Previous Topic:help with ref attribute
Next Topic:unexpected differences with/without target namespace
Goto Forum:
  


Current Time: Tue Jul 29 19:05:54 EDT 2014

Powered by FUDForum. Page generated in 0.01737 seconds