Christine Li wrote:
> I think that you are using JDK 1.4+. The Xalan-J 2.7.0 on your classpath 
> is not used when you did the transformation. For more detail, please refer 
> to http://xml.apache.org/xalan-j/faq.html#faq-N100D6

That's helpful, thanks. Rather than setting a -classpath on the command line,
defining java.endorsed.dirs worked. I also had typos in my old classpath, I
noticed.

Things are looking better now that I'm definitely using Xalan-J 2.7.0 rather
than the version 2.4.1 that came with JDK 1.4.2.

However, I do still get a warning that seems spurious to me:

$ java -Djava.endorsed.dirs=/home/mike/xml/xalan org.apache.xalan.xslt.Process 
-IN dummy.xml -XSL sysprops.xsl -OUT out.xml
file:///portnoy/home/mike/xml/test/sysprops.xsl; Line #12; Column #89; Do not 
currently do anything with namespace http://xmlns.4suite.org/ext in property: 
f:version

out.xml looks better, at least.

Reply via email to