/usr/include/ui-gxmlcpp/RelaxNGTree.hpp is in libui-gxmlcpp-dev 1.4.4-1build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | /**
* @file
* @version @$Id$
* @author
* ui-gxmlcpp: C++ wrapper for Gnome libxml2/libxsl.
* Copyright (C) Schlund+Partner AG 2002-2004.
* Licensed under the GNU Lesser General Public License (LGPL). See
* @ref License, or the file COPYING in distribution.
*/
#ifndef UI_GXML_RELAXNGTREE_HPP
#define UI_GXML_RELAXNGTREE_HPP
// STDC++
#include <string>
// C++ Libraries
#include <ui-gxmlcpp/ValidatorTree.hpp>
// C libraries
#include <libxml/relaxng.h>
namespace UI {
namespace GXML {
/** @brief RelaxNG Schema XML Tree. */
class RelaxNGTree: public ValidatorTree
{
private:
void init();
public:
/** @name Standard tree constructors.
* @{ @see UI::GXML::Tree. */
RelaxNGTree(char const * xml, int len=-1, std::string const & base=DefaultDocbase_, int const options=0);
RelaxNGTree(std::string const & xml, std::string const & base=DefaultDocbase_, int const options=0);
RelaxNGTree(std::istream & xml, std::string const & base=DefaultDocbase_, int const options=0);
RelaxNGTree(FileConstructor const dummy, std::string const & file, int const options=0);
/** @} */
public:
~RelaxNGTree();
private:
virtual int libxml2Validate(Tree const & tree) const;
xmlRelaxNGParserCtxt * parserCtxt_;
xmlRelaxNG * relaxng_;
};
}}
#endif
|