On Wed, 2005-08-17 at 21:19 +0200, Jochen Wiedmann wrote: > robert burrell donkin wrote: > > > use the compliant regular expression engine developed for xerces? > > Do you have a pointer? I don't know what it is exactly.
http://cvs.apache.org/viewcvs.cgi/xml-xerces/java/src/org/apache/xerces/impl/xpath/regex/RegularExpression.java?view=markup > > probably better to copy the source across and repackage than add a > > dependency to a single class. > > There's always the shear between maintaining sources and adding > dependencies - but if it's one class indeed, I'd agree with you. it's a xerces internal utility. requiring a particular version of xerces can cause troubles for users and so (in this case) it would probably be better to copy the source. i've done this for one or two similar classes and IMHO it's important to retain the authorship and to add a note about it's derivation from xerces. if any bugs are found in our version, then any fixes should be submitted back to xerces. - robert
signature.asc
Description: This is a digitally signed message part
