You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Timothy Ward (JIRA)" <ji...@apache.org> on 2012/07/18 21:35:34 UTC

[jira] [Assigned] (ARIES-872) PersistenceDescriptorParserImpl doesn't accept namespace prefixed tags

     [ https://issues.apache.org/jira/browse/ARIES-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Ward reassigned ARIES-872:
----------------------------------

    Assignee: Timothy Ward
    
> 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
>            Assignee: Timothy Ward
>         Attachments: parser.patch.gz
>
>
> 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