I'm developing an application that runs on the NSICom
Creme VM on a Windows CE based handheld machine. This
JVM is a version of PersonalJava that is more or less
equivalent to JDK 1.1.8. We're using XML to encode
data that we're sending to and from these machines.

I'm attempting to compile a JDK 1.1 version of dom4j
1.1. I've run into a couple of problems with various
jar files in the lib directory not being on the build
classpath. Also, I've had to add various collection
classes to the translation table in the build.xml
file.

I have a question about the use of the java.util.Stack
class in these three files:

src/java/org/dom4j/io/aelfred/XmlParser.java
src/java/org/dom4j/io/aelfred/SAXDriver.java
src/java/org/dom4j/io/DispatchHandler.java

The java.util.Stack class is not present in the JDK
1.1 version of the collection classes that can be
downloaded from java.sun.com.

The Stack class extends the Vector class and is
threadsafe because of that. Is it safe to ignore
thread issues and replace the Stack class with, say,
the LinkedList class, or should I stick with a
threadsafe collection class?

Thanks,
    Omer


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to