|
One thing good about standard (JAXP) is that at code level I don't have concern about what I am using: crimson or xerces or others (for parsing). For transformation too the code is the same for xalan or saxon or others as long as they implement JAXP/TrAX. Also my understanding is that JAXP is just interfaces/abstract classes for others to implement and it is thin. Bruce ----- Original Message ----- From: "Joe Pluta" <joepluta@PlutaBrothers.com> To: <java400-l@midrange.com> Sent: Thursday, August 30, 2001 11:26 AM Subject: RE: Add jar files to classpath in VAJ? > I did a little more looking. The class you are using comes from the JAXP > 1.1.1 specification. This is part of J2EE1.3 and will be included in > J2SE1.4. To use it with VAJ, you probably need to import jaxp.jar, > xalan.jar, and crimson.jar. I've never done it, so I can't be much help. I > decided not to use the standard XML stuff once I realized how fat the > standard XML implementations were (and they need to be, to handle all the > possibilities of XML). Instead, I wrote my own parser. > > Joe > > > > -----Original Message----- > > From: java400-l-admin@midrange.com > > [mailto:java400-l-admin@midrange.com]On Behalf Of Bruce Jin > > Sent: Thursday, August 30, 2001 2:54 PM > > To: java400-l@midrange.com > > Subject: Re: Add jar files to classpath in VAJ? > > > > > > Thanks David: > > > > I removed those jar files from the class classpath and added project "IBM > > XML parser for Java Examples" to project path of my class. (I assume this > > project must have XML4J.jar). > > > > The same error messages are shown. > > > > > > > > Bruce > > > > ----- Original Message ----- > > From: "David Morris" <dmorris@plumcreek.com> > > To: <java400-l@midrange.com> > > Sent: Thursday, August 30, 2001 10:32 AM > > Subject: Re: Add jar files to classpath in VAJ? > > > > > > > Bruce, > > > > > > That class should be part of the Xerces distribution and is > > also included > > with > > > Xalan. It is also installed in one of VAJ's existing projects. > > You can't > > have it > > > in more than one project so you should have received some messages. I > > think > > > it may be in XML4J. I just make that package an open edition in IBM's > > location > > > and then import it into a separate project called JavaxXML. Also, I just > > add the > > > project to the project path rather than going to specific Jar files. > > > > > > I would also go with a later version of Xerces and Xalan unless > > you have a > > specific > > > requirement to go with 1.2.3. Cocoon 1.8.2 works best with Xerces 1.2.3 > > and > > > Xalan 1.3 but I have had much better luck with later versions. > > > > > > David Morris > > > > > > >>> brucej@mrc-productivity.com 08/30/01 12:02PM >>> > > > I try to code a class that uses JAXP and DOM so I need to add > > a few jar > > > files to the classpath. In VAJ I did: > > > - Select the class and right click properties and click on classpath tab > > > - enable "extra directories path" and use edit button to selec jar files > > > - now the "complete class path" field shows the following > > > .; > > > C:\x\jaxp.jar; > > > C:\x\xalan-2.0.0.jar; > > > C:\x\xerces-1.2.3.jar > > > C:\WDT400\VAJAVA\eab\runtime30\jt400.jar > > > > > > But VAL still displays message: > > > > > > import specifies type that is not visible: > > > javax.xml.pasers.DocumentBuuilderFactory > > > > > > Any ideas? > > > > > > I could compile the class on a command line. > > > > > > Thanks. > > > > > > Bruce > > > > > > _______________________________________________ > > > This is the Java Programming on and around the iSeries / AS400 > > (JAVA400-L) > > mailing list > > > To post a message email: JAVA400-L@midrange.com > > > To subscribe, unsubscribe, or change list options, > > > visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l > > > or email: JAVA400-L-request@midrange.com > > > Before posting, please take a moment to review the archives > > > at http://archive.midrange.com/java400-l. > > > > > > > _______________________________________________ > > This is the Java Programming on and around the iSeries / AS400 > > (JAVA400-L) mailing list > > To post a message email: JAVA400-L@midrange.com > > To subscribe, unsubscribe, or change list options, > > visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l > > or email: JAVA400-L-request@midrange.com > > Before posting, please take a moment to review the archives > > at http://archive.midrange.com/java400-l. > > > > > > _______________________________________________ > This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list > To post a message email: JAVA400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l > or email: JAVA400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/java400-l. >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.