[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: JSR 206 and SAX


Re:  JSR 206 and SAX
/ Elliotte Rusty Harold <elharo@m...> was heard to say:
| 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.

Our thinking was that normalization checking can be pretty expensive
and you might want to have the factory return entirely different
classes if the feature was enabled. Asking an XMLReader to reconfigure
itself to do normalization checking seemed like it might be a burden.

But there are no features on the factory yet, and if there's
resistance to adding features just for this feature, so be it.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@n...> | Words--so innocent and powerless they
http://nwalsh.com/            | are, as standing in a dictionary, how
                              | potent for good and evil they become,
                              | in the hands of one who knows how to
                              | use them!--Nathaniel Hawthorne

PGP signature


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.