[jboss-jira] [JBoss JIRA] Closed: (JBMETA-160) JCA16MetaData is bound to j2ee namespace instead of the javaee one
Alexey Loubyansky (JIRA)
jira-events at lists.jboss.org
Tue Jan 6 08:08:04 EST 2009
[ https://jira.jboss.org/jira/browse/JBMETA-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Loubyansky closed JBMETA-160.
------------------------------------
Resolution: Done
Fixed.
> JCA16MetaData is bound to j2ee namespace instead of the javaee one
> ------------------------------------------------------------------
>
> Key: JBMETA-160
> URL: https://jira.jboss.org/jira/browse/JBMETA-160
> Project: JBoss Metadata
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Affects Versions: 1.0.0.CR12
> Reporter: Alexey Loubyansky
> Assignee: Alexey Loubyansky
> Fix For: 1.0.0.GA
>
>
> - at XmlRootElement(name="connector", namespace=JavaEEMetaDataConstants.J2EE_NS)
> + at 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"/>
--
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