sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SIS-71) Consider replacing PT_FreeText by direct annotation of AbstractInternationalString
Date Tue, 25 Dec 2012 10:34:12 GMT
Martin Desruisseaux created SIS-71:
--------------------------------------

             Summary: Consider replacing PT_FreeText by direct annotation of AbstractInternationalString
                 Key: SIS-71
                 URL: https://issues.apache.org/jira/browse/SIS-71
             Project: Spatial Information Systems
          Issue Type: Improvement
          Components: Utilities
            Reporter: Martin Desruisseaux
            Assignee: Martin Desruisseaux
            Priority: Minor


{{PT_FreeText}} is a XML structure formatted like below:

{code:xml}
<gmd:title xsi:type="gmd:PT_FreeText_PropertyType">
  <gco:CharacterString>Some title in english is present in this node</gco:CharacterString>
  <gmd:PT_FreeText>
    <gmd:textGroup>
      <gmd:LocalisedCharacterString locale="#locale-fra">Un titre en français</gmd:LocalisedCharacterString>
    </gmd:textGroup>
  </gmd:PT_FreeText>
</gmd:title>
{code}

Currently, this is formatted by an internal {{PT_FreeText}} class used as a wrapper around
{{InternationalString}}. We should see if we can annotate {{AbstractInternationalString}} directly
instead. This would both simplify a little bit the internal mechanism and create a little
bit less objects at marshalling/unmarshalling time.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message