Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Validating large xml files

843834Sep 3 2009 — edited Sep 6 2009
In our application we have a requirement to validate large xml file (around 40 mb) against a simple schema file.

I have tried all options(Sax and Dom) mentioned in below article on sun site -

http://java.sun.com/developer/EJTechTips/2005/tt1025.html

but with all of these approches the validation process just hangs for hours.
Even i am running my test case for this validation by allocating 1 GB memory to test case, on latest processor(core-2 duo) but still it just hangs and returns after a long duration.

If needed i can provide sample test case, schema file and xml file.

Please help me to know if its a problem with JAXP 1.3 Schema Validation Framework (SVF) to handle large files, or if there is any other efficient way of validating large xml file.


Regards
Rahul
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 4 2009
Added on Sep 3 2009
2 comments
330 views