From 2615896faa646e5830abf2c269150e1165c66515 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 18 Dec 2020 18:48:46 +0300 Subject: Switch to build2 --- .../cxx/parser/validating/xml-schema-pskel.txx | 67 ++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 libxsd/libxsd/cxx/parser/validating/xml-schema-pskel.txx (limited to 'libxsd/libxsd/cxx/parser/validating/xml-schema-pskel.txx') diff --git a/libxsd/libxsd/cxx/parser/validating/xml-schema-pskel.txx b/libxsd/libxsd/cxx/parser/validating/xml-schema-pskel.txx new file mode 100644 index 0000000..de6f62f --- /dev/null +++ b/libxsd/libxsd/cxx/parser/validating/xml-schema-pskel.txx @@ -0,0 +1,67 @@ +// file : libxsd/cxx/parser/validating/xml-schema-pskel.txx +// license : GNU GPL v2 + exceptions; see accompanying LICENSE file + +namespace xsd +{ + namespace cxx + { + namespace parser + { + namespace validating + { + // any_type + // + + template + bool any_type_pskel:: + _start_element_impl (const ro_string& ns, + const ro_string& name, + const ro_string* type) + { + this->_start_any_element (ns, name, type); + this->complex_content::context_.top ().any_ = true; + return true; + } + + template + bool any_type_pskel:: + _end_element_impl (const ro_string& ns, const ro_string& name) + { + this->complex_content::context_.top ().any_ = false; + this->_end_any_element (ns, name); + return true; + } + + + template + bool any_type_pskel:: + _attribute_impl_phase_two (const ro_string& ns, + const ro_string& name, + const ro_string& value) + { + this->_any_attribute (ns, name, value); + return true; + } + + template + bool any_type_pskel:: + _characters_impl (const ro_string& s) + { + this->_any_characters (s); + return true; + } + + // any_simple_type + // + + template + bool any_simple_type_pskel:: + _characters_impl (const ro_string& s) + { + this->_any_characters (s); + return true; + } + } + } + } +} -- cgit v1.1