[
https://issues.apache.org/jira/browse/CAMEL-6317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13645531#comment-13645531
]
David J. M. Karlsen commented on CAMEL-6317:
--------------------------------------------
I have a reproducable case in: [email protected]:davidkarlsen/camel6317.git,
which fails consistently on the following 4 different JDKs (all latest version)
- and the case failing is actually the one to avoid the JDK bug:
et2448@ubuntu:~/projects/ext/github.com/camel-6317$ /opt/jdk1.7/bin/java
-version
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
et2448@ubuntu:~/projects/ext/github.com/camel-6317$ /opt/jdk1.6/bin/java
-version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
et2448@ubuntu:~/projects/ext/github.com/camel-6317$
/opt/ibm/ibm-java-i386-60/bin/java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxi3260sr13fp1-20130325_01(SR13 FP1))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux x86-32
jvmxi3260sr13-20130114_134867 (JIT enabled, AOT enabled)
J9VM - 20130114_134867
JIT - r9_20130108_31100
GC - 20121212_AA)
JCL - 20130315_01
et2448@ubuntu:~/projects/ext/github.com/camel-6317$
/opt/ibm/ibm-java-i386-70/bin/java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build pxi3270sr4fp1-20130325_01(SR4 FP1))
IBM J9 VM (build 2.6, JRE 1.7.0 Linux x86-32 20130306_140761 (JIT enabled, AOT
enabled)
J9VM - R26_Java726_SR4_FP1_20130306_1011_B140761
JIT - r11.b03_20130131_32403ifx1
GC - R26_Java726_SR4_FP1_20130306_1011_B140761
J9CL - 20130306_140761)
JCL - 20130315_01 based on Oracle 7u13-b08
> Camel-validator not able to resolve schema when using useSharedSchema=false
> ---------------------------------------------------------------------------
>
> Key: CAMEL-6317
> URL: https://issues.apache.org/jira/browse/CAMEL-6317
> Project: Camel
> Issue Type: Bug
> Components: camel-validator
> Affects Versions: 2.11.0
> Environment: et2448@ubuntu:~/projects/payment/cashpool/server$
> /opt/ibm/ibm-java-i386-60/bin/java -version
> java version "1.6.0"
> Java(TM) SE Runtime Environment (build pxi3260sr13fp1-20130325_01(SR13 FP1))
> IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux x86-32
> jvmxi3260sr13-20130114_134867 (JIT enabled, AOT enabled)
> J9VM - 20130114_134867
> JIT - r9_20130108_31100
> GC - 20121212_AA)
> JCL - 20130315_01
> Reporter: David J. M. Karlsen
> Assignee: Claus Ibsen
> Fix For: 2.11.1
>
>
> This one works:
> {noformat}
> <to uri="validator:META-INF/xsd/fundscheckmaintainavailablebalance.xsd" />
> {noformat}
> This one doesn't:
> {noformat}
> <to
> uri="validator:META-INF/xsd/fundscheckmaintainavailablebalance.xsd?useSharedSchema=false"
> />
> {noformat}
> it fails with:
> {noformat}
> org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema
> document 'null', because 1) could not find the document; 2) the document
> could not be read; 3) the root element of the document is not <xsd:schema>.
> {noformat}
> The streamsource object in the validator is populated, but the buffered
> inputstream object has no content
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira