Johan Huylebroeck created ARIES-872:
---------------------------------------
Summary: PersistenceDescriptorParserImpl doesn't accept namespace
prefixed tags
Key: ARIES-872
URL: https://issues.apache.org/jira/browse/ARIES-872
Project: Aries
Issue Type: Bug
Components: JPA
Affects Versions: 0.3
Environment: aries-jpa 0.3
Reporter: Johan Huylebroeck
Hello,
I'm using aries-jpa 0.3 with service mix. If I use a persistence.xml where =
the elements are prefixed by a namespace as in:
<pers:persistence xmlns:pers=3D"http://java.sun.com/xml/ns/persistence"
xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=3D"http://java.sun.com/xml/ns/persistence http://java=
.sun.com/xml/ns/persistence/persistence_1_0.xsd<http://java.sun.com/xml/ns/=
persistence%20http:/java.sun.com/xml/ns/persistence/persistence_1_0.xsd>"
version=3D"1.0">
<pers:persistence-unit name=3D"alpha">
<pers:properties>
<pers:property name=3D"javax.persistence.jdbc.driver" value=3D"alpha.=
db.class"/>
<pers:property name=3D"javax.persistence.jdbc.url" value=3D"jdbc:alph=
a:url"/>
<pers:property name=3D"javax.persistence.jdbc.user" value=3D"alan"/>
<pers:property name=3D"javax.persistence.jdbc.password" value=3D"4l4n=
"/>
</pers:properties>
</pers:persistence-unit>
</pers:persistence>
It is rejected by the PersistenceDescriptorParser, AFAIK using a prefix is =
valid and should be accepted.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira