Uploaded image for project: 'JBoss Metadata'
  1. JBoss Metadata
  2. JBMETA-210

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.2.Beta2, 2.0.0.Alpha
    • None
    • None
    • None

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

              olubyans@redhat.com Alexey Loubyansky
              wolfgangknauf Wolfgang Knauf
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: