[jira] [Commented] (JDO-807) Update schema descriptor of JDO Metadata file to use latest 3.2 xsd definition

2022-03-24 Thread Craig L Russell (Jira)


[ 
https://issues.apache.org/jira/browse/JDO-807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17512128#comment-17512128
 ] 

Craig L Russell commented on JDO-807:
-

Updating the sources to refer to jcp.org with the latest revision 3.2 seems to 
be a good idea. But since the speciation, api, and tck all need to be updated 
to be consistent using the new name space, i think we need to use a different 
JIRA  JDO-806 to coordinate these.

> Update schema descriptor of JDO Metadata file to use latest 3.2 xsd definition
> --
>
> Key: JDO-807
> URL: https://issues.apache.org/jira/browse/JDO-807
> Project: JDO
>  Issue Type: Task
>  Components: api, tck
>Affects Versions: JDO 3.2
>Reporter: Michael Bouschen
>Assignee: Michael Bouschen
>Priority: Major
> Fix For: JDO 3.3
>
>
> Most of the JDO metadata files (.jdo, .jdoquery, .orm) use the 3.0 schema 
> descrpitor:
> http://java.sun.com/xml/ns/jdo/jdo;
>      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
>      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/jdo 
>     [http://java.sun.com/xml/ns/jdo/jdo_3_0.xsd];>
> This should be updated to use the 3.2 version:
> .jdo-files:
> 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
>    [http://xmlns.jcp.org/xml/ns/jdo/jdo_3_2.xsd];>
> .orm-files:
> 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
>    [http://xmlns.jcp.org/xml/ns/jdo/orm_3_2.xsd];>
> .jdoquery-files
> 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
>    [http://xmlns.jcp.org/xml/ns/jdo/jdoquery_3_2.xsd];>



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (JDO-807) Update schema descriptor of JDO Metadata file to use latest 3.2 xsd definition

2022-03-22 Thread Andy Jefferson (Jira)


[ 
https://issues.apache.org/jira/browse/JDO-807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17510346#comment-17510346
 ] 

Andy Jefferson commented on JDO-807:


DataNucleus always uses a local copy when we have configured the precise XML 
file "identity" to map to an internal XSD/DTD. See 
[https://github.com/datanucleus/datanucleus-api-jdo/blob/master/src/main/resources/plugin.xml#L132]

The apache URLs aren't added in DataNucleus code yet, so you will likely get 
issues if you change your XML file across to using that before then

> Update schema descriptor of JDO Metadata file to use latest 3.2 xsd definition
> --
>
> Key: JDO-807
> URL: https://issues.apache.org/jira/browse/JDO-807
> Project: JDO
>  Issue Type: Task
>  Components: api, tck
>Affects Versions: JDO 3.2
>Reporter: Michael Bouschen
>Assignee: Michael Bouschen
>Priority: Major
> Fix For: JDO 3.3
>
>
> Most of the JDO metadata files (.jdo, .jdoquery, .orm) use the 3.0 schema 
> descrpitor:
> http://java.sun.com/xml/ns/jdo/jdo;
>      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
>      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/jdo 
>     [http://java.sun.com/xml/ns/jdo/jdo_3_0.xsd];>
> This should be updated to use the 3.2 version:
> .jdo-files:
> 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
>    [http://xmlns.jcp.org/xml/ns/jdo/jdo_3_2.xsd];>
> .orm-files:
> 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
>    [http://xmlns.jcp.org/xml/ns/jdo/orm_3_2.xsd];>
> .jdoquery-files
> 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
>    [http://xmlns.jcp.org/xml/ns/jdo/jdoquery_3_2.xsd];>



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (JDO-807) Update schema descriptor of JDO Metadata file to use latest 3.2 xsd definition

2022-03-21 Thread Michael Bouschen (Jira)


[ 
https://issues.apache.org/jira/browse/JDO-807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17510092#comment-17510092
 ] 

Michael Bouschen commented on JDO-807:
--

You are right, Andy. But I have this change in my workspace already. So I plan 
to do this in two steps.

BTW, is DataNuclues always using a local copy of the schema descriptors (xsd or 
dtd) and then always uses the latest version? We were wondering why the 
converter examples work w/o any issue, altough I used the 3.0 version of the 
xsd schema descriptor, but converters were added in 3.2.

 

> Update schema descriptor of JDO Metadata file to use latest 3.2 xsd definition
> --
>
> Key: JDO-807
> URL: https://issues.apache.org/jira/browse/JDO-807
> Project: JDO
>  Issue Type: Task
>  Components: api, tck
>Affects Versions: JDO 3.2
>Reporter: Michael Bouschen
>Assignee: Michael Bouschen
>Priority: Major
> Fix For: JDO 3.3
>
>
> Most of the JDO metadata files (.jdo, .jdoquery, .orm) use the 3.0 schema 
> descrpitor:
> http://java.sun.com/xml/ns/jdo/jdo;
>      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
>      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/jdo 
>     [http://java.sun.com/xml/ns/jdo/jdo_3_0.xsd];>
> This should be updated to use the 3.2 version:
> .jdo-files:
> 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
>    [http://xmlns.jcp.org/xml/ns/jdo/jdo_3_2.xsd];>
> .orm-files:
> 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
>    [http://xmlns.jcp.org/xml/ns/jdo/orm_3_2.xsd];>
> .jdoquery-files
> 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
>    [http://xmlns.jcp.org/xml/ns/jdo/jdoquery_3_2.xsd];>



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (JDO-807) Update schema descriptor of JDO Metadata file to use latest 3.2 xsd definition

2022-03-21 Thread Andy Jefferson (Jira)


[ 
https://issues.apache.org/jira/browse/JDO-807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17509989#comment-17509989
 ] 

Andy Jefferson commented on JDO-807:


Doesn't 
[JDO-806|https://issues.apache.org/jira/projects/JDO/issues/JDO-806?filter=allopenissues]
 need doing first, and then they can be changed to use the apache URL.

> Update schema descriptor of JDO Metadata file to use latest 3.2 xsd definition
> --
>
> Key: JDO-807
> URL: https://issues.apache.org/jira/browse/JDO-807
> Project: JDO
>  Issue Type: Task
>  Components: api, tck
>Affects Versions: JDO 3.2
>Reporter: Michael Bouschen
>Assignee: Michael Bouschen
>Priority: Major
> Fix For: JDO 3.3
>
>
> Most of the JDO metadata files (.jdo, .jdoquery, .orm) use the 3.0scheema 
> descrpitor:
> http://java.sun.com/xml/ns/jdo/jdo;
>      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
>      xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/jdo 
>     [http://java.sun.com/xml/ns/jdo/jdo_3_0.xsd];>
> This should be updated to use the 3.2 version:
> .jdo-files:
> 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
>    [http://xmlns.jcp.org/xml/ns/jdo/jdo_3_2.xsd];>
> .orm-files:
> 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
>    http://xmlns.jcp.org/xml/ns/jdo/orm_3_2.xsd;>
> .jdoquery-files
> 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
>    http://xmlns.jcp.org/xml/ns/jdo/jdoquery_3_2.xsd;>



--
This message was sent by Atlassian Jira
(v8.20.1#820001)