In issue 20269 we have agreed (with Petr K.) that XML module should provide autoload
NetBeans modules containing different versions of XML parsers (eg. xerces_version_2_0).
Other modules written for some concrete parser version will then be able to specify module
dependency on this module.
I will create a "org.netbeans.libs.xerces20x" module that will cover
Apache's Xerces 2.0.x library (see discussion in issue 20269).
Q: Do you agree with name (xerces20x) what should describe any minor
release of Xerces 2.0.
Unfortunatelly there are major behaviour changes for Xerces minor
releases (e.g. 2.0.1 vs 2.0.2 in XML Schema area).
What about explicit module names like org.netbeans.libs.xerces.vX_X_X
I am not sure if it was intention to make such changes in minor
release. But maybe it is safe to depend on concrete release.
David, do you still want to depend on any 2.0.x or depend exactly on
2.0.2 (I think ...xerces202 is better name)? Or maybe I could wait for
2.0.3 that could fix mentioned bug (but probably bring new bugs).
I will cover version you will ask for. :-) Please, could you confirm
your request? Thanks.
The version which I would expect to get is the one used in NB3.4 - I
don't know exactly the version number, but Ant is tested with it and
works fine. If a major new version appear during the next NB version
release or if some serious bug would be discovered in the currently
used one, I would consider upgrade to a newer version. But for the
moment existing one seems OK to me.
New Xerces module have been introduced.
For more information see http://libs.netbeans.org/#xerces.
*** Issue 26642 has been marked as a duplicate of this issue. ***
Thank you. I will try to use in Ant soon.