Martin Desruisseaux created SIS-138:
---------------------------------------
Summary: XML output ignore the --encoding argument
Key: SIS-138
URL: https://issues.apache.org/jira/browse/SIS-138
Project: Spatial Information Systems
Issue Type: Bug
Components: Command line
Affects Versions: 0.3
Reporter: Martin Desruisseaux
Assignee: Martin Desruisseaux
Priority: Minor
Fix For: 0.4
Running the following from the command-line:
{noformat}
sis metadata --format xml --encoding ISO-8859-1 SomeNetcdfFile.nc
{noformat}
unconditionally formats the following:
{code:xml}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<gmd:MD_Metadata ...snip...>
{code}
while we would expect:
{code:xml}
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<gmd:MD_Metadata ...snip...>
{code}
--
This message was sent by Atlassian JIRA
(v6.1#6144)