Jmol v10 HEAD can now read *some* cml files on the Java 1.4 platform.
This is an initial/simple implementation ... in fact it is quite a hack.
But the code is very small and is a start for me.
I created a samples/cml subdirectory and moved *.cml into there. There are
a total of 6 files ... I am unable to read 2 of them.
I can read neither methanol1.cml nor SN1_reaction.cml. They both die with
a null pointer exception somewhere down in the sax parser implementation.
Interestingly, both of these problem files are using the 'atomArray'
construct ... maybe that is a clue.
Q: Egon, The last time I had difficulties you were able to very quickly
identify the problem. Can you try to load methanol1.cml and see what is
going on?
Several of these files contain a "charge" value which is a float.
<atom id="a1">
<string builtin="elementType">C</string>
<coordinate3 builtin="xyz3">-2.2599 -8.0814 -4.2081</coordinate3>
<float title="charge">0.818317</float>
</atom>
If I understood Peter's message from a few weeks ago, this is not valid CML.
Q: Peter, can you confirm that this is incorrect?
Finally, I would appreciate it if Henry or Peter could send me a message
with a few attached CML files that are valid/compliant with current
standards.
Miguel
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers