diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-10-18 11:17:51 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-10-18 11:17:51 +0200 |
commit | d80d096ee8743fd6f7382d274272b0b6d7faf9bf (patch) | |
tree | d0f0bee1e645cb2b86b6837ac0db8a7d2821e533 /libxsde/xsde/cxx/parser/non-validating | |
parent | 0e4637025fa8d1b4234b0512561d31f0dd023843 (diff) |
Support for schema evolution using substitution groups
New examples: hybrid/evolution/ignore and hybrid/evolution/passthrough.
Diffstat (limited to 'libxsde/xsde/cxx/parser/non-validating')
-rw-r--r-- | libxsde/xsde/cxx/parser/non-validating/parser.cxx | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/libxsde/xsde/cxx/parser/non-validating/parser.cxx b/libxsde/xsde/cxx/parser/non-validating/parser.cxx index aec43e0..1bd20a5 100644 --- a/libxsde/xsde/cxx/parser/non-validating/parser.cxx +++ b/libxsde/xsde/cxx/parser/non-validating/parser.cxx @@ -195,11 +195,7 @@ namespace xsde { if (!_start_element_impl (ns, name, type)) { - context& c = _context (); - - c.current_.any_ = true; - c.current_.depth_++; - + _context ().start_wildcard_content (); _start_any_element (ns, name, type); } } @@ -210,11 +206,7 @@ namespace xsde { if (!_start_element_impl (ns, name)) { - context& c = _context (); - - c.current_.any_ = true; - c.current_.depth_++; - + _context ().start_wildcard_content (); _start_any_element (ns, name); } } |