Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 83807 invoked from network); 8 Jan 2010 14:43:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jan 2010 14:43:18 -0000 Received: (qmail 7064 invoked by uid 500); 8 Jan 2010 14:43:18 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 7040 invoked by uid 500); 8 Jan 2010 14:43:18 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 7030 invoked by uid 99); 8 Jan 2010 14:43:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2010 14:43:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2010 14:43:16 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E5D3A234C1E9 for ; Fri, 8 Jan 2010 06:42:54 -0800 (PST) Message-ID: <1819483426.121791262961774939.JavaMail.jira@brutus.apache.org> Date: Fri, 8 Jan 2010 14:42:54 +0000 (UTC) From: "Eoghan Glynn (JIRA)" To: issues@cxf.apache.org Subject: [jira] Resolved: (CXF-2609) Schema validation failure when null system ID passed to LSResourceResolver.resolveResource() In-Reply-To: <2079046880.121751262961654836.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eoghan Glynn resolved CXF-2609. ------------------------------- Resolution: Fixed Fix [committed|http://svn.apache.org/viewvc?rev=897217&view=rev] on trunk. > Schema validation failure when null system ID passed to LSResourceResolver.resolveResource() > -------------------------------------------------------------------------------------------- > > Key: CXF-2609 > URL: https://issues.apache.org/jira/browse/CXF-2609 > Project: CXF > Issue Type: Bug > Affects Versions: 2.2.5 > Environment: $ java -version > java version "1.6.0_16" > Java(TM) SE Runtime Environment (build 1.6.0_16-b01) > Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode) > $ uname -a > Linux geodesic 2.6.28-16-generic #55-Ubuntu SMP Tue Oct 20 19:48:24 UTC 2009 i686 GNU/Linux > Reporter: Eoghan Glynn > Assignee: Eoghan Glynn > Fix For: 2.2.6 > > > The re-working of the EndpointReferenceUtils schema caching logic in 2.2.5 can cause schema validation failures. This is triggered by a null system ID being passed to LSResourceResolver.resolveResource(), so that a direct key lookup in the schemas map fails. In order to locate the schema, a scan though the map searching for an endsWith match is required. > The problem manifests on the first schema resolution as: > {code} > SAXException for newSchema() on > org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'ns1:IllustrationSet' to a(n) 'type definition' component. > {code} > and thereafter as: > {code} > org.apache.cxf.interceptor.Fault: Unmarshalling Error: cvc-elt.1: Cannot find the declaration of element 'generateIllustration'. > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.