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.

Bug 222999 - Upgrade to Xerces 2.11.0?
Summary: Upgrade to Xerces 2.11.0?
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: Tools (show other bugs)
Version: 7.3
Hardware: All All
: P1 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on: 252526
Blocks:
  Show dependency tree
 
Reported: 2012-11-29 16:27 UTC by Michael.Bishop
Modified: 2015-05-21 10:14 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael.Bishop 2012-11-29 16:27:07 UTC
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.
Comment 1 Svata Dedic 2012-11-30 08:32:52 UTC
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
Comment 2 Michael.Bishop 2012-11-30 19:25:34 UTC
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.
Comment 3 jrstephe 2013-04-18 18:53:29 UTC
The Xerces 2.11.0 release contains a namespace growth feature that we'd like to utilize in future NB XML support.
Comment 4 Svata Dedic 2015-04-07 09:35:09 UTC
XSD 1.1 support still in beta...
Comment 5 Svata Dedic 2015-04-29 12:35:46 UTC
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.