Hi Craig,

the changes are checked in into the the branch JDO-806 (not JDO-807 - typo in my first email) and part of PR #40. I'll wait whether there is some more feedback and then merge the PR into the main branch.

I noticed the mailer changed my definitions of the xsd elements and added some URLS in brackets (e.g. <http://xmlns.jcp.org/xml/ns/jdo/jdo>). So I added them to a text file, you find it attached below. I think this is useful when we update the spec.

Regards Michael

Hi,

I have to confess ignorance on the proper use of http, https, and 
xsi:schemaLocation in the definitions.

It looks fine, and IIUC would not need anything else for me to use as is for 
JDO-806.

So it is fine for me to continue.

I didn't look in detail at how you structured the new test, but fine by me to 
push this.

Regards,
Craig

On Mar 27, 2022, at 8:47 AM, Bouschen, Michael 
<michael.bousc...@akquinet.de.INVALID> wrote:

Hi,

I changed the JDO metadata files to make use of of the apache URL for 
schemaLocation of JDO XSDs and JDO DOCTYPEs, please see PR #40 in branch 
JDO-807 for details.

I could successfully compile and run the tck with datanucleus as we used it 
with JDO 3.2.

Here is the declaration of the elements jdo, orm, jdoquery and jdoconfig I used:

<jdo xmlns="http://xmlns.jcp.org/xml/ns/jdo/jdo 
<http://xmlns.jcp.org/xml/ns/jdo/jdo>"<http://xmlns.jcp.org/xml/ns/jdo/jdo 
<http://xmlns.jcp.org/xml/ns/jdo/jdo>>
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 
<http://www.w3.org/2001/XMLSchema-instance>"<http://www.w3.org/2001/XMLSchema-instance 
<http://www.w3.org/2001/XMLSchema-instance>>
     xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/jdo/jdo 
<http://xmlns.jcp.org/xml/ns/jdo/jdo>
     https://db.apache.org/jdo/xmlns/jdo_3_2.xsd 
<https://db.apache.org/jdo/xmlns/jdo_3_2.xsd>">
...
When using a document type descriptor the DOCTYPE is as follows:

<!DOCTYPE jdo PUBLIC
    "-//The Apache Software Foundation//DTD Java Data Objects Metadata 3.2//EN"
    "https://db.apache.org/jdo/xmlns/jdo_3_2.dtd 
<https://db.apache.org/jdo/xmlns/jdo_3_2.dtd>"<https://db.apache.org/jdo/xmlns/jdo_3_2.dtd 
<https://db.apache.org/jdo/xmlns/jdo_3_2.dtd>>>

<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo_3_2.dtd"<file:/javax/jdo/jdo_3_2.dtd>>

Craig L Russell
c...@apache.org


Here is the declaration of the elements jdo, orm, jdoquery and jdoconfig I used:

<jdo xmlns="http://xmlns.jcp.org/xml/ns/jdo/jdo";
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
     xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/jdo/jdo
     https://db.apache.org/jdo/xmlns/jdo_3_2.xsd";>

<orm xmlns="http://xmlns.jcp.org/xml/ns/jdo/orm";
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
     xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/jdo/orm
     https://db.apache.org/jdo/xmlns/orm_3_2.xsd";>

<jdoquery xmlns="http://xmlns.jcp.org/xml/ns/jdo/jdoquery";
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/jdo/jdoquery
          https://db.apache.org/jdo/xmlns/jdoquery_3_2.xsd";>

<jdoconfig xmlns="http://xmlns.jcp.org/xml/ns/jdo/jdoconfig";
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
           
xsi:noNamespaceSchemaLocation="https://db.apache.org/jdo/xmlns/jdoconfig_3_2.xsd";>

When using a document type descriptor the DOCTYPE is as follows:

<!DOCTYPE jdo PUBLIC
    "-//The Apache Software Foundation//DTD Java Data Objects Metadata 3.2//EN"
    "https://db.apache.org/jdo/xmlns/jdo_3_2.dtd";>

<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo_3_2.dtd">

<!DOCTYPE orm PUBLIC
    "-//The Apache Software Foundation//DTD Java Data Objects Mapping Metadata 
3.2//EN"
    "https://db.apache.org/jdo/xmlns/orm_3_2.dtd";>

<!DOCTYPE orm SYSTEM "file:/javax/jdo/orm_3_2.dtd">

<!DOCTYPE jdoquery PUBLIC
    "-//The Apache Software Foundation//DTD Java Data Objects Query Metadata 
3.2//EN"
    "https://db.apache.org/jdo/xmlns/jdoquery_3_2.dtd";>

<!DOCTYPE jdoquery SYSTEM "file:/javax/jdo/jdoquery_3_2.dtd">

<!DOCTYPE jdoconfig PUBLIC
    "-//The Apache Software Foundation//DTD Java Data Objects Configuration 
3.2//EN"
    "https://db.apache.org/jdo/xmlns/jdoconfig_3_2.dtd";>

<!DOCTYPE jdoconfig SYSTEM "file:/javax/jdo/jdoconfig_3_2.dtd">

Reply via email to