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-138) XML output ignore the --encoding argument
Date Tue, 01 Oct 2013 10:20:25 GMT
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)

Mime
View raw message