Skip to main content



      Home
Home » Modeling » EMF » Java Sun/Oracle xerces parser bug?
Java Sun/Oracle xerces parser bug? [message #1649739] Wed, 04 March 2015 08:32 Go to next message
Eclipse UserFriend
Hi all,

I'm using the com.sun.org.apache.xerces parser in the JDK 1.8 rt.jar with eclipse luna. Parsing an XML document with an attribute and CDATA section that contain identical strings, which consist of Chinese characters, like this:

<tns:metaData tns:name="


Re: Java Sun/Oracle xerces parser bug? [message #1650588 is a reply to message #1649739] Wed, 04 March 2015 17:46 Go to previous message
Eclipse UserFriend
I guess the answer is "yes, it is a bug in the Sun/Oracle version of xerces." I just tried this with the latest build from apache and it works!
Note, if you're going to use the command line -Djava.endorsed.dirs="..." switch, you'll need to add both xerces and xalan binaries because it is required by eclipse. For windoze it's something like:

 -Djava.endorsed.dirs="C:\Program Files (x86)\Java\xerces-2_11_0"
 -Djava.endorsed.dirs="C:\Program Files (x86)\Java\xalan-j_2_7_2"


Cheers, Bob
Previous Topic:[EMF Transaction/Validation] How to exploit the live validation performed in a transaction?
Next Topic:Jface databinding for extended ecore models [solved]
Goto Forum:
  


Current Time: Tue Jul 01 15:49:31 EDT 2025

Powered by FUDForum. Page generated in 0.03503 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top