P
Piper707
Hi,
I'm trying to validate a XML file with a schema I wrote. I used the
following code to try out if my file works:
http://java.sun.com/developer/technicalArticles/xml/validationxpath/
For some reason, it only seems to work when my schema uses the default
namespace. When I change that to a custom namespace, the code doesn't
run.
I'm using Altova XML spy to make sure the schema file is valid, and
that doesn't complain.
Do I need to make some modifications to the code when trying to
validate with an XSD using custom namespaces?
Thanks
Rohit.
I'm trying to validate a XML file with a schema I wrote. I used the
following code to try out if my file works:
http://java.sun.com/developer/technicalArticles/xml/validationxpath/
For some reason, it only seems to work when my schema uses the default
namespace. When I change that to a custom namespace, the code doesn't
run.
I'm using Altova XML spy to make sure the schema file is valid, and
that doesn't complain.
Do I need to make some modifications to the code when trying to
validate with an XSD using custom namespaces?
Thanks
Rohit.