Hi All,
Sorry for cross posting.
I now seem to GN version 2.7 snapshot revision r8695 with ANZMEST
schemaplugins revision r8650.p migrated and running on the new server.
I am now debugging or documenting the errors.
When I start up GN I get the following in the catalina.out file:
...
2012-06-06 17:36:00,342 DEBUG [org.jzkit.z3950.server.Z3950Listener] -
Starting ZServer on port 6668 (timeout=300000)
2012-06-06 17:36:00,343 DEBUG [org.jzkit.z3950.server.Z3950Listener] -
Waiting for connection
2012-06-06 17:36:00,409 DEBUG [jeeves] - Using oasis catalog
files /data/jakarta/geonetwork-asdd/webapps/geonetwork/WEB-INF/oasis-catalog.xml;/data/jakarta/geonetwork-asdd/webapps/geonetwork/WEB-INF/schemaplugin-uri-catalog.xml
2012-06-06 17:36:00,410 DEBUG [jeeves] - Using catalog resolver
verbosity 1
WARNING: gco:Record is a global element without a type - assuming a
string
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:CoordinateSystemAxis
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:VerticalCS
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:CoordinateSystemAxis
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:VerticalDatum
WARNING: gco:Record is a global element without a type - assuming a
string
WARNING: gco:Record is a global element without a type - assuming a
string
WARNING: gco:Record is a global element without a type - assuming a
string
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:CoordinateSystemAxis
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:VerticalCS
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:CoordinateSystemAxis
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:VerticalDatum
WARNING: gco:Record is a global element without a type - assuming a
string
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:CoordinateSystemAxis
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:VerticalCS
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:CoordinateSystemAxis
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:VerticalDatum
WARNING: gco:Record is a global element without a type - assuming a
string
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:CoordinateSystemAxis
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:VerticalCS
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:CoordinateSystemAxis
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:VerticalDatum
2012-06-06 17:36:11,056 DEBUG [jeeves] - Using oasis catalog
files /data/jakarta/geonetwork-asdd/webapps/geonetwork/WEB-INF/oasis-catalog.xml;/data/jakarta/geonetwork-asdd/webapps/geonetwork/WEB-INF/schemaplugin-uri-catalog.xml;/data/jakarta/geonetwork-asdd/webapps/geonetwork/xml/schemas/iso19139/oasis-catalog.xml;/data/jakarta/geonetwork-asdd/webapps/geonetwork/schemaPlugins/iso19135/oasis-catalog.xml;/data/jakarta/geonetwork-asdd/webapps/geonetwork/schemaPlugins/iso19139.mcp-1.4/oasis-catalog.xml;/data/jakarta/geonetwork-asdd/webapps/geonetwork/schemaPlugins/iso19139.mcp/oasis-catalog.xml;/data/jakarta/geonetwork-asdd/webapps/geonetwork/schemaPlugins/eml-gbif/oasis-catalog.xml;/data/jakarta/geonetwork-asdd/webapps/geonetwork/schemaPlugins/anzmeta/oasis-catalog.xml;/data/jakarta/geonetwork-asdd/webapps/geonetwork/schemaPlugins/iso19139.anzlic/oasis-catalog.xml
...
Is this something that is a problem with my configuration, something
that has been fixed in a more recent version or a bug that I should
report?
Thanks.
John Hockaday
John,
In the ISO schema XSDs many elements have a substitution group ie. a group of elements that can be substituted for that element. eg. gco:CharacterString (as you'd know).
In the GeoNetwork editor, it is sometimes convenient to constrain or restrict the number of elements that will be offered when you add a new element as this can unnecessarily complicate the editor (too many choices for a particular element to add). The schema-substitutes.xml file allows you to do this - so for example in the MCP profile it's useful to offer just srv:SV_ServiceIdentification and mcp:MD_DataIdentification and leave out gmd:MD_DataIdentification as although that is a valid substitution in the XSDs we actually want people using the MCP to use mcp:MD_DataIdentification instead.
The messages about wiping out schema substitutions happens when you include an element in the schema substitutes file with no list of elements that can be substituted - this means that you want to constrain the choices to one element only. (Not sure I can see where some of those elements that are constrained to one element actually get offered by the editor just from a casual glance but in any case that is the intention.)
Cheers,
Simon
________________________________________
From: john.hockaday [john.hockaday@anonymised.com]
Sent: Thursday, 7 June 2012 4:12 PM
To: geonetwork-users; geonetwork-devel
Subject: [GeoNetwork-devel] WARNING: schema-substitutions.xml has wiped out XSD substitution list for gml
Hi All,
Sorry for cross posting.
I now seem to GN version 2.7 snapshot revision r8695 with ANZMEST
schemaplugins revision r8650.p migrated and running on the new server.
I am now debugging or documenting the errors.
When I start up GN I get the following in the catalina.out file:
...
2012-06-06 17:36:00,342 DEBUG [org.jzkit.z3950.server.Z3950Listener] -
Starting ZServer on port 6668 (timeout=300000)
2012-06-06 17:36:00,343 DEBUG [org.jzkit.z3950.server.Z3950Listener] -
Waiting for connection
2012-06-06 17:36:00,409 DEBUG [jeeves] - Using oasis catalog
files /data/jakarta/geonetwork-asdd/webapps/geonetwork/WEB-INF/oasis-catalog.xml;/data/jakarta/geonetwork-asdd/webapps/geonetwork/WEB-INF/schemaplugin-uri-catalog.xml
2012-06-06 17:36:00,410 DEBUG [jeeves] - Using catalog resolver
verbosity 1
WARNING: gco:Record is a global element without a type - assuming a
string
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:CoordinateSystemAxis
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:VerticalCS
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:CoordinateSystemAxis
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:VerticalDatum
WARNING: gco:Record is a global element without a type - assuming a
string
WARNING: gco:Record is a global element without a type - assuming a
string
WARNING: gco:Record is a global element without a type - assuming a
string
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:CoordinateSystemAxis
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:VerticalCS
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:CoordinateSystemAxis
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:VerticalDatum
WARNING: gco:Record is a global element without a type - assuming a
string
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:CoordinateSystemAxis
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:VerticalCS
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:CoordinateSystemAxis
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:VerticalDatum
WARNING: gco:Record is a global element without a type - assuming a
string
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:CoordinateSystemAxis
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:VerticalCS
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:CoordinateSystemAxis
WARNING: schema-substitutions.xml has wiped out XSD substitution list
for gml:VerticalDatum
2012-06-06 17:36:11,056 DEBUG [jeeves] - Using oasis catalog
files /data/jakarta/geonetwork-asdd/webapps/geonetwork/WEB-INF/oasis-catalog.xml;/data/jakarta/geonetwork-asdd/webapps/geonetwork/WEB-INF/schemaplugin-uri-catalog.xml;/data/jakarta/geonetwork-asdd/webapps/geonetwork/xml/schemas/iso19139/oasis-catalog.xml;/data/jakarta/geonetwork-asdd/webapps/geonetwork/schemaPlugins/iso19135/oasis-catalog.xml;/data/jakarta/geonetwork-asdd/webapps/geonetwork/schemaPlugins/iso19139.mcp-1.4/oasis-catalog.xml;/data/jakarta/geonetwork-asdd/webapps/geonetwork/schemaPlugins/iso19139.mcp/oasis-catalog.xml;/data/jakarta/geonetwork-asdd/webapps/geonetwork/schemaPlugins/eml-gbif/oasis-catalog.xml;/data/jakarta/geonetwork-asdd/webapps/geonetwork/schemaPlugins/anzmeta/oasis-catalog.xml;/data/jakarta/geonetwork-asdd/webapps/geonetwork/schemaPlugins/iso19139.anzlic/oasis-catalog.xml
...
Is this something that is a problem with my configuration, something
that has been fixed in a more recent version or a bug that I should
report?
Thanks.
John Hockaday
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
geonetwork-devel List Signup and Options
GeoNetwork OpenSource is maintained at GeoNetwork - Geographic Metadata Catalog download | SourceForge.net