blob: feba8d31dbc476d614fef68ddd240c382e30b5e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/* This file is part of mingw-cross-env. */
/* See doc/index.html for further information. */
#include <xercesc/parsers/SAXParser.hpp>
XERCES_CPP_NAMESPACE_USE
int main(int argc, char *argv[])
{
(void)argc;
(void)argv;
XMLPlatformUtils::Initialize();
{
SAXParser parser;
parser.setValidationScheme(SAXParser::Val_Always);
parser.setDoNamespaces(true);
parser.setDoSchema(true);
parser.setValidationSchemaFullChecking(false);
}
XMLPlatformUtils::Terminate();
return 0;
}
|