[
https://issues.jboss.org/browse/JBIDE-22141?page=com.atlassian.jira.plugi...
]
Rob Stryker commented on JBIDE-22141:
-------------------------------------
As in the other issue, you'd do better with something like this:
{code}
<?xml version="1.1" encoding="UTF-8"?>
<jboss-app version="7.0"
xmlns="http://www.jboss.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jee="http://www.jboss.com/xml/ns/javaee"
xsi:schemaLocation="
http://www.jboss.com/xml/ns/javaee
http://www.jboss.org/schema/jbossas/jboss-app_7_0.xsd">
<description>test</description>
</jboss-app>
{code}
However in eclipse right now this brings the obscure error: cvc-complex-type.3.1: Value
'7.0' of attribute 'version' of element 'jboss-app' is not valid
with respect to the corresponding attribute use. Attribute 'version' has a fixed
value of '6'.
This seems like it's caused by the fact that jboss-app_7_0.xsd imports the javaee6
elements rather than the ee7 elements. Which seems strange.
jboss-app.xml validate problem in JBDS 8.0.0.GA.
------------------------------------------------
Key: JBIDE-22141
URL:
https://issues.jboss.org/browse/JBIDE-22141
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: server
Affects Versions: 4.2.3.Final
Reporter: xu zhang
Create "jboss-app.xml" from attachment of article
"https://access.redhat.com/solutions/268733" in JBDS 8.0.0, error shows:
~~~
No grammar constraints (DTD or XML Schema) referenced in the document.
~~~
Customer wants JBDS to validate "jboss-app.xml" correctly.
Please let us know if it will be resolved in the next release/patch.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)