[jboss-jira] [JBoss JIRA] Created: (JBMETA-210) Validation errors in some jboss-___.5_x.xsd files

Wolfgang Knauf (JIRA) jira-events at lists.jboss.org
Wed Jun 17 15:29:56 EDT 2009


Validation errors in some jboss-___.5_x.xsd files
-------------------------------------------------

                 Key: JBMETA-210
                 URL: https://jira.jboss.org/jira/browse/JBMETA-210
             Project: JBoss Metadata
          Issue Type: Bug
      Security Level: Public (Everyone can see)
         Environment: Eclipse 3.4.2/WebToolsPlatform 3.0.4
            Reporter: Wolfgang Knauf
            Assignee: Alexey Loubyansky


Some more schema definitions for 5.0/5.1 contain validation errors (which will raise validation errors if building instances in Eclipse). The problem is that includes/imports don't point to the web locations.
The same issue arose for jboss-5.1.xsd: https://jira.jboss.org/jira/browse/JBMETA-200

jboss-web_5_1.xsd:

   <xsd:import namespace="http://java.sun.com/xml/ns/javaee" schemaLocation="javaee_5.xsd"/>
   <xsd:include schemaLocation="jboss-common_5_1.xsd"/>

Change to:
   <xsd:import namespace="http://java.sun.com/xml/ns/javaee" schemaLocation="http://java.sun.com/xml/ns/javaee/javaee_5.xsd"/>
   <xsd:include schemaLocation="http://www.jboss.org/j2ee/schema/jboss-common_5_1.xsd"/>

===================    

jboss-ds_5_0.xsd:
   <xsd:import namespace="http://java.sun.com/xml/ns/javaee" schemaLocation="javaee_5.xsd"/>
   <xsd:include schemaLocation="jboss-common_5_1.xsd"/>

Change to:

   <xsd:import namespace="http://java.sun.com/xml/ns/javaee" schemaLocation="http://java.sun.com/xml/ns/javaee/javaee_5.xsd"/>
   <xsd:include schemaLocation="http://www.jboss.org/j2ee/schema/jboss-common_5_1.xsd"/>
   
===================    

jboss-client_5_1.xsd
   <xsd:import namespace="http://java.sun.com/xml/ns/javaee" schemaLocation="javaee_5.xsd"/>
   <xsd:include schemaLocation="jboss-common_5_1.xsd"/>

Change to:

   <xsd:import namespace="http://java.sun.com/xml/ns/javaee" schemaLocation="http://java.sun.com/xml/ns/javaee/javaee_5.xsd"/>
   <xsd:include schemaLocation="http://www.jboss.org/j2ee/schema/jboss-common_5_1.xsd"/>
   


-- 
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