RE: XML parser

2002-11-19 Thread Tref Gare
Sounds like you're after the Xerces (parser) , Xalan (XSLT) combo. Examples abound at the following sites. http://xml.apache.org/xerces2-j/index.html http://xml.apache.org/xalan-j/ You might want to look at the commons Digester as well http://jakarta.apache.org/commons/digester.html Very useful

RE: XML parser

2002-11-19 Thread Tref Gare
quot; -- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 20 November 2002 12:02 PM To: Tref Gare Subject: RE: XML parser Hello and thank's for that. My needs are far simpler I think to nec

RE: XML parser

2002-11-19 Thread Tref Gare
You're fine so far. The location of the xercesImpl.jar is fine for all jsp's that reside in your ROOT webapp ie: everything that lives in the root of your Tomcat installation. To parse the xml you'd ordinarily be trying to use a Servlet or a Bean to get the processing off the JSP page which shoul

RE: XML parser

2002-11-19 Thread Tref Gare
Or this http://java.sun.com/products/jsp/html/JSPXML.html -- Tref Gare Development Consultant Areeba Level 19/114 William St, Melbourne VIC 3000 email: [EMAIL PROTECTED] phone: +61 3 9642 5553 fax: +61 3 9642 1335 website: http://www.areeba.com.

RE: XML parser

2002-11-19 Thread Paul_Wallace
I am looking at the article you suggested. While I am trying to digest it all.. am I right in thinking you are proposing and what the article is demonstrating is that I use the SAX approach to parse my XML (although SAX 'is not a parser'!) and not the Xerces parser? Thanks Paul. You're fine

RE: XML parser

2002-11-20 Thread Tref Gare
tted via email which may offend may have been sent without knowledge or the consent of Areeba." -- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 20 November 2002 6:40 PM To: Tomcat Users List Su

Re: XML parser

2002-11-20 Thread Kwok Peng Tuck
Tref Gare wrote: DOM ..where a tree is built based on the XML file given and then traversed back and forth to get stuff out of it. That sounds about right for DOM :) -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: XML parser

2002-11-20 Thread Paul_Wallace
>It's all a bit much isn't it. You're not wrong! OK, having continued to study the article you quoted, I have downloaded and installed the JWSDP (JAXP). In the same page that describes where to download JAXP it says: "To install, unzip it in a directory of your choice, and update the classpat

RE: XML parser

2002-11-20 Thread Tref Gare
y offend may have been sent without knowledge or the consent of Areeba." -- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 20 November 2002 8:18 PM To: Tomcat Users List Subject: RE: XML parser

RE: XML parser

2002-11-20 Thread Paul_Wallace
without knowledge or the consent of Areeba." -- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 20 November 2002 8:18 PM To: Tomcat Users List Subject: RE: XML parser >It's all a b

RE: XML parser

2002-11-20 Thread Steve Beech
To: Tomcat Users List Subject: RE: XML parser No need (and some would say 'bad idea') to place the jar explicitly in the classpath. Tomcat adds any dependent files to the classpath dynamically when it starts up and as such anything in your WEB-INF/lib folders is automatically available

RE: XML parser

2002-11-20 Thread Tref Gare
: Wednesday, 20 November 2002 8:28 PM To: 'Tomcat Users List' Subject: RE: XML parser Sorry to drop in so late on this one. If all you want to do is pull out some info from an XML doc, why not use JDOM (www.jdom.org) to parse it? This gives nice easy access to all elements. Steve. -O

RE: XML parser

2002-11-20 Thread Cox, Charlie
do not put xerces.jar in WEB-INF/lib. It will not work there since it is already in /common/lib. Tomcat comes with Xerces already, so unless you need functionality not contained in the provided xerces.jar, you don't have to do anything. if you need a newer version, replace the one in /common/lib.

RE: XML parser

2002-11-20 Thread Mark Schmeets
Definitely take a look at JDOM. It will allow you to access the data in a very familiar fashion. SAX is great when you need it, but for most things the implementations are too much. http://www.jdom.org Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Novemb

RE: XML parser

2002-11-20 Thread Tref Gare
dge or the consent of Areeba." -- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 20 November 2002 8:36 PM To: Tomcat Users List Subject: RE: XML parser Understood. And what implications would

RE: XML parser

2002-11-20 Thread Paul_Wallace
Tref Gare [mailto:[EMAIL PROTECTED]] Sent: 20 November 2002 09:24 To: Tomcat Users List Subject: RE: XML parser No need (and some would say 'bad idea') to place the jar explicitly in the classpath. Tomcat adds any dependent files to the classpath dynamically when it starts up and as s

