[
https://issues.jboss.org/browse/JBIDE-19029?page=com.atlassian.jira.plugi...
]
Alexey Kazakov edited comment on JBIDE-19029 at 1/12/15 4:12 PM:
-----------------------------------------------------------------
jboss-deployment-structure-1_0.xsd declares a wrong type for "sub-deployment"
element. It was fixed in jboss-deployment-structure-1_1.xsd. See AS7-1345.
So, Eclipse XML validator works fine here. There is nothing we should/can do with this
validator.
IMO we have two options:
1. Suggest seam team to update their project examples
(
https://github.com/seam2/jboss-seam/tree/Seam_2_3/examples/) to use
jboss-deployment-structure-1_1.xsd.
2. Fix this bug in the jboss-deployment-structure-1_0.xsd registred in XML Catalog in
JBoss Tools:
https://github.com/jbosstools/jbosstools-server/blob/master/as/plugins/or...
WDYT?
was (Author: akazakov):
jboss-deployment-structure-1_0.xsd declares as wrong type for "sub-deployment"
element. It was fixed in jboss-deployment-structure-1_1.xsd. See AS7-1345.
So, Eclipse XML validator works fine here. There is nothing we should/can do with this
validator.
IMO we have two options:
1. Suggest seam team to update their project examples
(
https://github.com/seam2/jboss-seam/tree/Seam_2_3/examples/) to use
jboss-deployment-structure-1_1.xsd.
2. Fix this bug in the jboss-deployment-structure-1_0.xsd registred in XML Catalog in
JBoss Tools:
https://github.com/jbosstools/jbosstools-server/blob/master/as/plugins/or...
WDYT?
Error: "Attribute name is not allowed to appear in element
sub-deployment" in two Seam examples
-----------------------------------------------------------------------------------------------
Key: JBIDE-19029
URL:
https://issues.jboss.org/browse/JBIDE-19029
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: server, upstream
Environment: JBDS 8.0.1.GA
Reporter: Matous Jobanek
Assignee: Viacheslav Kabanovich
Fix For: 4.2.3.Final, 4.3.0.Alpha1
When the projects
* mail-ear from the Seam example mail \[1\]
* tasks-ear from the Seam example tasks \[2\]
are imported into JBDS the error
{panel}
Attribute 'name' is not allowed to appear in element 'sub-deployment'
{panel}
will be shown for the file jboss-deployment-structure.xml.
It is caused by the bug in _jboss-deployment-structure-1_0.xsd_; see AS7-1345
This bug should be IMHO ignored and the error shouldn't be shown.
\[1\]
https://github.com/seam2/jboss-seam/tree/Seam_2_3/examples/mail
\[2\]
https://github.com/seam2/jboss-seam/tree/Seam_2_3/examples/tasks
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)