This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
NetBeans 7.3 Beta 2 ships with Xerces 2.8.0. The current release of Xerces is 2.11.0 and provides proper support for XML Schema 1.1. Is there anyway that library can be upgraded for the upcoming 7.3 release? This bug is the result of a side issue; I'm working on integrating a third-party utility into my application that relies on Xerces 2.11.0. I can't find a way to use it (short of altering the platform) without causing a class loading collision. Xerces appears to be a core NetBeans library and not a module, so it's "always" loaded.
I would prefer to do an upgrade in the next release. We are relatively close to code freeze now, and replacing such a core library can have negative effects It's true that Xerces 2.8.0 is dated back to 2006, and we could refresh it somewhat. To support the request, could you please highlight the most important features that 2.11 has over 2.8 - the ones you value most ? The following modules now from main hg declare dependency on Xerces: * apisupport (tests) * cnd - uses as library * cnd.modelimpl - extend internal DOM classes * form - GandalfPersistenceManager instantiates DocumentBuilderFactoryImpl * html.validation - some adjustments to the default Locator * j2ee.dd - uses as library * j2ee.earproject - instantiates SAXParserFactoryImpl from xerces * j2ee.kit - buildscript * j2ee.sun.appsrv81 - ?? * j2ee.sun.dd - uses as library * j2ee.weblogic9 - default configuration, application XML JAXP implementation * j2ee.websphere6 - instantiates SAXParserFactoryImpl from xerces * terminalemulator - platform dependency * o.apache.jmeter.module * o.n.core - tests, module-auto-deps.xml * project.ant * tomcat5 - uses as a library * web.core - uses as a library; uses some XMLChar utilities * web.core.syntax - unit tests * web.freeform - instantiates SAXParserFactoryImpl from xerces * web.jspparser - uses as a library * websvc.jaxrpc - instantiates SAXParserFactoryImpl from xerces * websvc.registry - instantiates SAXParserFactoryImpl from xerces * xml.jaxb - uses as a library * xml.tax - uses as a library, forces QName load, uses XNI API
Acutally, upon further inspection it appears that there are two releases of Xerces 2.11.0. One has support for XML Schema 1.1 and is in beta. The current release doesn't have XML Schema 1.1 support. The feature I was most interested in was parsing/validation of XML Schema 1.1 documents, but it appears that feature (even sharing the same release version) is still in beta.
The Xerces 2.11.0 release contains a namespace growth feature that we'd like to utilize in future NB XML support.
XSD 1.1 support still in beta...
I've done a 'sanity check' on standard NB distribution and it seems the IDE starts with Xerces 2.11.0 OK. I'll run enterprise tests overnight.