A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
XML and Related Technologies
XML validation issue in Xerces
Joined: May 25, 2006
Sep 19, 2006 16:47:00
I am using Xerces-2.8. I have a problem to load the schema file to validate the XML.
The validation worked when I was using an absolute path for the schema location. Is there any way I can use path relative to my context root in this example?
But the same code has to be ported on Linux/Unix servers, I tried to give path relative to context root, and placed the xsd file under that path, but it doesn't seem to load the XSD file. For example I tried to put
management.xsd under WEB-INF/classes and tried
I could use system property to set the path and track down my XSD file, but I wanted to know if there is a way without system property setting.
Any help will be appreciated. Thanks in advance,
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: XML validation issue in Xerces
SAX parse and validate with XSD
How to validate XML against DTD / Schema using DOM
xml validation agains xsd
XML Schema parsing
Feature not recognized: - schema validation
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014