[jboss-jira] [JBoss JIRA] (JBMETA-394) jboss-app_7_0.xsd imports jboss-common_6_0.xsd and application_6.xsd

ehsavoie Hugonnet (JIRA) issues at jboss.org
Fri Apr 22 03:14:00 EDT 2016


    [ https://issues.jboss.org/browse/JBMETA-394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195559#comment-13195559 ] 

ehsavoie Hugonnet commented on JBMETA-394:
------------------------------------------

Because some of those changes are 'wrong' as I need to be able to have all of it locally (as the automatic netbeans build process can't connect to remote servers).
If those schemas help you then maybe we can try to have them uploaded.
Also like I said those are used for code generation so I'm not sure it fixes all.

> jboss-app_7_0.xsd imports jboss-common_6_0.xsd and application_6.xsd
> --------------------------------------------------------------------
>
>                 Key: JBMETA-394
>                 URL: https://issues.jboss.org/browse/JBMETA-394
>             Project: JBoss Metadata
>          Issue Type: Bug
>          Components: ear
>            Reporter: Rob Stryker
>
> The following xml code in eclipse fails the validate:
> {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}
> The error is:  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 is clearly caused by the intermingling of jee 7 with jee6 in the schemas.  These schemas need to be cleaned up or our users will be experiencing errors all the time. 



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list