On Sat, May 2, 2026, 15:42 Elric V <[email protected]> wrote: > > I finally pushed an initial draft of the Commons XML Factory project I > > proposed back in December [1]: > > > > https://github.com/copernik-eu/commons-xml-factory > +1 for whatever that's worth :-) > > Hard disagree on suggestions about putting it in Xerces. Having a > light-weight, easy-to-review and easy-to-use "library" for this sounds > like the best way of getting people to actually use it. > > IIRC there was a discussion about where to put this some time ago and no > one could come up with a better place than Commons. > > In an ideal world, XML parsing libraries would adopt these sane defaults > and unsafe behaviour would require explicit configuration instead of > vice versa. But a tiny library seems like the next best thing. > > Willing to pitch in and have a look at where other Commons projects > could benefit from this, I'm sure there are a couple of > DocumentBuilderFactories and such lurking around. >
Elric, This whole discussion started _because_ there a few places in Commons we want to use this. And Commons felt like the right place as opposed to Xerces which is a parser implementation. Stuffing this in Xerces carries more risk because: (1) xerces is barely active and (2) like with log4j, some people are still confused about the separation between API and implementation. All of this is why I am backing Piotr's effort for putting this in a new Commons XML component. HTH, Gary > - Elric > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
