[jboss-jira] [JBoss JIRA] Updated: (JBMETA-204) Validation errors in jboss_5_1.xsd (missing webservice-descriptionType)

Zachary Bedell (JIRA) jira-events at lists.jboss.org
Mon Jun 8 11:14:56 EDT 2009


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

Zachary Bedell updated JBMETA-204:
----------------------------------

              Summary: Validation errors in jboss_5_1.xsd (missing webservice-descriptionType)  (was: Validation errors in jboss_5_1.xsd)
        Fix Version/s:     (was: 1.0.1.GA)
    Affects Version/s: 1.0.1.GA
                           (was: 1.0.0.CR17)
          Description: An additional validation issue with current trunk jboss_5_1.xsd.  The webservicesType complex type references type jboss:webservice-descriptionType which is missing.  Copying the type from the jboss_5_0.xsd (which appears directly the webservicesType object around line 1223) resolves the issue.  (was: I tried to create a jboss.xml from jboss_5_1.xsd, using Eclipe/WebTools for validation. To achieve this, I picked newest "jboss_5_1.xsd" and "jboss_common_5_1.xsd"  from trunk (http://fisheye.jboss.org/browse/JBossAS/projects/metadata/trunk/src/main/resources/schema/jboss-common_5_1.xsd) and added them to an eclipse web project. The files at http://www.jboss.org/j2ee/schema/ are much older and with more problems...

This results in several problems:
=================
Import of "javaee_5.xsd"  in jboss_common_5_1.xsd does not point to the web location:
<xsd:import namespace="http://java.sun.com/xml/ns/javaee" schemaLocation="javaee_5.xsd"/>

It should be:
<xsd:import namespace="http://java.sun.com/xml/ns/javaee" schemaLocation="http://java.sun.com/xml/ns/javaee/javaee_5.xsd"/>

=================
Next one is in "jboss_5_1.xsd"

cos-nonambig: "http://www.jboss.com/xml/ns/javaee":security-identity and "http://www.jboss.com/xml/ns/javaee":security-identity (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles.	jboss_5_1.xsd

Reason: Element  "security-identity" in "message-driven-beanType" is duplicate.
Same issue was resolved for jboss_5_0.xsd: https://jira.jboss.org/jira/browse/JBMETA-185

=================
jboss_5_1.xsd contains this imports:
   <xsd:include schemaLocation="jboss-common_5_1.xsd"/>

It must point to a valid url: http://www.jboss.org/j2ee/schema/jboss-common_5_1.xsd

================
And finally: the usage comment talk about "5.0" and "jboss_5_0.xsd", should be 5.1
)


> Validation errors in jboss_5_1.xsd (missing webservice-descriptionType)
> -----------------------------------------------------------------------
>
>                 Key: JBMETA-204
>                 URL: https://jira.jboss.org/jira/browse/JBMETA-204
>             Project: JBoss Metadata
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 1.0.1.GA
>         Environment: Eclipse 3.4, WebToolsPlatform 3.0
>            Reporter: Zachary Bedell
>            Assignee: Alexey Loubyansky
>            Priority: Critical
>
> An additional validation issue with current trunk jboss_5_1.xsd.  The webservicesType complex type references type jboss:webservice-descriptionType which is missing.  Copying the type from the jboss_5_0.xsd (which appears directly the webservicesType object around line 1223) resolves the issue.

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

        



More information about the jboss-jira mailing list