deffrence of XML processing between JDK1.3 and 1.4


XML & Web services: deffrence of XML processing between JDK1.3 and 1.4

  1. What's the features avilable in JDK1.4 but not in JDK1.3 relate to XML use these features in JDK1.3,where is the option packs?
  2. 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: [JAXP compliant]

    JDom: [not standards-compliant, but easy to use]
  3. 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?
  4. 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.