[geotk] [JIRA] Created: (GEOTK-74) Metadata elements defined by ISO 19115-2 shall be in the "gmi" namespace

Martin Desruisseaux (JIRA) jira at geomatys.com
Wed Dec 16 06:53:05 EST 2009


Metadata elements defined by ISO 19115-2 shall be in the "gmi" namespace
------------------------------------------------------------------------

                 Key: GEOTK-74
                 URL: http://jira.geotoolkit.org/browse/GEOTK-74
             Project: Geotoolkit
          Issue Type: Bug
          Components: Metadata
    Affects Versions: 3.06, 3.05, 3.04, 3.03, 3.07
            Reporter: Martin Desruisseaux
            Assignee: Martin Desruisseaux
             Fix For: 3.07, 3.08


ISO 19115-2 defines new classes and code lists which should belong to the {{"http://www.isotc211.org/2005/gmi"}} namespace (note that "2005" is declared despite the specification being released in 2009). The JAXB annotations defined in Geotk still use the {{"gmd"}} namespace. They need to be updated.

Note that a special handling will be required for a few classes extented by ISO 19115-2. For example ISO 19115-2 defines a new class, {{MI_Metadata}}, which extends {{MD_Metadata}} and adds a new {{acquisitionInformation}} element. In GeoAPI, the corresponding method has been added right into the existing {{Metadata}} interface without creating a new one. This was done in order to keep the API simplier for the developers. However this result in a name clash during XML (un)marshalling since the same class can be both for {{MD_Metadata}} and {{MI_Metadata}}. This ambiguity can be resolved in the JAXB adapter by selecting the {{MI_Metadata}} name if the {{acquisitionInformation}} element is non-null, or {{MD_Metadata}} otherwise.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.geotoolkit.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the Geotoolkit mailing list