RE: XML parser

2002-11-20 Thread Paul_Wallace
ssage- From: Tref Gare [mailto:[EMAIL PROTECTED]] Sent: 20 November 2002 09:24 To: Tomcat Users List Subject: RE: XML parser No need (and some would say 'bad idea') to place the jar explicitly in the classpath. Tomcat adds any dependent files to the classpath dynamically when it starts

RE: xml parser

2001-06-01 Thread William Kaufman
>From the ANT docs: "Both the binary and source distributions of Ant include the reference implementation of JAXP 1.0. Please see http://java.sun.com/xml/ for more information." You could also check out http://xml.apache.org/ (specifically, Xerces)

RE: XML Parser question

2002-09-19 Thread Geddes, Mark (ANTS)
ISBN 0735712352 Cocoon: Building XML Applications by Matthew Langham and Carsten Ziegeler -Original Message- From: Julie Jordan [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 5:47 PM To: [EMAIL PROTECTED] Subject: XML Parser question Hi all, I am trying to create a simple

Re: XML parser PS

2002-11-19 Thread Paul_Wallace
"I have downloaded the Xerces.ZIP (which incidentally is 4.8 MB - expanded to 22!), extracted it to webapps/ROOT/WEB-INF/lib/" I extrcated the xerxesImp1.jar to that location. Paul.

RE: XML parser: Xerces documentation

2002-11-19 Thread Paul_Wallace
riginal Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 20 November 2002 12:02 PM To: Tref Gare Subject: RE: XML parser Hello and thank's for that. My needs are far simpler I think to necessitate XSLT. I'd simply like to parse an XML file in a JSP

RE: XML parser: Xerces documentation

2002-11-19 Thread Tref Gare
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 20 November 2002 1:20 PM To: [EMAIL PROTECTED] Subject: RE: XML parser: Xerces documentation Hello and thanks for that. Attempting to install and Xerces parser

RE: XML parser: Xerces documentation

2002-11-19 Thread Paul_Wallace
Thanks for your most comprehensive replies! Paul.

Re: XML parser: old version

2001-06-22 Thread Sam Newman
Someone said he managed to get Xerces work without too mich bother. He simply wedited the tomcat.bat/tomcat.sh startup script to put the xerces xml parser in the classpath instead of the standard one. My only guess as to why xerces is not used by default is Tomcat's history as being Suns reference

Re: XML parser: old version

2001-06-22 Thread Stan Devitt
Correct. Putting xerces.jar and xalan.jar at the start of the class path seems to work fine. Stan D. - Original Message - From: "Sam Newman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 22, 2001 4:43 AM Subject: Re: XML parser: old versi

Re: XML Parser for Tomcat 4.1.12

2002-10-24 Thread Jean-Francois Arcand
Ujwal Oswal wrote: How do I overwrite the default xerces parser for Tomcat 4.1.12. I am having existing application on Tomcat 4.05 which works great but when I migrated to Tomcat 4.1.12. its giving me problems. I tried copying xerces.jar into "common/endorsed" directory. It gave me That the

RE: XML Parser for Tomcat 4.1.12

2002-10-25 Thread Ujwal Oswal
a:180) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) -Original Message- From: Jean-Francois Arcand [mailto:jfarcand@;apache.org] Sent: Thursday, October 24, 2002 7:31 PM To: Tomcat Users List Subject: Re: XML Parser for Tomcat 4.1.

Re: xml parser in 4.0.6 and 4.1.12

2002-10-13 Thread Jacob Kjome
Do you include XML or DOM libraries in your WEB-INF/lib directory? Remove those if you have them there. XML and DOM libraries *must* be loaded from a parent classloader. Tomcat should be ignoring the ones in WEB-INF/lib, but maybe it isn't fully and you are getting collisions. Jake At 05:

Re: xml parser in 4.0.6 and 4.1.12

2002-10-14 Thread Frank Liu
Yes, I tried to remove those but got other errors. eg: if I remove xerces.jar from WEB-INF/lib, I got "not found" errors for "org/apache/xerces/framework/" jar tvf jakarta-tomcat-4.1.12/common/endorsed/xercesImpl.jar | grep framework doesn't show any matches. but they are in the old "xerces.

Re: xml parser in 4.0.6 and 4.1.12

2002-10-14 Thread Frank Liu
here are some more info: cd jakarta-tomcat-4.1.12/common/endorsed rm *.jar restart tomcat, now everything works. so it is definitely the incompatibility. any side effects for my workaround? Frank On Mon, 14 Oct 2002, Frank Liu wrote: > > Yes, I tried to remove those but got other errors. > eg: