Egon wrote:
>> I have tried the following:
>> - defining my own resolveEntity()
>
> You added this method to a Resolver class (see CDK for example), and
> registered this resolver with the XML parser (again see CDK?)
>
> Another possible problem could be that you might be using the GNU JAXP
> parser,
> which requires the SYSTEM entities to have a protocol name... ie.
> "file://cml.dtd"...
Egon,
For some reason, I need to call InputSource.setSystemId("anything") in
order for my entity resolver to be called. If I don't set it then my code
doesn't get called.
So, my own resolveEntity is getting called, but I am still stuck. I don't
want to return the .dtd, but if I return null then it dies.
Is there a way that I can tell this *simple* parser not to use the dtd?
Miguel
-------------------------------------------------------
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_id=1470&alloc_id=3638&op=click
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers