Hi Francois,
Thanks for the prompt reply and for making the metadata characterSet
un-editable, but what about making the "encoding" value of the XML
declaration editable? We would like to set that at "UTF-16" and not "UTF-8"?
Hopefully this would be somewhere in a configuration file.
Thanks.
John
-----Original Message-----
From: Francois-Xavier Prunayre
[mailto:francois-xavier.prunayre@anonymised.com]
Sent: Tuesday, 21 October 2008 6:39 PM
To: Hockaday John; lists@anonymised.com
Cc: geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] why is characterSet not
editable?[SEC=UNCLASSIFIED]Hi,
On mar, 2008-10-21 at 10:06 +1100, John.Hockaday@anonymised.com wrote:
> Anyway, to answer your question, if GeoNetwork sets the XML
declaration
> "encoding" attribute then the metadata characterSet should
*not* be editable.
> However, the resource characterSet should be editable.in metadata-iso19139.xsl, to do that, we should change :
<xsl:template mode="iso19139" match="gmd:characterSet" priority="2">
by
<xsl:template mode="iso19139"
match="//gmd:MD_Metadata/gmd:characterSet|//*[@gco:isoType='gm
d:MD_Metadata']/gmd:characterSet" priority="2">to only make readonly the metadata characterSet.
I will apply the fix to trunk.
Ciao.
Francois