Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 92EEBFC40 for ; Fri, 26 Apr 2013 09:40:18 +0000 (UTC) Received: (qmail 18306 invoked by uid 500); 26 Apr 2013 09:40:18 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 18088 invoked by uid 500); 26 Apr 2013 09:40:16 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 18050 invoked by uid 99); 26 Apr 2013 09:40:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Apr 2013 09:40:16 +0000 Date: Fri, 26 Apr 2013 09:40:16 +0000 (UTC) From: "David J. M. Karlsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CAMEL-6317) Camel-validator not able to resolve schema when using useSharedSchema=false MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-6317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David J. M. Karlsen updated CAMEL-6317: --------------------------------------- Description: This one works: {noformat} {noformat} This one doesn't: {noformat} {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 . {noformat} The streamsource object in the validator is populated, but the buffered inputstream object has no content was: This one works: {noformat} {noformat} This one doesn't: {noformat} {noformat} > 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 > > This one works: > {noformat} > > {noformat} > This one doesn't: > {noformat} > > {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 . > {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