diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-03-28 10:54:31 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-03-28 10:54:31 +0200 |
commit | 3a1b35c227d8b51d1bb488db511f82c666a38ea0 (patch) | |
tree | e14db1288422dcf744fb714c1c34df425f8d55dc /cutl/xml/parser.cxx | |
parent | 1d3d9dfb7b11da8e398f6f9c638291a0539f7bf0 (diff) |
Add direct access to attribute map in XML parserxml
Diffstat (limited to 'cutl/xml/parser.cxx')
-rw-r--r-- | cutl/xml/parser.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cutl/xml/parser.cxx b/cutl/xml/parser.cxx index 42ce9ce..219fb00 100644 --- a/cutl/xml/parser.cxx +++ b/cutl/xml/parser.cxx @@ -200,7 +200,7 @@ namespace cutl { if (const element_entry* e = get_element ()) { - attribute_map::const_iterator i (e->attr_map_.find (qn)); + attribute_map_type::const_iterator i (e->attr_map_.find (qn)); if (i != e->attr_map_.end ()) { @@ -221,7 +221,7 @@ namespace cutl { if (const element_entry* e = get_element ()) { - attribute_map::const_iterator i (e->attr_map_.find (qn)); + attribute_map_type::const_iterator i (e->attr_map_.find (qn)); if (i != e->attr_map_.end ()) { @@ -242,7 +242,7 @@ namespace cutl { if (const element_entry* e = get_element ()) { - attribute_map::const_iterator i (e->attr_map_.find (qn)); + attribute_map_type::const_iterator i (e->attr_map_.find (qn)); if (i != e->attr_map_.end ()) { @@ -308,7 +308,7 @@ namespace cutl { // Find the first unhandled attribute and report it. // - for (attribute_map::const_iterator i (e.attr_map_.begin ()); + for (attribute_map_type::const_iterator i (e.attr_map_.begin ()); i != e.attr_map_.end (); ++i) { if (!i->second.handled) @@ -662,7 +662,7 @@ namespace cutl { qname_type qn; split_name (*atts, qn); - attribute_map::value_type v (qn, attribute_value ()); + attribute_map_type::value_type v (qn, attribute_value_type ()); v.second.value = *(atts + 1); v.second.handled = false; pe->attr_map_.insert (v); |