root/win32/xsd-3.1.0-i686/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.txx @ 111

Revision 111, 1.8 kB (checked in by mido, 16 years ago)

pridana knihovna XSD (a jeji chlebodarkyne XERCES), v ramci Win32 zprovoznen priklad tests/test_xsd_hello.cxx

Line 
1// file      : xsd/cxx/parser/validating/xml-schema-pskel.txx
2// author    : Boris Kolpackov <boris@codesynthesis.com>
3// copyright : Copyright (c) 2005-2008 Code Synthesis Tools CC
4// license   : GNU GPL v2 + exceptions; see accompanying LICENSE file
5
6namespace xsd
7{
8  namespace cxx
9  {
10    namespace parser
11    {
12      namespace validating
13      {
14        // any_type
15        //
16
17        template <typename C>
18        bool any_type_pskel<C>::
19        _start_element_impl (const ro_string<C>& ns,
20                             const ro_string<C>& name,
21                             const ro_string<C>* type)
22        {
23          _start_any_element (ns, name, type);
24          this->complex_content<C>::context_.top ().any_ = true;
25          return true;
26        }
27
28        template <typename C>
29        bool any_type_pskel<C>::
30        _end_element_impl (const ro_string<C>& ns, const ro_string<C>& name)
31        {
32          this->complex_content<C>::context_.top ().any_ = false;
33          _end_any_element (ns, name);
34          return true;
35        }
36
37
38        template <typename C>
39        bool any_type_pskel<C>::
40        _attribute_impl_phase_two (const ro_string<C>& ns,
41                                   const ro_string<C>& name,
42                                   const ro_string<C>& value)
43        {
44          _any_attribute (ns, name, value);
45          return true;
46        }
47
48        template <typename C>
49        bool any_type_pskel<C>::
50        _characters_impl (const ro_string<C>& s)
51        {
52          _any_characters (s);
53          return true;
54        }
55
56        // any_simple_type
57        //
58
59        template <typename C>
60        bool any_simple_type_pskel<C>::
61        _characters_impl (const ro_string<C>& s)
62        {
63          _any_characters (s);
64          return true;
65        }
66      }
67    }
68  }
69}
Note: See TracBrowser for help on using the browser.