From: Miguel <mi...@jm...> - 2004-04-12 11:57:38
|
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 =22cml.dtd=22; 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=3D=221.0=22 encoding=3D=22ISO-8859-1=22?> <=21DOCTYPE molecule SYSTEM =22cml.dtd=22 =5B ATTLIST list convention CDATA =23IMPLIED =5D> I have tried the following: - adding standalone=3D=22yes=22 - defining my own resolveEntity() - using setFeature to turn off validation xmlr.setFeature(=22http://xml.org/sax/features/validation=22, false);= xmlr.setFeature(=22http://xml.org/sax/features/namespaces=22, false); None of these things was successful. Can someone give me a pointer on this? Thanks, Miguel -------------------------------------------------- Miguel Howard miguel=40howards.org c/Pe=F1a Primera 11-13 esc dcha 6B 37002 Salamanca Espa=F1a Spain -------------------------------------------------- telefono casa 923 27 10 82 movil 650 52 54 58 -------------------------------------------------- To call from the US dial 9:00 am Pacific US =3D home 011 34 923 27 10 82 12:00 noon Eastern US =3D cell 011 34 650 52 54 58 6:00 pm Spain -------------------------------------------------- |