Check in changes for bugs 236064
and 236711:
- rename the EclipseLink native deployment XML schema to eclipselink_persistence_map_1.0.xsd
- rename the EclipseLink sessions XML schema to eclipselink_sessions_1.0.xsd
- remove mention of Oracle/IAS from the namespace for native
deployment XML:
Index: NamespaceResolvableProject.java
===================================================================
--- NamespaceResolvableProject.java (revision 1661)
+++ NamespaceResolvableProject.java (working copy)
@@ -25,7 +25,7 @@
public static final String ECLIPSELINK_PREFIX =
"eclipselink";
public static final String ECLIPSELINK_NAMESPACE =
- "http://xmlns.oracle.com/ias/xsds/eclipselink";
^^^^^^^^^^^^^^
In (the renamed) eclipselink_persistence_map_1.0.xsd
file, the namespace is declared as
<!-- Eclipse Persistence Service Project
:: Map Schema file for ORM/OXM/EIS -->
<xsd:schema
targetNamespace="http://www.eclipse.org/eclipselink/xsds/persistence"
In eclipselink_orm_1_0.xsd
file, the namespace is declared as
<xsd:schema
targetNamespace="http://www.eclipse.org/eclipselink/xsds/persistence/orm"
Removed the old eclipse_persistence_map_1.0.xsd-tofix
- it didn't validate, so it wasn't much use.
I re-did the schema in eclipselink_persistence_map_1.0.xsd
- it now validates (using 3 different XML schema
validation tools!).
Updated all the old 'legacy'
files to work with the new schemas/namespaces - I added some new
patterns to the
package renamer to handle this. NB - I scanned the SVN repository for
any and all files, but there is a chance I
missed something - please check your testcases and xml files.
Changes reviewed by Blaise and discussed with PeterK - at the last
minute, we decided to check everything in to make
the M10 cut-off, but since I was just a little un-sure of the
validation status of the new eclipselink_persistence_map_1.0.xsd
schema, schema validation has been disabled in XMLProjectReader - it
will be turned back on after M10 is built.
--
Mike Norman | Principal Software Designer | 613.288.4638
Oracle Server Technologies | EclipseLink Product
45 O'Connor Street, Suite 400 | Ottawa, ON K1P 1A4 | (fax) 613.238.2818
|