You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Andreas Ernst (JIRA)" <ji...@apache.org> on 2013/10/18 16:38:43 UTC
[jira] [Created] (TAP5-2206) support parsing of JPA 2.x definitions
Andreas Ernst created TAP5-2206:
-----------------------------------
Summary: support parsing of JPA 2.x definitions
Key: TAP5-2206
URL: https://issues.apache.org/jira/browse/TAP5-2206
Project: Tapestry 5
Issue Type: Bug
Components: tapestry-jpa
Affects Versions: 5.3.7
Reporter: Andreas Ernst
Priority: Critical
<persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
</persistence>
does not work
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0">
</persistence>
namespace URI is a constant there and has different value
https://github.com/apache/tapestry-5/blob/master/tapestry-jpa/src/main/java/org/apache/tapestry5/internal/jpa/PersistenceContentHandler.java#L80
--
This message was sent by Atlassian JIRA
(v6.1#6144)