Running Saxon-JS in Powershell
Willem Van Lishout <[email protected]>
| Newsgroups | gmane.text.xml.saxon.help |
|---|---|
| Message-ID | <CACF9-YorAm=MeXf9UcubyMgPCpQwHzhUAXNZzOCZ-iwcXUWEHA@mail.gmail.com> |
Hi, Not sure if a bug or not, but running Saxon-JS 2 from Powershell 7.0 on Windows only seems to work when the arguments (including their keys) are wrapped inside double quotes. So this doesn't work: xslt3 -s:c:\temp\temp.xml -xsl:c:\temp\Untitled1.xsl (Missing '=' in parameter 'c:\temp\temp.xml' Internal error: bad input to string constructor #undefined) While this does work (and it took me quite a while to figure it out): xslt3 "-s:c:\temp\temp.xml" "-xsl:c:\temp\Untitled1.xsl" This only happens in Powershell, not in cmd.exe. Cheers, Willem Van Lishout [email protected] _______________________________________________ saxon-help mailing list archived at http://saxon.markmail.org/ [email protected] https://lists.sourceforge.net/lists/listinfo/saxon-help