You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2010/01/08 18:11:03 UTC

[jira] Updated: (CXF-2609) Schema validation failure when null system ID passed to LSResourceResolver.resolveResource()

     [ https://issues.apache.org/jira/browse/CXF-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp updated CXF-2609:
-----------------------------

    Fix Version/s: 2.1.9

> 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.1.9, 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.