[EMAIL PROTECTED] wrote: > There are lots of Good Answers available here. The current "create a new > parser because that's the only way to get access to the object which > carries the necessary API" approach really isn't one of the best.
I don't really agree. And in the new architecture, the parser configuration *is* the parser for all intensive purposes. The DOMParser and SAXParser are just API generators with extra API to keep backwards compatibility as well as convenience. So the API *does* exist but just on the parser configuration. And you don't have to create an entirely new parser. Just instantiate a pull parser configuration and use it to new up the API generator of your choice. Since you can't use JAXP to give you a pull parsing API anyway, why would adding dead API (for non-pull parsing configurations) to the parser classes help any? -- Andy Clark * [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
