Issue Details (XML | Word | Printable)

Key: OPENJPA-57
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Major Major
Assignee: Unassigned
Reporter: Stefan Arentz
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
OpenJPA

persistence_1_0.xsd is missing

Created: 23/Sep/06 11:39 AM   Updated: 02/Apr/07 11:03 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 0.9.7

Time Tracking:
Not Specified

Resolution Date: 02/Apr/07 11:03 PM


 Description  « Hide
It seems to be common that JPA providers include persistence_1_0.xsd in one of the distribution jars. I'm not sure if this is according to the spec but some tools such as Spring already depend on that behaviour.

This is probably mostly relevant for using JPA in a J2SE environment as I think the xsd is probably provided by the app server.

Discussion on the Spring forum about this:

 http://forum.springframework.org/showthread.php?t=26209&highlight=persistence_1_0.xsd

 S.


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
David Jencks added a comment - 23/Sep/06 04:42 PM
Is there some reason to think that apache has a license to redistribute this file? The copy I found at

http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd

appeared to say nothing whatsoever about redistribution but following the link at the bottom of the page

http://java.sun.com/xml/ns/persistence/

to

http://www.sun.com/termsofuse.html

I found this:

10.4 Unless explicitly stated herein, nothing in these Terms shall be construed as conferring any license to intellectual property rights, whether by estoppel, implication, or otherwise. Permission is granted to display, copy, distribute and download Content owned by Sun on this Website provided that: (a) the copyright notice pertaining to the Content remains, and a permission notice (e.g., "Used with permission") is added to such Content; (b) the use of such Content is solely for personal and non-commercial use; (c) such Content will not be copied or posted on any networked computer or published in any medium, except as explicitly permitted by valid permission or license covering such materials; and (d) no modifications are made to such Content. This permission terminates automatically without notice if You breach any of the terms or conditions in this Section 10.4. Upon termination, You must immediately destroy any downloaded and/or printed Content.

which appears to me to quite definitely prohibit redistributing the schema without written permission.

Patrick Linskey made changes - 01/Mar/07 01:12 AM
Field Original Value New Value
Fix Version/s 0.9.7 [ 12312340 ]
Michael Dick made changes - 02/Apr/07 07:54 PM
Fix Version/s 0.9.7 [ 12312340 ]
Fix Version/s 0.9.8 [ 12312446 ]
Patrick Linskey added a comment - 02/Apr/07 11:03 PM
If the user does not specify an XSD, OpenJPA doesn't require that the XSD is present to parse files. Since OpenJPA does not need the file to be around, and the legality of distributing it is in question, I'm marking this as will-not-fix. The linked-to Spring forum issue seems to be due to a dependency in the Spring codebase; let's let them decide whether they want to ship the XSD or make it optional.

Patrick Linskey made changes - 02/Apr/07 11:03 PM
Fix Version/s 0.9.7 [ 12312340 ]
Fix Version/s 0.9.8 [ 12312446 ]
Resolution Won't Fix [ 2 ]
Status Open [ 1 ] Resolved [ 5 ]