[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: ANN: SAX 2.0 extension proposals.
David Megginson wrote: > > Miles Sabin <msabin@c...> writes: > > Better to put that in the SAX core, I'd say. > > For the SAX core, I'm leaning towards a rewrite of the SAX1 > ParserFactory into XMLReaderFactory, only with methods that throw > SAXException (as David B. suggested). It will look like this: (...) David, isn't it possible to include at least the provider file core of Miles proposal in SAX2? I could live with a solution that includes instantiation, but the global variable approach (shudder) alone will surely become inapropiate when more and more libraries for different purposes depend on xml parsers (with different features). With Miles approach, the libraries could just search an appropiate parser on their own, whereas with the system property approach the application would need to take care about handling the "right" parser over to the library. Thus, using XML components would become more complicated than neccessary. I agree that Miles' proposal could be put into a separate (sax independent) package, in principle, but without putting it into SAX2 core, parser vendors would not be forced to supply the parser vendor file, so it would be useless... Best regards Stefan -- Stefan Haustein University of Dortmund Computer Science VIII www-ai.cs.uni-dortmund.de *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/threads.html ***************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|