You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Craig L Russell (Jira)" <ji...@apache.org> on 2022/03/24 23:24:00 UTC

[jira] [Commented] (JDO-806) Use apache URL for schemaLocation of JDO XSDs

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

Craig L Russell commented on JDO-806:
-------------------------------------

The location for the source xsd and dtd files is now in the git repository 

db-jdo-site/src/main/resources/other/xmlns

the contents of the directory are published to [db.apache.org/jdo/xmlns|http://db.apache.org/jdo/xmlns]

It would be cleaner if the source were in db-jdo-site/src/main/resources/xmlns

The files also need their headers updated from:

<!-- The DOCTYPE should be as follows for metadata documents.
<!DOCTYPE jdo
    PUBLIC "-//Sun Microsystems, Inc.//DTD Java Data Objects Metadata 3.2//EN"
    "http://xmlns.jcp.org/dtd/jdo_3_2.dtd">
-->

to:

<!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">
-->

> Use apache URL for schemaLocation of JDO XSDs
> ---------------------------------------------
>
>                 Key: JDO-806
>                 URL: https://issues.apache.org/jira/browse/JDO-806
>             Project: JDO
>          Issue Type: Improvement
>          Components: api
>    Affects Versions: JDO 3.2
>            Reporter: Michael Bouschen
>            Priority: Major
>             Fix For: JDO 3.3
>
>
> In JDO 3.2 the schemaLocation of JDO XSDs link to http://xmlns.jcp.org/xml/ns/jdo/<xsd> where <xsd> is one of jdo_3_2.xsd, jdoconfig_3_2.xsd, jdoquery_3_2.xsd, orm_3_2.xsd. It seems that the site [http://xmlns.jcp.org/xml/ns] is not updated anymore, so it is unlikely that the 3.2 XSDs are available under this URL (see JDO-744).
> One idea ist might be to switch to an Apache URL, where we can control the download sites.



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