[EMAIL PROTECTED] wrote: > A couple of thoughts. Firstly, if the only way to choose your > configuration depends on a META-INF/services entry, then how would an
The services entry is only one way of several that the object factory uses to locate the classname. Another way is via a system property. Users would only use the services entry if they want to completely override the parser configuration used. The system property could be used in other situations. > I would agree with you that it seems to make sense to adapt the xml-commons > JAXP code to use the more generic solution you propose. I'm sure the As I responded to Edwin's comments, I'm not suggesting that we add a generic object factory to JAXP. I just think that it is of general use so it makes sense for it to live somewhere in xml-commons. > Finally, have you thought about how this will impact the SAX > XMLReaderFactory and ParserFactory? Looks to me like they'll be > unaffected, but just thought I'd make sure. I don't think so. Besides, if someone wants to override the default parser configuration, then they should know what they are doing and accept the consequences. -- Andy Clark * [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
