<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi Martin, thanks for your prompt
      reply.<br>
      Here attached some code. I have certainly a problem of encoding.
      Why the copyright is not converted to &#169;? Same question
      for diacritics (see spanish words).<br>
      <br>
      I have difficulties to isolate the issue from the whole, since the
      issue seems at runtime. The application i've built generates a xml
      from a template, afterwhat it publish it to geonetwork. For
      unknown reasons, putting the copyright symbol breaks the
      publication, as something was invalid in the xml. If i separate
      the 2 actions, first marshall and produce the xml, then manually
      import the xml in Geonetwork, it works. I point you to the code i
      use:<br>
      - Metadata (where i use the copyright symbol in a citation
      template): <a
href="https://github.com/openfigis/gis-tools/blob/master/gis-metadata/gis-metadata/main/src/main/java/org/fao/fi/gis/metadata/GeographicEntityMetadata.java">https://github.com/openfigis/gis-tools/blob/master/gis-metadata/gis-metadata/main/src/main/java/org/fao/fi/gis/metadata/GeographicEntityMetadata.java</a>
      (row: 332 - 345)<br>
      - publisher (where i marshall to XML and publish the xml to
      Geonetwork): <a
href="https://github.com/openfigis/gis-tools/blob/master/gis-metadata/gis-metadata/publisher/src/main/java/org/fao/fi/gis/metadata/publisher/MetadataPublisher.java#L67">https://github.com/openfigis/gis-tools/blob/master/gis-metadata/gis-metadata/publisher/src/main/java/org/fao/fi/gis/metadata/publisher/MetadataPublisher.java#L67</a><br>
      <br>
      Emmanuel<br>
      <br>
      Le 20/01/2014 12:46, Martin Desruisseaux a écrit :<br>
    </div>
    <blockquote cite="mid:52DD0C95.7040405@geomatys.fr" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Hello Emmanuel<br>
      <br>
      Thanks for the issue report. Could you send us a small test case
      that reproduce the problem?<br>
      <br>
          Martin<br>
      <br>
      <div class="moz-cite-prefix">Le 20/01/14 12:34, Emmanuel Blondel a
        écrit :<br>
      </div>
      <blockquote cite="mid:52DD09E0.3030705@gmail.com" type="cite">
        <meta http-equiv="content-type" content="text/html;
          charset=ISO-8859-1">
        Hi all,<br>
        <br>
        I'm currently facing an issue when marshalling a metadata in
        UTF-8. Such metadata contains some text content that has the
        "copyright" symbol.<br>
        If i put the symbol itself, the XML marshaller does not keep it,
        and for strange reason replaces it with the (R) symbol. Apart
        from this, this makes raising an exception once i attempt to
        publish it in the metadata catalogue. The copyright is not
        converted to &#169;<br>
        <br>
        Any idea on how i should manage such special character with
        geotoolkit metadata?<br>
        <br>
        Many thanks in advance<br>
        <br>
        Emmanuel<br>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Geotoolkit mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Geotoolkit@lists.osgeo.org">Geotoolkit@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/geotoolkit">http://lists.osgeo.org/mailman/listinfo/geotoolkit</a></pre>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <span style="font: 80% Arial,sans-serif;"><b>Emmanuel Blondel</b><br>
      </span>
      <span style="font: 80% Arial,sans-serif;">GIS Consultant<br>
      </span>
      <span style="font: 80% Arial,sans-serif;">Engineer in Agronomy
        & Environment<br>
        <br>
      </span>
      <span style="font: 80% Arial,sans-serif;">Geographic Information
        Systems<br>
        in Agronomy - Environment - Fisheries<br>
        Email: <a class="moz-txt-link-abbreviated" href="mailto:emmanuel.blondel1@gmail.com">emmanuel.blondel1@gmail.com</a> - <a class="moz-txt-link-abbreviated" href="mailto:Emmanuel.Blondel@fao.org">Emmanuel.Blondel@fao.org</a><br>
      </span>
      <a href="http://fr.linkedin.com/in/emmanuelblondel1"
        style="text-decoration:none;"><span style="font: 80%
          Arial,sans-serif; color:#0783B6;"><img
            src="cid:part3.05050209.07030900@gmail.com" alt="View my
            LinkedIn profile" style="vertical-align:middle" width="20"
            height="15" border="0">View my LinkedIn profile</span></a></div>
  </body>
</html>