view src/xerces-test.cpp @ 4106:abe4edcb2f41

of-ltfat: update to 2.1.2 * src/of-ltfat.mk: update checksum, version * build_packages.m: update ltfat version * src/mingw-of-ltfat-1-fixes.patch: removed file
author John Donoghue <john.donoghue@ieee.org>
date Sat, 19 Mar 2016 09:47:02 -0400
parents 99516e73b368
children
line wrap: on
line source

/*
 * This file is part of MXE.
 * See 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;
}