I am playing with the CML stuff to try to figure out how it works.

I am only playing around to try to understand the SAX parsing process.

In trying to open the file jmol/samples/conformeren.cml I am getting the
error:
  Relative URI "cml.dtd"; can not be resolved without a base URI

I can make this message go away (and everything works fine) if I delete
the lines:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE molecule SYSTEM "cml.dtd" [
  ATTLIST list convention CDATA #IMPLIED
]>


I have tried the following:
 - adding standalone="yes"
 - defining my own resolveEntity()
 - using setFeature to turn off validation
    xmlr.setFeature("http://xml.org/sax/features/validation";, false);
xmlr.setFeature("http://xml.org/sax/features/namespaces";, false);

None of these things was successful.

Can someone give me a pointer on this?


Thanks,
Miguel




--------------------------------------------------
Miguel Howard                   [EMAIL PROTECTED]
c/Pe�a Primera 11-13 esc dcha 6B
37002 Salamanca
Espa�a Spain
--------------------------------------------------
telefono casa 923 27 10 82 movil 650 52 54 58
--------------------------------------------------
To call from the US dial    9:00 am Pacific US   =
home 011 34 923 27 10 82   12:00 noon Eastern US =
cell 011 34 650 52 54 58    6:00 pm Spain
--------------------------------------------------


-------------------------------------------------------
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_id70&alloc_id638&op=click
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to