blob: 28c45a865290ad60e2140d3b1958e30da852fd33 (
plain)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
// file : xsd/cxx/parser/validating/xml-schema-pskel.txx
// author : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
namespace xsd
{
namespace cxx
{
namespace parser
{
namespace validating
{
// any_type
//
template <typename C>
bool any_type_pskel<C>::
_start_element_impl (const ro_string<C>& ns,
const ro_string<C>& name,
const ro_string<C>* type)
{
_start_any_element (ns, name, type);
this->complex_content<C>::context_.top ().any_ = true;
return true;
}
template <typename C>
bool any_type_pskel<C>::
_end_element_impl (const ro_string<C>& ns, const ro_string<C>& name)
{
this->complex_content<C>::context_.top ().any_ = false;
_end_any_element (ns, name);
return true;
}
template <typename C>
bool any_type_pskel<C>::
_attribute_impl_phase_two (const ro_string<C>& ns,
const ro_string<C>& name,
const ro_string<C>& value)
{
_any_attribute (ns, name, value);
return true;
}
template <typename C>
bool any_type_pskel<C>::
_characters_impl (const ro_string<C>& s)
{
_any_characters (s);
return true;
}
// any_simple_type
//
template <typename C>
bool any_simple_type_pskel<C>::
_characters_impl (const ro_string<C>& s)
{
_any_characters (s);
return true;
}
}
}
}
}
|