XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.CR13
    • 1.0.0.CR12
    • None
    • None

      -@XmlRootElement(name="connector", namespace=JavaEEMetaDataConstants.J2EE_NS)
      +@XmlRootElement(name="connector", namespace=JavaEEMetaDataConstants.JAVAEE_NS)
      @JBossXmlSchema(

      • xmlns= {@XmlNs(namespaceURI = JavaEEMetaDataConstants.J2EE_NS, prefix = "jee")}

        ,
        + xmlns=

        {@XmlNs(namespaceURI = JavaEEMetaDataConstants.JAVAEE_NS, prefix = "jee")}

        ,
        ignoreUnresolvedFieldOrClass=false,

      • namespace=JavaEEMetaDataConstants.J2EE_NS,
        + namespace=JavaEEMetaDataConstants.JAVAEE_NS,
        elementFormDefault=XmlNsForm.QUALIFIED,
        normalizeSpace=true)
        public class JCA16MetaData extends Connector16MetaData

      The JBoss XSD needs to be fixed as well:
      +++ src/main/resources/schema/jboss-ra_1_0.xsd (working copy)
      @@ -2,13 +2,12 @@
      <xs:schema xmlns="http://www.w3.org/2001/XMLSchema"
      targetNamespace="http://www.jboss.org/schema/ra"
      xmlns:ra="http://www.jboss.org/schema/ra" xmlns:xs="http://www.w3.org/2001/XMLSchema"

      • xmlns:j2ee="http://java.sun.com/xml/ns/j2ee/"
        + xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
        elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
      • <xsd:include schemaLocation="j2ee_1_4.xsd"/>
      • <xs:element name="jboss-ra" type="ra:jbossRaType">
        -
      • </xs:element>
        + <xs:import namespace="http://java.sun.com/xml/ns/j2ee" schemaLocation="j2ee_1_4.xsd"/>

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

                Created:
                Updated:
                Resolved: