[Geoserver-devel] [JIRA] (GEOS-8141) app-schema tutorial uses broken GeoSciML 2.0

Ben Caradoc-Davies [Administrator] created an issue

GeoServer / BugGEOS-8141

app-schema tutorial uses broken GeoSciML 2.0

Issue Type:

BugBug

Affects Versions:

2.10.4, 2.12-beta, 2.11.1

Assignee:

Ben Caradoc-Davies [Administrator]

Components:

Application schema

Created:

16/May/17 12:24 AM

Priority:

MediumMedium

Reporter:

Ben Caradoc-Davies [Administrator]

The app-schema tutorial uses GeoSciML 2.0, which has been broken by remote host name and path changes that have not been applied to its imports.

This is the old GeoSciML 2.0 schemaUri, which no longer works:
http://www.geosciml.org/geosciml/2.0/xsd/geosciml.xsd

The new GeoSciML 2.0 schemaUri has a new host name and removes the “xsd” path element:
http://schemas.geosciml.org/geosciml/2.0/geosciml.xsd

Schema caching still fails with:

Caused by: java.lang.RuntimeException: Failed to resolve http://www.geosciml.org/cgiutilities/1.0/xsd/cgiUtilities.xsd
	at org.geotools.xml.resolver.SchemaResolver.resolve(SchemaResolver.java:207)
	at org.geotools.xml.resolver.SchemaResolver.resolve(SchemaResolver.java:175)
	at org.geotools.xml.AppSchemaLocationResolver.resolveSchemaLocation(AppSchemaLocationResolver.java:67)
	at org.geotools.xml.Schemas$SchemaLocationResolverAdapter.resolveSchemaLocation(Schemas.java:1825)

The freshly-downloaded schemas still reference cgiutilities at the old host name and path:

$ grep -ri cgiutilities app-schema-cache/
app-schema-cache/org/geosciml/schemas/geosciml/2.0/geologicUnit.xsd:    <import namespace="urn:cgi:xmlns:CGI:Utilities:1.0" schemaLocation="http://www.geosciml.org/cgiutilities/1.0/xsd/cgiUtilities.xsd"/>
app-schema-cache/org/geosciml/schemas/geosciml/2.0/geosciml.xsd:    <import namespace="urn:cgi:xmlns:CGI:Utilities:1.0" schemaLocation="http://www.geosciml.org/cgiutilities/1.0/xsd/cgiUtilities.xsd"/>

Either nag CGI to fix the schema or upgrade the tutorial to GeoSciML 4.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.962.0#100041-sha1:a380e9a)

Atlassian logo