[bug-notifications] [xmlstarlet 0004644]: Multiple options (-a -u) not supported in element mode
Mantis Bug Tracker
noreply at opencsw.org
Tue Jan 11 17:02:20 CET 2011
The following issue requires your FEEDBACK.
======================================================================
https://www.opencsw.org/mantis/view.php?id=4644
======================================================================
Reported By: skayser
Assigned To: dam
======================================================================
Project: xmlstarlet
Issue ID: 4644
Category: regular use
Reproducibility: always
Severity: minor
Priority: normal
Status: feedback
======================================================================
Date Submitted: 2010-12-21 17:52 CET
Last Modified: 2011-01-11 17:02 CET
======================================================================
Summary: Multiple options (-a -u) not supported in element
mode
Description:
I am hitting errors when trying to use multiple options (-u and -a) in
element mode with 1.0.2. On their own, these option do work, combining them
(which I would like to do to reduce output) doesn't seem to be possible
though.
$ xmlstarlet el -u config.xml
UserScriptConfig
UserScriptConfig/Script
UserScriptConfig/Script/Include
$ xmlstarlet el -a config.xml
UserScriptConfig
UserScriptConfig/Script
UserScriptConfig/Script/@filename
UserScriptConfig/Script/@name
UserScriptConfig/Script/@namespace
...
$ xmlstarlet el -u -a config.xml
I/O warning : failed to load external entity "-a"
$ xmlstarlet el -u -a config.xml
I/O warning : failed to load external entity "-a"
$ xmlstarlet el -ua config.xml
XMLStarlet Toolkit: Display element structure of XML document
Usage: xml el [<options>] <xml-file>
where
<xml-file> - input XML document file name (stdin is used if missing)
<options> is one of:
-a - show attributes as well
-v - show attributes and their values
-u - print out sorted unique lines
-d<n> - print out sorted unique lines up to depth <n>
XMLStarlet is a command line toolkit to query/edit/check/transform
XML documents (for more information see http://xmlstar.sourceforge.net/)
======================================================================
----------------------------------------------------------------------
(0008697) dam (administrator) - 2011-01-11 17:02
https://www.opencsw.org/mantis/view.php?id=4644#c8697
----------------------------------------------------------------------
Please report errors only concerning upstream at the SF website:
https://sourceforge.net/tracker/?group_id=66612&atid=515106
xmlstarlet now has more upstream developers working on functional fixes.
More information about the bug-notifications
mailing list