OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004644 [xmlstarlet] regular use minor always 2010-12-21 17:52 2011-06-15 14:16
Reporter skayser View Status public  
Assigned To dam
Priority normal Resolution open  
Status feedback  
Summary 0004644: 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/) [^]
Additional Information $ pkgparam CSWxmlstarlet VERSION
1.0.2,REV=2010.04.17
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0008697)
dam (administrator)
2011-01-11 17:02

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.
(0009094)
skayser (administrator)
2011-05-30 20:07

Filed upstream

https://sourceforge.net/tracker/index.php?func=detail&aid=3309383&group_id=66612&atid=515106 [^]
(0009118)
dam (administrator)
2011-06-15 14:16

Moved

https://sourceforge.net/tracker/?func=detail&aid=3309383&group_id=66612&atid=515109 [^]


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker