Does java have built-in xml parser?
need more information or links about this please. like which java version
etc.
[82 byte] By [
koottan] at [2007-11-9 15:23:00]

# 1 Re: Does java have built-in xml parser?
"koottan" <swaran.m.bose@verizon.com> wrote:
>
>need more information or links about this please. like which java version
>etc.
>
Java 1.3 does have a built in parser, but it does require a seperate download
(although, it may not now with the release of J2SE 1.4). It is commonly
referred to as JAXP. Try this link:
http://java.sun.com/xml/javaxmlpack.html
This will let you download the necessary jar files to use xml processing
in your Java app. Again, if you are already using 1.4, then you might not
need to do this, I am not sure since I have not installed the latest version
yet.
Hope this helps..
Erik
# 2 Re: Does java have built-in xml parser?
jdk1.4 does indeed contain SAX and Xalan. My problem is that the Xalan worked
in the Tomcat container, but FAILED in the Catalina container. Tomcat is
a standalone product whereas the J2EE (Java's commercial server that finally
deploys beans, and jsp's easily) uses the Catalina container.
I have not yet tested the j2ee1.3 with jdk1.4, but I took the same XSLT that
failed with J2EE and it worked beautifully with ASP using MSXML.