Rosetta  2020.46
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions
XMLSchemaValidation.cc File Reference

functions and classes needed to validate an XML file against a schema More...

#include <utility/tag/XMLSchemaValidation.hh>
#include <utility/string_util.hh>
#include <ObjexxFCL/format.hh>
#include <libxml/xmlschemas.h>
#include <libxml/xmlstring.h>
#include <libxml/tree.h>
#include <platform/types.hh>
#include <sstream>

Classes

class  utility::tag::XMLValidatorImpl
 

Namespaces

 utility
 unresizable vector whose size is known at compile time, which may be allocated on the stack, and which indexes from 0.
 
 utility::tag
 

Functions

std::string utility::tag::element_type_name (xmlElementType element_type)
 
int utility::tag::length_of_message (const char *message, va_list args)
 
char * utility::tag::make_message (int length, const char *message, va_list args)
 
void utility::tag::handle_structured_xml_error (void *ctxt, xmlErrorPtr error)
 
void utility::tag::handle_xml_error (void *ctxt, char const *message,...)
 
void utility::tag::handle_xml_warning (void *ctxt, char const *message,...)
 
void utility::tag::print_node_stack (utility::vector1< xmlNode * > const &node_stack, std::ostringstream &oss)
 
std::string utility::tag::concat_stringlist (std::list< std::string > const &strings)
 
int utility::tag::recurse_through_tree (xmlSchemaValidCtxtPtr ctxt, xmlNodePtr node, XMLErrorHandler handler)
 
XMLValidationOutput utility::tag::validate_xml_against_xsd (std::string const &xml_string, std::string const &xsd_string)
 
XMLValidationOutput utility::tag::test_if_schema_is_valid (std::string const &xsd_string)
 

Detailed Description

functions and classes needed to validate an XML file against a schema

Author
Andrew Leaver-Fay (aleav.nosp@m.erfa.nosp@m.y@gma.nosp@m.il.c.nosp@m.om)