[jbosstools-issues] [JBoss JIRA] (JBIDE-19029) Error: "Attribute name is not allowed to appear in element sub-deployment" in two Seam examples
Alexey Kazakov (JIRA)
issues at jboss.org
Mon Jan 12 15:54:49 EST 2015
[ https://issues.jboss.org/browse/JBIDE-19029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031950#comment-13031950 ]
Alexey Kazakov commented on JBIDE-19029:
----------------------------------------
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/org.jboss.tools.as.catalog/schema/xsd/jboss-deployment-structure-1_0.xsd
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)
More information about the jbosstools-issues
mailing list