  | |  | Standard libraries in JAXP? | Standard libraries in JAXP? 2006-09-05 - By Erin Harris
Hi Siegfried,
The ApplyXPathDOM sample uses the DOM Level 3 XPath API which Sun may not support (it didn't seem to in the Sun jdk that I have). The XPathAPI sample (which does pretty much the same thing) uses JAXP and that seems to work with Sun's JDK. See: file:///D:/xalan-j_2_7_0/docs/samples.html#applyxpathjaxp
Thanks.
Erin Harris
"siegfried" <siegfried@(protected)> 05/09/2006 01:44 PM
To <xalan-j-users@(protected)> cc
Subject Standard libraries in JAXP?
I can run the ApplyXPathDOM.java sample by making a class path of the jar files shipped (downloaded) with apache Xalan. Since these are now standard interfaces (and implementations), why cannot I abandon the jars in Xalan and just use the implementations in my 1.5 JRE? Can the ApplyXPathDOM.java run with just the classes in the Sun 1.5 JRE? Thanks, Siegfried
<br><font size=2 face="sans-serif">Hi Siegfried,</font> <br> <br><font size=2 face="sans-serif">The ApplyXPathDOM sample uses the DOM Level 3 XPath API which Sun may not support (it didn't seem to in the Sun jdk that I have). The XPathAPI sample (which does pretty much the same thing) uses JAXP and that seems to work with Sun's JDK. See: </font><a href="file:///D:/xalan-j_2_7_0/docs/samples.html#applyxpathjaxp "><font size=2 color=blue face="sans-serif">file:///D:/xalan-j_2_7_0/docs /samples.html#applyxpathjaxp</font></a> <br> <br><font size=2 face="sans-serif">Thanks.<br> <br> Erin Harris<br> <br> </font> <br> <br> <br> <table width=100%> <tr valign=top> <td width=40%><font size=1 face="sans-serif"><b>"siegfried" < ;siegfried@(protected)></b> </font> <p><font size=1 face="sans-serif">05/09/2006 01:44 PM</font> <td width=59%> <table width=100%> <tr valign=top> <td> <div align=right><font size=1 face="sans-serif">To</font></div> <td><font size=1 face="sans-serif"><xalan-j-users@(protected)></font> <tr valign=top> <td> <div align=right><font size=1 face="sans-serif">cc</font></div> <td> <tr valign=top> <td> <div align=right><font size=1 face="sans-serif">Subject</font></div> <td><font size=1 face="sans-serif">Standard libraries in JAXP?</font></table> <br> <table> <tr valign=top> <td> <td></table> <br></table> <br> <br> <br><font size=2 face="Arial">I can run the ApplyXPathDOM.java sample by making a class path of the jar files shipped (downloaded) with apache Xalan. Since these are now standard interfaces (and implementations), why cannot I abandon the jars in Xalan and just use the implementations in my 1.5 JRE? Can the ApplyXPathDOM.java run with just the classes in the Sun 1.5 JRE?</font> <br><font size=2 face="Arial"> </font> <br><font size=2 face="Arial">Thanks,</font> <br><font size=2 face="Arial">Siegfried</font> <br>
|
|
 |