Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.6.0
-
None
-
Redhat Linux ES 2.1
Xerces-C++ build from sources
Description
My goal is simply to find a XML file validation against a given xml schema.
While trying to use StdInParse of SAXPrint using the samples, here's what I got :
==-
[thierry@recette data]$ /opt/src/xerces-c-src_2_6_0/bin/StdInParse -v=always < personal-schema.xml
Error at (file stdin, line 3, char 11): Unknown element 'personnel'
Error at (file stdin, line 3, char 22): Attribute 'xmlns:xsi' is not declared for element 'personnel'
Error at (file stdin, line 4, char 35): Attribute 'xsi:noNamespaceSchemaLocation' is not declared for element 'personnel'
==-
Strace-ing the StdInParse tells me the program didn't even tried to load the schema file...
Surely i'm doing something wrong, but I really can't see what..
Thanks for the help.