Menu

#122 docs(platform): usage in Ubuntu

all
open
nobody
8
2018-04-23
2018-04-23
No

1. Summary

For Ubuntu:

  • xmlstarlet command works for me
  • xml doesn't work

In documentation (1, 2) only xml command, that doesn't work in Ubuntu users.

Ubuntu users may not understand, that xmllint, not xml correct.

2. Environment

  • Ubuntu 14.04.5 LTS
  • xmlstarlet amd64 1.5.0-1

3. Configuration

See simple configuration on SashaXMLStarlet branch of my demo repository.

I have valid XML file SashaXML.xml with any content.

.travis.yml:

addons:
  apt:
    packages:
    - xmlstarlet

language: bash

script:
- xmlstarlet val SashaXML.xml
- xml val SashaXML.xml

4. Steps to reproduce

xmlstarlet val SashaXML.xml

xml val SashaXML.xml

5. xmlstarlet behavior

See on Travis CI:

$ xmlstarlet val SashaXML.xml
SashaXML.xml - valid
The command "xmlstarlet val SashaXML.xml" exited with 0.

6. xml behavior

See on Travis CI:

0.12s$ xml val SashaXML.xml
No command 'xml' found, did you mean:
 Command 'xmj' from package 'mah-jong' (universe)
 Command 'xl' from package 'xen-utils-common' (universe)
 Command 'qml' from package 'qtchooser' (main)
 Command 'wml' from package 'wml' (universe)
 Command 'sml' from package 'smlnj' (universe)
 Command 'xmp' from package 'xmp' (universe)
 Command '2xml' from package 'xml2' (universe)
 Command 'xm' from package 'xen-utils-common' (universe)
 Command 'xml2' from package 'xml2' (universe)
xml: command not found


The command "xml val SashaXML.xml" exited with 127.

Thanks.

Discussion


Log in to post a comment.