Bug 20644 - not able to validating with 1.3.1
Summary: not able to validating with 1.3.1
Status: NEW
Alias: None
Product: Xerces-J
Classification: Unclassified
Component: Build (show other bugs)
Version: 1.3.1
Hardware: PC All
: P3 major
Target Milestone: ---
Assignee: Xerces-J Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-10 13:16 UTC by james
Modified: 2005-03-20 17:06 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description james 2003-06-10 13:16:53 UTC
I am trying to validate this xml document via a schema. I am using the 
following code samples.
   
sparser.setFeature("http://xml.org/sax/features/validation", true);
sparser.setFeature("http://apache.org/xml/features/validation/schema", true);

However, this is not working.
I tried swaping out the xerces.jar with 1.4 and it works just fine. 
However, I have to use 1.3.1 version.
any thing I can do?
Comment 1 Davanum Srinivas 2003-06-10 13:31:05 UTC
Add your own ErrorHandler - See
http://www-106.ibm.com/developerworks/xml/library/x-tipeh.html for sample.

-- dims