HexBinary Type Validation bug [message #26263] |
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?
|
|
|
Re: HexBinary Type Validation bug [message #26305 is a reply to message #26263] |
Mon, 11 August 2003 11:49 |
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 13:09 |
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 13:16 |
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 #29052 is a reply to message #28497] |
Wed, 10 September 2003 16:23 |
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 11:49 |
Ed Merks 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 |
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 13:16 |
Ed Merks 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/
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02877 seconds