Thanks Mike for your response. Yes I am talking about
the C/C++ version. For some reason I wont be able to
have java vm on the system.
Thanks
Kapil
--- Mike Brown <[EMAIL PROTECTED]> wrote:
> I don't understand. Why is a FreeBSD port needed?
> It's Java. Or were you
> talking about the C versions? You didn't say.
>
> A search of http://www.freebsd.org/ports/ shows that
> there are in fact
> FreeBSD ports of Xerces (1.4.1) and Xalan (2.1.0)
> already, and they don't
> even seem to be that necessary, since there are no
> patches to apply.
>
> I did a quick, not-exactly-thorough test of Xerces
> on two different
> FreeBSD 4.3-STABLE systems, one with the stock JDK
> 1.1.8 that ships with
> the OS and one with the JDK 1.2.2 "beta" from the
> ports collection. Both
> tests worked just fine, as long as
> /usr/local/jdk1.1.8 or /usr/local/java
> were in your path (so you can access java and
> javac)...
>
> (with JDK 1.1.8)
> fetch
>
http://xml.apache.org/dist/xerces-j/Xerces-J-bin.2.0.0.beta.tar.gz
> tar xzf Xerces-J-bin.2.0.0.beta.tar.gz
> cd xerces-2_0_0_beta
> javac -classpath
> /usr/local/jdk1.1.8/lib/classes.zip:xerces.jar
> samples/sax/Counter.java
> cd samples
> java -classpath
> /usr/local/jdk1.1.8/lib/classes.zip:../xerces.jar:.
> sax.Counter
> http://www.w3.org/TR/1999/REC-xslt-19991116.xml
>
> (with JDK 1.2.2 from the ports collection)
> fetch
>
http://xml.apache.org/dist/xerces-j/Xerces-J-bin.2.0.0.beta.tar.gz
> tar xzf Xerces-J-bin.2.0.0.beta.tar.gz
> cd xerces-2_0_0_beta
> javac -classpath ./xerces.jar
> samples/sax/Counter.java
> cd samples
> java -classpath ../xerces.jar:. sax.Counter
> http://www.w3.org/TR/1999/REC-xslt-19991116.xml
>
> - Mike
>
____________________________________________________________________________
> mike j. brown, fourthought.com | xml/xslt:
> http://skew.org/xml/
> denver/boulder, colorado, usa | personal:
http://hyperreal.org/~mike/
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/