[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLT 2.0 has arrived

Subject: Re: XSLT 2.0 has arrived
From: Elliotte Harold <elharo@xxxxxxxxxxxxxxx>
Date: Tue, 23 Jan 2007 17:38:00 -0500
Re:  XSLT 2.0 has arrived
David Carlisle wrote:

actually I'm rather surprised by the comment that the interface is
difficult, there are pros and cons of using any system if course, but a command line of java -jar saxon8.jar source.xml style.xsl

That's still more complex than "xsltproc style.xsl source.xml" and in practice you have to do quite a bit more than that. You can't rely on having saxon8.jar in the current working directory, nor should you have to. In reality, it's usually something like


$ java -jar saxon8.jar source.xml style.xsl
Unable to access jarfile saxon8.jar
$ java -jar /User/elharo/lib/saxon8.jar source.xml style.xsl
Unable to access jarfile saxon8.jar
$ java -jar /Users/elharo/lib/saxon8.jar source.xml style.xsl
...

Of course, you could put saxon8.jar into your jre/lib/ext directory, but which one? There are usually several. You can also pretty much guarantee that after you do that, you're going to break some other program that conflicts with saxon.

Can I eventually make this work? Yes?
Is it a pain in the ass? Yes.
Should I have to deal with this? No.
Is this far more complex than a traditonal Windows or Unix executable? You better believe it.
Does this cause massive problems for everyone using Java from beginners just learning to experts trying to set up application servers? Abso-[expletive deleted]-lutely.


Just maybe this will finally be addressed in Java 7 in 2008. I'm not holding my breath.

--
o;?Elliotte Rusty Harold  elharo@xxxxxxxxxxxxxxx
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.