[platform-dev] Newer/Different version of Xerces?

  • From: "Cush1978" < >
  • To:
  • Subject: [platform-dev] Newer/Different version of Xerces?
  • Date: Wed, 28 Nov 2012 17:10:17 -0500

OK, so I tried removing the services from the 2.11.0 implementation.  Then it 
complained that it couldn't find any parser to handle XML Schema 1.1.  
Looking closely at the services folder, I found a service:


Code:
javax.xml.validation.SchemaFactory



which declares

Code:

org.apache.xerces.jaxp.validation.XMLSchemaFactory
org.apache.xerces.jaxp.validation.XMLSchema11Factory



The entire point of using the newer Xerces is to have XML Schema 1.1 
compliance, so I left that service declaration in.  Now I'm getting a class 
loading collision trying to load 
Code:
org.apache.xerces.dom.DOMXSImplementationSourceImpl

 arbitrarily from the original Xerces module and my newer one.  Even though I 
removed that service from the new JAR, it seems to still attempt to load the 
class.


> You can package 2.11.0 so it is seen as a newer version of 2.8.0 module. 
> Then only the newer version should be enabled. 


How would I do this?  I'm not entirely sure Xerces IS a module, it seems like 
a core JAR packaged with NetBeans, but I could be wrong there.






[platform-dev] Newer/Different version of Xerces?

Cush1978 11/27/2012

[platform-dev] Re: Newer/Different version of Xerces?

Jaroslav Tulach 11/27/2012

[platform-dev] Newer/Different version of Xerces?

Cush1978 11/28/2012

[platform-dev] Re: Newer/Different version of Xerces?

Benno Markiewicz 11/28/2012

[platform-dev] Newer/Different version of Xerces?

Cush1978 11/28/2012

[platform-dev] Newer/Different version of Xerces?

Cush1978 11/28/2012

[platform-dev] Newer/Different version of Xerces?

Cush1978 11/30/2012

Project Features

Project Links

About this Project

Platform was started in November 2009, is owned by Antonin Nebuzelsky, and has 138 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close