aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libstudxml/parser.ixx6
1 files changed, 3 insertions, 3 deletions
diff --git a/libstudxml/parser.ixx b/libstudxml/parser.ixx
index bda82e5..4a9ea3d 100644
--- a/libstudxml/parser.ixx
+++ b/libstudxml/parser.ixx
@@ -215,16 +215,16 @@ namespace xml
inline void parser::
next_expect (event_type e, const qname_type& qn, content_type c)
{
- next_expect (e, qn);
assert (e == start_element);
+ next_expect (e, qn);
content (c);
}
inline void parser::
next_expect (event_type e, const std::string& n, content_type c)
{
- next_expect (e, std::string (), n);
assert (e == start_element);
+ next_expect (e, std::string (), n);
content (c);
}
@@ -233,8 +233,8 @@ namespace xml
const std::string& ns, const std::string& n,
content_type c)
{
- next_expect (e, ns, n);
assert (e == start_element);
+ next_expect (e, ns, n);
content (c);
}
}