[
https://issues.jboss.org/browse/JBDS-3119?page=com.atlassian.jira.plugin....
]
Brian Fitzpatrick commented on JBDS-3119:
-----------------------------------------
Ok. I wish I could create a simpler way to reproduce this with SwitchYard, but here it
is:
1. Start with a clean Luna SR2 install
2. Add update sites:
* Luna -
http://download.eclipse.org/releases/luna
* JBTIS Luna -
http://download.jboss.org/jbosstools/updates/development/luna/integration...
* SY 2.0.1.Beta1 -
http://download.jboss.org/jbosstools/updates/development/luna/integration...
3. Install SwitchYard tools
4. Ensure that Help->Preferences, XML->XML Files->Validation - "Honour all
XML schema locations" is turned on.
5. Import bean-service-quickstart. It should validate the project during build, if not -
File->Validate at root of project.
I'm seeing all sorts of errors, as in the list below.
{code}
Description Resource Path Location Type
cvc-complex-type.2.4.a: Invalid content was found starting with element
'implementation.bean'. One of
'{"http://docs.oasis-open.org/ns/opencsa/sca/200912":documentation,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":implementation}' is
expected. switchyard.xml /switchyard-bean-service/src/main/resources/META-INF line 28 XML
Problem
cvc-complex-type.2.4.a: Invalid content was found starting with element
'implementation.bean'. One of
'{"http://docs.oasis-open.org/ns/opencsa/sca/200912":documentation,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":implementation}' is
expected. switchyard.xml /switchyard-bean-service/src/main/resources/META-INF line 34 XML
Problem
cvc-complex-type.2.4.a: Invalid content was found starting with element
'interface.java'. One of
'{"http://docs.oasis-open.org/ns/opencsa/sca/200912":documentation,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":interface,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":binding,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":callback,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":requires,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":policySetAttachment,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":extensions}' is
expected. switchyard.xml /switchyard-bean-service/src/main/resources/META-INF line 30 XML
Problem
cvc-complex-type.2.4.a: Invalid content was found starting with element
'interface.java'. One of
'{"http://docs.oasis-open.org/ns/opencsa/sca/200912":documentation,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":interface,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":binding,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":callback,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":requires,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":policySetAttachment,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":extensions}' is
expected. switchyard.xml /switchyard-bean-service/src/main/resources/META-INF line 36 XML
Problem
cvc-complex-type.2.4.a: Invalid content was found starting with element
'interface.java'. One of
'{"http://docs.oasis-open.org/ns/opencsa/sca/200912":documentation,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":interface,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":binding,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":callback,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":requires,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":policySetAttachment,
"http://docs.oasis-open.org/ns/opencsa/sca/200912":extensions}' is
expected. switchyard.xml /switchyard-bean-service/src/main/resources/META-INF line 39 XML
Problem
cvc-complex-type.2.4.a: Invalid content was found starting with element
'transform.java'. One of
'{"urn:switchyard-config:switchyard:1.0":transform}' is
expected. switchyard.xml /switchyard-bean-service/src/main/resources/META-INF line 44 XML
Problem
cvc-complex-type.2.4.a: Invalid content was found starting with element
'validate.java'. One of
'{"urn:switchyard-config:switchyard:1.0":validate}' is
expected. switchyard.xml /switchyard-bean-service/src/main/resources/META-INF line 48 XML
Problem
Referenced file contains errors
(jar:file:/C:/Runtimes4/empty-lunasr2/plugins/org.switchyard.tools.xsd_2.0.1.v20150727-2018-H8-Beta1.jar!/schema/bean_1_0.xsd).
For more information, right click on the message in the Problems View and select
"Show
Details..." switchyard.xml /switchyard-bean-service/src/main/resources/META-INF line
1 XML Problem
Referenced file contains errors
(jar:file:/C:/Runtimes4/empty-lunasr2/plugins/org.switchyard.tools.xsd_2.0.1.v20150727-2018-H8-Beta1.jar!/schema/sca-binding-jca-1.1-cd04-rev2.xsd).
For more information, right click on the message in the Problems View and select
"Show
Details..." switchyard.xml /switchyard-bean-service/src/main/resources/META-INF line
1 XML Problem
Referenced file contains errors
(jar:file:/C:/Runtimes4/empty-lunasr2/plugins/org.switchyard.tools.xsd_2.0.1.v20150727-2018-H8-Beta1.jar!/schema/sca-binding-jms-1.1-csd05.xsd).
For more information, right click on the message in the Problems View and select
"Show
Details..." switchyard.xml /switchyard-bean-service/src/main/resources/META-INF line
1 XML Problem
Referenced file contains errors
(jar:file:/C:/Runtimes4/empty-lunasr2/plugins/org.switchyard.tools.xsd_2.0.1.v20150727-2018-H8-Beta1.jar!/schema/transform_1_0.xsd).
For more information, right click on the message in the Problems View and select
"Show
Details..." switchyard.xml /switchyard-bean-service/src/main/resources/META-INF line
1 XML Problem
Referenced file contains errors
(jar:file:/C:/Runtimes4/empty-lunasr2/plugins/org.switchyard.tools.xsd_2.0.1.v20150727-2018-H8-Beta1.jar!/schema/validate_1_0.xsd).
For more information, right click on the message in the Problems View and select
"Show
Details..." switchyard.xml /switchyard-bean-service/src/main/resources/META-INF line
1 XML Problem
No grammar constraints (DTD or XML Schema) referenced in the
document. order.xml /switchyard-bean-service/src/test/resources/xml line 1 XML Problem
No grammar constraints (DTD or XML Schema) referenced in the
document. orderAck.xml /switchyard-bean-service/src/test/resources/xml line 1 XML Problem
No grammar constraints (DTD or XML Schema) referenced in the
document. soap-request.xml /switchyard-bean-service/src/test/resources/xml line 1 XML
Problem
No grammar constraints (DTD or XML Schema) referenced in the
document. soap-response.xml /switchyard-bean-service/src/test/resources/xml line 1 XML
Problem
{code}
XML Schema validation fails when importing external schema
----------------------------------------------------------
Key: JBDS-3119
URL:
https://issues.jboss.org/browse/JBDS-3119
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Components: 3rd-party-dependencies, server
Affects Versions: 8.0.0.Beta3
Reporter: Mustafa Musaji
Assignee: Rob Stryker
Attachments: bean-service-quickstart.zip
Product JIRA for upstream bug -
https://bugs.eclipse.org/bugs/show_bug.cgi?id=315741
This is to track the upstream bug in Eclipse that we need to pull in to JBDS at some
point.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)