Re: [Jmol-developers] XML parsers

2004-03-23 Thread Peter Murray-Rust
At 21:05 23/03/2004 +0100, Miguel wrote: Peter wrote: >>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 ca

Re: [Jmol-developers] XML parsers

2004-03-23 Thread Miguel
Peter wrote: >>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 - tryin

Re: [Jmol-developers] XML parsers

2004-03-23 Thread Peter Murray-Rust
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

Re: [Jmol-developers] XML parsers

2004-03-23 Thread Joerg K. Wegner
Hi Miguel, I really do not understand ... please explain. Sorry, i can't. I do not know the implementation details for the parser about time, space performance/complexity ? Kind regards, Joerg -- Dipl. Chem. Joerg K. Wegner Center of Bioinformatics Tuebingen (ZBIT) Department of Computer Archi

Re: [Jmol-developers] XML parsers

2004-03-23 Thread Miguel Howard
Joerg wrote: >> An honest question ... What is the value in giving people a choice of >> XML library? > What is more complex ? > 1. To write a parser for all arbitrary chemical file formats, nearly > every program introduces proudly it's own format (why, just why ?)! or > 2. To write a complex pars

Re: [Jmol-developers] XML parsers

2004-03-23 Thread Joerg K. Wegner
Hi, 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? What is more complex ? 1. To write a parser for all arbitrary chemical file formats, nearly every program introduces proudly it's own format (why,

Re: [Jmol-developers] XML parsers

2004-03-23 Thread Miguel
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 rep

Re: [Jmol-developers] XML parsers

2004-03-23 Thread egonw
Citeren Miguel <[EMAIL PROTECTED]>: > Peter wrote: > >>Q: Is there any reason to have references to Aelfred2 and Xerces in the > >> code and in the build.xml files? > > > > No - If these are included as Jars there can be problems between > > versions. > > OK > > > We had this discussion with CDK

Re: [Jmol-developers] XML parsers

2004-03-23 Thread egonw
Citeren Miguel <[EMAIL PROTECTED]>: > Egon wrote: > >> Q: Since JAXP is bundled with Java 1.4 or later, can we just assume > >> use of JAXP? > > > > Likely... > > Good > > >> Q: Is there any reason to have references to Aelfred2 and Xerces in > >> the code and in the build.xml files? > > > > Yes,

Re: [Jmol-developers] XML parsers

2004-03-23 Thread egonw
Citeren Peter Murray-Rust <[EMAIL PROTECTED]>: > At 15:35 22/03/2004 +0100, Miguel Howard wrote: > >Q: Is there any reason to have references to Aelfred2 and Xerces in the > >code and in the build.xml files? > > No - If these are included as Jars there can be problems between versions. Not in the

Re: [Jmol-developers] XML parsers

2004-03-23 Thread Miguel
Peter wrote: >>Q: Is there any reason to have references to Aelfred2 and Xerces in the >> code and in the build.xml files? > > No - If these are included as Jars there can be problems between > versions. OK > We had this discussion with CDK some months back - I think all > references to specific

Re: [Jmol-developers] XML parsers

2004-03-23 Thread Peter Murray-Rust
At 15:35 22/03/2004 +0100, Miguel Howard wrote: Egon (& others) I have a question about the XML parsers that are used in the CML code. Be advised that to data I have no experience with any of this stuff. There are several parsers that are referenced in the cdk.io.CMLReader code. Q: Since JAXP i

Re: [Jmol-developers] XML parsers

2004-03-22 Thread Miguel
Egon wrote: >> Q: Since JAXP is bundled with Java 1.4 or later, can we just assume >> use of JAXP? > > Likely... Good >> Q: Is there any reason to have references to Aelfred2 and Xerces in >> the code and in the build.xml files? > > Yes, for pre Java 1.4 reasons... Why do we need 2 of them ... w

Re: [Jmol-developers] XML parsers

2004-03-22 Thread Egon Willighagen
On Monday 22 March 2004 15:35, Miguel Howard wrote: > Egon (& others) > > I have a question about the XML parsers that are used in the CML code. > > Be advised that to data I have no experience with any of this stuff. > > There are several parsers that are referenced in the cdk.io.CMLReader code. >

[Jmol-developers] XML parsers

2004-03-22 Thread Miguel Howard
Egon (& others) I have a question about the XML parsers that are used in the CML code. Be advised that to data I have no experience with any of this stuff. There are several parsers that are referenced in the cdk.io.CMLReader code. Q: Since JAXP is bundled with Java 1.4 or later, can we just as