From b38507fb1ecf82e5404a65a37e82c6164d482a98 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 9 Dec 2013 09:40:32 +0200 Subject: Fix bug in handling untyped, ref'ed substitution group elements --- xsd-frontend/parser.cxx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/xsd-frontend/parser.cxx b/xsd-frontend/parser.cxx index 3f8200a..14187cc 100644 --- a/xsd-frontend/parser.cxx +++ b/xsd-frontend/parser.cxx @@ -558,19 +558,10 @@ namespace XSDFrontend if (!m.annotated_p () && ref.annotated_p ()) s_.new_edge (ref.annotation (), m); - // Type info. + // Type info. Can be missing for a substitution group member. // if (ref.typed_p ()) s_.new_edge (m, ref.type ()); - else - { - if (valid_) - { - wcerr << "ice: referenced instance '" << ns_name << "#" - << uq_name << "' is not typed" << endl; - abort (); - } - } } } catch (NotNamespace const& ex) -- cgit v1.1