Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1216

CLI: Error when providing input to unparse subcommand via stdin

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 1.1.0
    • None
    • CLI, Unparsing
    • None

      I tried to run unparse by providing the input on stdin and I got this error:
      [dfdl] (0.16.0)$ echo -ne 'xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:dfdl="http://www.ogf.org/dfdl/dfdl-1.0/" xmlns:tns="http://www.example.org/example1/" xmlns="http://www.w3.org/2001/XMLSchema"><tns:row><tns:cell>0</tns:cell></tns:row></tns:matrix>' | daffodil-cli/target/universal/stage/bin/daffodil unparse -s daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section06/entities/charClassEntities.dfdl.xsd -r matrix
      [error] /home/jchab/NGF/dfdl/standardInput (No such file or directory)

              jchab Jessie Chab
              jchab Jessie Chab
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: