gij/XML problem

Andrew Cowie andrew@operationaldynamics.com
Sat Jun 4 16:06:00 GMT 2005


On Sat, 2005年04月06日 at 02:19 -0700, Daniel Qarras wrote:
> I've compiled Java application's jars with GCJ 4.0...
> gij -cp ./lib/myapp.jar:./lib/log4j.jar:./lib/jdom.jar
 ^^^^^^^^
You know, just as an oddball suggestion, you might try using the
org.xml.dom classes built into Java 1.4.
I had been using Xerces (which GCJ wouldn't compile) and then one day
was somewhat astonished to note that Java 1.4.x had the DOM API classes
built in, and apparently even an implementation. I was even more
astonished when I discovered that GCJ 4 had caught up and had full
coverage here (ok, so I'm slow).
Anyway, JDK 1.4.2 and GCJ 4.0 have allowed me to do away with my Xerces
dependency. Perhaps you could jettison your jdom one.
[Might have to make some small changes around your call to parse() - ie
figuring out the Java API for the implementation via TransformerFactory
and friends - but it was pretty minor and so far appears to work fine]
AfC
Stuttgart
-- 
Andrew Frederick Cowie
Technology strategy, managing change, establishing procedures,
and executing successful upgrades to mission critical business
infrastructure.
http://www.operationaldynamics.com/
Sydney New York Toronto London
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://gcc.gnu.org/pipermail/java/attachments/20050604/4785c205/attachment.sig>


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /