[jbosstools-issues] [JBoss JIRA] Resolved: (JBDS-1223) xml validation error -cvc-complex-type.2.4.b

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Tue Aug 3 12:05:49 EDT 2010


     [ https://jira.jboss.org/browse/JBDS-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Viacheslav Kabanovich resolved JBDS-1223.
-----------------------------------------

    Resolution: Rejected


I think this is an expected behavior rather than a bug.
New Enterprise Application Project Wizard in its second page (Enterprise Application) suggests to select Java EE module dependencies. If non-empty set of modules is selected, generated application.xml is correct. It is allowed to have empty selection for modules and check option generate application.xml. In this case generated application.xml has no element <module> in it which does not comply with schema, so the problem marker appears. The problem is resolved by adding a valid <module> element. The question is: should wizard enable finish with settings resulting in a project with problems? That may be a matter for discussion. My opinion is the option should be enabled. Maybe user wishes to start developing his workspace with creating EAR project and then add modules to it. Sophisticated restrictions may force a way which can become a maze puzzle for user.
However, Shaun, if your priority is to prevent wizards from creating invalid projects, you may put a feature request to Eclipse Bugzilla to improve New Enterprise Application Project Wizard.

> xml validation error -cvc-complex-type.2.4.b
> --------------------------------------------
>
>                 Key: JBDS-1223
>                 URL: https://jira.jboss.org/browse/JBDS-1223
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>    Affects Versions: 3.0.0.GA
>            Reporter: Shaun Appleton
>            Assignee: Viacheslav Kabanovich
>             Fix For: 4.0.0.M2
>
>
> An xml validation error occurs - 
> cvc-complex-type.2.4.b: The content of element 'application' is not complete. One of '{"http://java.sun.com/xml/ns/javaee":display-name, "http://java.sun.com/xml/ns/javaee":icon, "http://java.sun.com/xml/ns/javaee":module}' is expected.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list