You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Thierry Mallard (JIRA)" <xe...@xml.apache.org> on 2005/03/09 16:12:52 UTC
[jira] Created: (XERCESC-1372) XML schema validation doesn't seems to work in samples
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 :
-=-=-
[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.
--
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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
[jira] Resolved: (XERCESC-1372) XML schema validation doesn't seems to work in samples
Posted by "cargilld (JIRA)" <xe...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XERCESC-1372?page=history ]
cargilld resolved XERCESC-1372:
-------------------------------
Resolution: Fixed
Use StdInParse -v=always -n -s <personal-schema.xml
Iyou are having usage problems please send a note to the mailing list (xerces-c-dev) instead of opening a bug.
> 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 :
> -=-=-
> [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.
--
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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org