#909: Import / IllegalArgumentException when undeclared namespace is declared
---------------------+------------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: minor | Milestone: v2.7.0
Component: General | Version:
Keywords: |
---------------------+------------------------------------------------------
Import a metadata with an unused namespace without prefix trigger:
{{{
IllegalArgumentException : Namespace with no prefix. Cannot find a
namespace URI to set for element gmd:MD_Metadata - namespace URI
http://www.geosource.fr/2006/rpc
}}}
Example:
{{{
<?xml version="1.0" encoding="UTF-8"?>
<gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd"
xmlns="http://undeclared/namespace/in/schema/ident"
}}}
The metadata is valid and should be imported.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/909>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#909: Import / IllegalArgumentException when undeclared namespace in schema is
used as default namespace
----------------------+-----------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
Type: defect | Status: closed
Priority: minor | Milestone: v2.7.0
Component: General | Version:
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------
Changes (by fxp):
* status: new => closed
* resolution: => fixed
Old description:
Import a metadata with an unused namespace without prefix trigger:
{{{
IllegalArgumentException : Namespace with no prefix. Cannot find a
namespace URI to set for element gmd:MD_Metadata - namespace URI
http://www.geosource.fr/2006/rpc
}}}
Example:
{{{
<?xml version="1.0" encoding="UTF-8"?>
<gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd"
xmlns="http://undeclared/namespace/in/schema/ident"
}}}
The metadata is valid and should be imported.
New description:
Import a metadata with an unused namespace without prefix trigger:
{{{
IllegalArgumentException : Namespace with no prefix. Cannot find a
namespace URI to set for element gmd:MD_Metadata - namespace URI
http://undeclared/namespace/in/schema
}}}
Example:
{{{
<?xml version="1.0" encoding="UTF-8"?>
<gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd"
xmlns="http://undeclared/namespace/in/schema"
}}}
The metadata is valid and should be imported.
--
Comment:
Committed revision 9133.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/909#comment:1>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#909: Import / IllegalArgumentException when undeclared namespace in schema is
used as default namespace
----------------------+-----------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
Type: defect | Status: closed
Priority: minor | Milestone: v2.7.0
Component: General | Version:
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------
Comment(by fxp):
Committed revision 9134 (2.8.x).
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/909#comment:2>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.