Article View: borland.public.jbuilder.java.api
Article #1478Re: JAXP and XML
From: Joi Ellis [TeamB]
Date: Mon, 17 Dec 2001 14:51
Date: Mon, 17 Dec 2001 14:51
43 lines
2954 bytes
2954 bytes
Petar Banicevic <petar_b@usa.net> wrote: > Hi, > Sorry if this is not right group to to ask the question. > I was using jaxp1_1 library while compiling my project. I would like to use > JBuilder to compile the same project but without instaling jaxp1_1, since I > was told the JBuilder has the JAXP. You don't say which version of JBuilder you're using, so I'm going to assume it's JBuilder5. There is a version of jaxp provided with the 'BorlandXML' package in /jbuilder5/extras/BorlandXML. There is a library definition and a jaxp.jar file in /jbuidler5/lib/jaxp.jar. This ends up on JBuilder's own Classpath and is probably used in a wizard or two somewhere (but I don't know for sure.) You can reuse JBuilder's jaxp.jar in your own projects (see the information in the extras directory for details.) However, if you need a newer version of Jaxp, you should stick it somewhere else (not in jbuilder5/lib!!) and define a custom library name for it. Then use that in your own project. Keep in mind that compiling a java program does *not* produce a self-contained linked runtime image like a C or Delphi program does. If your code uses jaxp.jar, you will need to somehow provide jaxp.jar with your application. The archive builder can help with that if you decide to simply bundle jaxp classes into your own jar. > However, even if I add the JAXP library to "Project Properties" I still got > the errors about Transformer object. Why that happens, why jaxp1_1 is > different (has more) then JAXP in the JBuilder ? What can I do, except > installing JAXP1_1 package again ? There isn't anything you can do except install the version of jaxp you need for your app. Just don't overwrite the original version in jbuilder5/lib or JBuilder itself may break. -- Joi Ellis (TeamB) http://www.teamb.com/ No direct email, please. For best results, post on news server newsgroups.borland.com! Newsgroup Guidelines: http://www.borland.com/newsgroups/guide.html Only posts which violate the rules in guide.html are subject to cancelation.
Technical Details
Message-ID:
<3c1e065a_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!newsfeed.mesh.ad.jp!osa.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!not-for-mailReferences:
<3c1dc517_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,535cd7376ec2d4f5
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-12-17 06:59:44 PST
Sender: Joi Ellis <joi@artoo.gyles19.visi.com>
Message-ID: <3c1e065a_2@dnews>
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: JAXP and XML
Newsgroups: borland.public.jbuilder.java.api
References: <3c1dc517_2@dnews>
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.19-6.2.7 (i686))
NNTP-Posting-Host: 209.98.6.107
Date: 17 Dec 2001 06:51:07 -0800
X-Trace: dnews 1008600667 209.98.6.107 (17 Dec 2001 06:51:07 -0800)
Lines: 43
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!newsfeed.mesh.ad.jp!osa.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!not-for-mail