-
deffrence of XML processing between JDK1.3 and 1.4 (3 messages)
- Posted by: zhang zhang
- Posted on: April 26 2004 16:32 EDT
What's the features avilable in JDK1.4 but not in JDK1.3 relate to XML processing.to use these features in JDK1.3,where is the option packs?Threaded Messages (3)
- deffrence of XML processing between JDK1.3 and 1.4 by Paul Strack on April 26 2004 22:15 EDT
- deffrence of XML processing between JDK1.3 and 1.4 by zhang zhang on April 27 2004 16:49 EDT
- deffrence of XML processing between JDK1.3 and 1.4 by Paul Strack on April 27 2004 06:52 EDT
- deffrence of XML processing between JDK1.3 and 1.4 by zhang zhang on April 27 2004 16:49 EDT
-
deffrence of XML processing between JDK1.3 and 1.4[ Go to top ]
- Posted by: Paul Strack
- Posted on: April 26 2004 22:15 EDT
- in response to zhang zhang
JDK 1.3 has no support for XML parsing. It is pretty easy to add in your own XML parser, though, by putting the necessary Jars in either the classpath or jre/lib/ext. Two popular parsers are:
Xerces: http://xml.apache.org/xerces2-j/index.html [JAXP compliant]
JDom: http://www.jdom.org/ [not standards-compliant, but easy to use] -
deffrence of XML processing between JDK1.3 and 1.4[ Go to top ]
- Posted by: zhang zhang
- Posted on: April 27 2004 16:49 EDT
- in response to Paul Strack
Thank you.
if I already have code wrote on jdk1.4,by put in these jar file in classpath,do I have to make any others change in java code to make it work on jdk 1.3? -
deffrence of XML processing between JDK1.3 and 1.4[ Go to top ]
- Posted by: Paul Strack
- Posted on: April 27 2004 18:52 EDT
- in response to zhang zhang
It depends on how you wrote your code. If you wrote your code for JDK 1.4, you are probably using standards-based code (DOM, SAX, JAXP). Odds are good that if you put Xerces in your classpath for JDK 1.3, your code will still work.