At 11:11 23/03/2004 +0100, Miguel wrote:
Egon wrote:

>> The references tho Aelfred and Xerces are in cdk/io/CMLReader.java
>
> Those are (AFAIK, cannot check code now) only soft dependencies... ie.
> using loadClass() and not hardcoded... If they aren't, then those are
> bugs...

I did not mean to imply that they were bugs. I am only reporting what I
see. I don't know anything about CML or XML ... I am trying to figure it
out. That is why I am asking.

There are references in the code to three different XML parsers. They
may be soft, but they are there. I raised the question because I didn't
understand why. I still don't understand why.

I thought those had gone... the problem it caused me was there was a cascade - trying each parser in turn. If these happened to be in the classpath then they were selected.


One of the primary reasons that I asked if they were needed is because it
adds complexity ... it is confusing. As evidence of this *complexity* I
will
point to the current line of discussion.


> The libraries are not needed for compilation when compiling with javac > 1.4... (it only references to XMLParser...)

We made a decision some time ago that Jmol will only compile on 1.4.
The Jmol application requires 1.4 ... this is stated on the website.
The JmolApplet currently runs on 1.1 JVMs.

I do not know the status on the CDK side.

> Size, ok, but people get the freedom to choose a XML library...

An honest question ... What is the value in giving people a choice of XML
library?

a - speed - possibly
b - footprint (Xerces is huge)
c - validating (Aelfred doesn't validate)
d - bugs - I had real or imagined problems with Xerces and namespaces so I wanted to avoid it


P.



Miguel






------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Jmol-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-developers

Peter Murray-Rust Unilever Centre for Molecular Informatics Chemistry Department, Cambridge University Lensfield Road, CAMBRIDGE, CB2 1EW, UK Tel: +44-1223-763069



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to