[
https://issues.apache.org/jira/browse/SIS-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Desruisseaux updated SIS-205:
------------------------------------
Summary: Enforce character encoding restriction at format time (was:
Enforce character encoding restriction)
> Enforce character encoding restriction at format time
> -----------------------------------------------------
>
> Key: SIS-205
> URL: https://issues.apache.org/jira/browse/SIS-205
> Project: Spatial Information Systems
> Issue Type: Sub-task
> Components: Referencing
> Affects Versions: 0.4, 0.5
> Reporter: Martin Desruisseaux
> Assignee: Martin Desruisseaux
> Priority: Minor
> Fix For: 0.6
>
>
> ISO 19162 requires that we restrict to the following characters in all quoted
> texts except in {{REMARKS}} elements:
> {noformat}
> A-Z a-z 0-9 _ [ ] ( ) { } < = > . , : ; + - (space) % & ' " * ^ / \ ? | °
> {noformat}
> They are ASCII codes 32 to 125 inclusive except ! (33), # (35), $ (36), @
> (64) and ` (96), plus the addition of ° (176). In particular, the
> specification recommends:
> * to use (_P_, _L_) as the transliteration of the Greek letters (_phi_,
> _lambda_) in axis abbreviations, or alternatively (_B_, _L_) or (_lat_,
> _long_),
> * to use (_U_) as a replacement for (_theta_) in polar coordinate system,
> * to use (_U_,_V_) as replacements for (_phi_, _theta_) in spherical
> coordinate system.
> -Those restrictions are currently not enforced in SIS.-
> {color:red}Update (May 2015):{color} newly added {{Transliterator}} class now
> handle some (not all) of those cases.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)