XML schema validation doesn't seems to work in samples ------------------------------------------------------
Key: XERCESC-1372 URL: http://issues.apache.org/jira/browse/XERCESC-1372 Project: Xerces-C++ Type: Bug Components: Samples/Tests Versions: 2.6.0 Environment: Redhat Linux ES 2.1 Xerces-C++ build from sources Reporter: Thierry Mallard Priority: Minor 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 : -=-=- [EMAIL PROTECTED] 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]