>> It's not the recognizion of CML that is the problem... the problem was
>> that
>> the buffer could not be reset, because the mark was more than 512 chars
>> away... and reseting will fail then....
>
> Hmmm ... good point.
>
> I will think about whether or not there is an easy way for us to limit the
> number of characters that we read in. Basically, read in a fixed number of
> bytes and then turn it into lines.
>
> Otherwise, this is consistently going to be a problem with CML.

I added a small support class to ModelResolver.java that reads in a fixed
number of bytes. (I think I put in 2K as a value)

These bytes then get broken into lines.

Egon, can you test it on the CML file that was failing for you?


Miguel



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to