Re: setEntityResolver(null)
Miles Sabin <[email protected]> Thu, 3 Apr 2003 02:17:14 +0100
| Newsgroups | gmane.text.xml.sax.devel |
|---|---|
| Message-ID | <[email protected]> |
Karl Waclawek wrote, > So, the default behaviour is to return Null - delegating back to the > parser! And further, the docs for EntityResolver.resolveEntity state: > > <quote> > However, SAX specifies how to interpret any InputSource returned by > this method, and that if none is returned, then the system ID will be > dereferenced as a URL. </quote> > > I would say that defines the default/built-in behaviour of the parser > for any case of an external entity reference where it does not get an > input source passed back from the application. OK, you're right, I'm wrong. That either means that I'm stupid or the docs need quite a bit of clarification (or both ;-). Cheers, Miles ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ List: sax-devel, [email protected] See: http://www.saxproject.org/ https://lists.sourceforge.net/lists/listinfo/sax-devel