You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/11/19 18:17:40 UTC

DO NOT REPLY [Bug 14686] New: - Xalan executable should be able to accept input from stdin

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14686>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14686

Xalan executable should be able to accept input from stdin

           Summary: Xalan executable should be able to accept input from
                    stdin
           Product: XalanC
           Version: 1.4.x
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: XalanC
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: david@arabidopsis.info


I want to use the Xalan executable in a pipeline. I think it should be able to
read from standard input as well as write to standard output. The solution I
propose is that Xalan should work as normal, except that if the "source" file is
a solitary -, it reads from standard in. Viz:

cat phooey.xml |Xalan - stylesheet.xslt | wc

(obviously this is a trivial example- I don't really want to use cat!)

I have a patch that does exactly this, which I'll try and attach...