Skip to Content.
Sympa Menu

xom-interest - Re: Re: [XOM-interest] EntityResolver

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold - java FAQ <elharo AT metalab.unc.edu>
  • To: Peter Winkel <p.van.der.winkel AT wanadoo.nl>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: Re: [XOM-interest] EntityResolver
  • Date: Fri, 27 Aug 2004 13:56:11 -0400 (EDT)

You could use XMLReaderFactory.createXMLReader() to get the system default
XMLReader implementation rather than picking a specific one. Or you could
write your own class that duplicates Builder's logic for choosing a
parser. This was outlined in processing XML with Java a couple of years
ago. See
http://www.cafeconleche.org/books/xmljava/chapters/ch07.html#d0e9994

But I really don't want to build in any more SAX dependence into the
published API than I absolutely have to.

--
Elliotte Rusty Harold
elharo AT metalab.unc.edu
elharo AT macfaq.com





Archive powered by MHonArc 2.6.24.

Top of Page