Re: [xml-dev] JSR 206 and SAX

From
Elliotte Rusty Harold <>
To
Jeff Rafter <>
Date
2004-02-19T23:26:41Z
ID
<p06010205bc5af6249b29@[192.168.254.4]>
Thread
Re: [xml-dev] JSR 206 and SAX
At 2:51 PM -0800 2/19/04, Jeff Rafter wrote:

>I am not sure why the factory level is the most appropriate? Aren't the
>getFeature, setFeature functions part of the XMLReader itself? Why add
>feature maintenance at the factory level when it can simply be enumerated
>through creation of each available XMLReader (if necessary, as it is likely
>known a priori)?

It isn't. You're right. This should be setFeature on the XMLReader. 
There is no setFeature on XMLReaderFactory.
-- 

   Elliotte Rusty Harold
   
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA