[
https://issues.apache.org/jira/browse/JDO-807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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:
> <jdo xmlns="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:
> <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
> [http://xmlns.jcp.org/xml/ns/jdo/jdo_3_2.xsd]">
> .orm-files:
> <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
> [http://xmlns.jcp.org/xml/ns/jdo/orm_3_2.xsd]">
> .jdoquery-files
> <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
> [http://xmlns.jcp.org/xml/ns/jdo/jdoquery_3_2.xsd]">
--
This message was sent by Atlassian Jira
(v8.20.1#820001)