permaculture playing cards*
The moose likes XML and Related Technologies and the fly likes Validation Special Character Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Validation Special Character Problem" Watch "Validation Special Character Problem" New topic

Validation Special Character Problem

AnilPOL Kumar

Joined: Aug 27, 2003
Posts: 1
I have problem parsing some XML file which consist of name like &# or !# together,I observed that Xerces parser throws an exception on parsing special character like this.Could anyone out there let me know how do i over come his problem.
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Could you post the XML containing those special characters.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
It is sorta covered in the JavaRanch Style Guide.
subject: Validation Special Character Problem
Similar Threads
Error while parsing html page in java on linux
Charset and special characters
Problem in parsing thru IBM SAX parser API
jQuery.ajax() issue with chrome and IE 8
Exception in XML Parsing