Opened 12 years ago

Closed 12 years ago

#957 closed defect (fixed)

gmd:PT_Locale@id changed without changing gmd:LocalisedCharacterString@locale

Reported by: ianwallen Owned by: geonetwork-devel@…
Priority: major Milestone: v2.8.0
Component: General Version:
Keywords: Cc:

Description

Some of the iso19139 schema there is a file called update-fixed-info.xsl which contains code to

   <!-- Set local identifier to the first 2 letters of iso code. Locale ids
         are used for multilingual charcterString using #iso2code for referencing.
   -->

The problem is that it sets the gmd:PT_Locale code but does not make any changes to the gmd:LocalisedCharacterString@locale causing them to get out of sync.

It works fine if the document that were created via the web interface. In our case we are importing documents from another source and they are using a lower case id (i.e."eng") and it is getting converted to "ENG" in the PT_Locale but nowhere else.

I would have expected that it would also changed all the #eng to #ENG

Attachments (1)

update-fixed-info.xsl.patch (2.1 KB ) - added by ianwallen 12 years ago.
Patch

Download all attachments as: .zip

Change History (3)

by ianwallen, 12 years ago

Attachment: update-fixed-info.xsl.patch added

Patch

comment:1 by ianwallen, 12 years ago

I have added a patch - It needs to be tested as well as possibly applied to the other schema plugins.

comment:2 by jesseeichar, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.