[
https://issues.jboss.org/browse/JBDS-3119?page=com.atlassian.jira.plugin....
]
Rob Stryker commented on JBDS-3119:
-----------------------------------
[~bfitzpat] Unfortunately all of those errors appear to be problems in either the
quickstart itself, or the schema. None of those errors seem to be eclipse errors. The
errors starting with cvc-complex-type.2.4.a indicate that your xml file is not strictly
following the schema (ie, the schema is saying it needs some sub-elements, and you've
provided none. Your xml is incomplete and is not valid as per the schema).
The other bugs (Referenced file contains errors) have to do with errors in the schemas
themselves, and, most often, have to do with the schemas using relative locations, which
they should never do, because it assumes all schema are colocated, and they rarely are
anymore.
So it seems you have two tasks here:
1) Remove all relative schemaLocation tags and replace them with schemaLocation tags
that point to the actual home of the schema
2) Fix the quickstarts to not leave out elements that the schema say are required.
Unfortunately, that's the best I can offer you. If you'd prefer to outsource that
task, I suggest you open a jira to the switchyard runtime team to make sure all xsd
validate and no relative schemaLocation tags are used anywhere. This may turn out to be
really hard, though, because you'll have to fight with other schema providers
(
http://docs.oasis-open.org/opencsa/sca-assembly/sca-1.1-cd06.xsd) to also not use
relative paths.
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, simplerSYexample.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.4.11#64026)