27 #ifndef _RL_XML_SCHEMA_H_
28 #define _RL_XML_SCHEMA_H_
31 #include <boost/shared_array.hpp>
32 #include <boost/shared_ptr.hpp>
33 #include <libxml/xmlschemas.h>
45 parser(xmlSchemaNewParserCtxt(url.c_str()), xmlSchemaFreeParserCtxt),
57 return 0 == xmlSchemaValidateDoc(this->
valid.get(), doc()) ? true :
false;
63 ::boost::shared_ptr< xmlSchemaParserCtxt >
parser;
65 ::boost::shared_ptr< xmlSchema >
schema;
67 ::boost::shared_ptr< xmlSchemaValidCtxt >
valid;
72 #endif // _RL_XML_SCHEMA_H_