Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: SF-240
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Eoghan Glynn
Reporter: Eoghan Glynn
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
FUSE Services Framework

Schema validation failure

Created: 07/Jan/10 03:05 PM   Updated: 11/Jan/10 03:57 PM
Component/s: None
Affects Version/s: 2.2.5-psc-01-00
Fix Version/s: 2.3.0.0-fuse, 2.2.5-psc-01-01, 2.2.6-fuse-01-00

File Attachments: 1. Text File sf_240.patch (5 kB)

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
Issue Links:
Fixed By
 

External Issue URL: https://issues.apache.org/jira/browse/CXF-2609


 Description  « Hide
The re-working of the EndpointReferenceUtils schema caching logic in 2.2.5 can cause schema validation failures. See ESB-1075 for details of the testcase.

The problem manifests as:

SAXException for newSchema() on
org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'ns1:IllustrationSet' to a(n) 'type definition' component.

and thereafter as:

org.apache.cxf.interceptor.Fault: Unmarshalling Error: cvc-elt.1: Cannot find the declaration of element 'generateIllustration'.


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Eoghan Glynn added a comment - 07/Jan/10 03:15 PM
The issue appears to be caused by the removal of the LSResourceResolver.resolve() logic to scan the schema-to-source map for entries corresponding to keys ending with the required namespace URI.

Eoghan Glynn added a comment - 08/Jan/10 02:43 PM
Fix for corresponding Apache issue CXF-2609 commited to Apache trunk.

Eoghan Glynn added a comment - 08/Jan/10 03:06 PM - edited
Fix for corresponding Apache issue CXF-2609 committed to Apache 2.2.x-fixes branch. From there, it will propagate automatically to the FUSE SF cxf-2.2.x-fuse branch.