diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-06-20 13:46:10 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-06-20 13:46:10 +0200 |
commit | f2950befcea5e40d43a59241e5df88ac8f8cb53d (patch) | |
tree | 47ae12ad4570a6fb0e1dc4f06bb1cdaddacbe16f | |
parent | 1e5aa9305f310fa7426a320f4f06a7701cabfcdb (diff) |
Reset element/attribute qualification in imported schemas
-rw-r--r-- | xsd-frontend/parser.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xsd-frontend/parser.cxx b/xsd-frontend/parser.cxx index d0df805..2c090d5 100644 --- a/xsd-frontend/parser.cxx +++ b/xsd-frontend/parser.cxx @@ -2358,9 +2358,13 @@ namespace XSDFrontend if (String af = trim (s["attributeFormDefault"])) qualify_attribute_ = af == L"qualified"; + else + qualify_attribute_ = false; if (String ef = trim (s["elementFormDefault"])) qualify_element_ = ef == L"qualified"; + else + qualify_element_ = false; push (s); @@ -4186,6 +4190,8 @@ namespace XSDFrontend if (String name = trim (a["name"])) { + wcout << name << " " << qualified << endl; + if (trace_) wcout << "attribute '" << name << "'" << endl; |