Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-138

XML output ignore the --encoding argument

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.3
    • 0.4
    • Command line
    • None

    Description

      Running the following from the command-line:

      sis metadata --format xml --encoding ISO-8859-1 SomeNetcdfFile.nc
      

      unconditionally formats the following:

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <gmd:MD_Metadata ...snip...>
      

      while we would expect:

      <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
      <gmd:MD_Metadata ...snip...>
      

      Attachments

        Activity

          People

            desruisseaux Martin Desruisseaux
            desruisseaux Martin Desruisseaux
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: