diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-01 17:03:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-01 17:03:45 +0200 |
commit | 676cf6420dbc11c15322ca528386a8032b9872a0 (patch) | |
tree | d342e41aca6376d99bd3839624840460d21b9ff6 /xsd/processing | |
parent | 4661c1a12a491132784ffe5e3d4702d9a9bf6072 (diff) |
Fix incorrect handling of IDREF templates when used as bases
Diffstat (limited to 'xsd/processing')
-rw-r--r-- | xsd/processing/inheritance/processor.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xsd/processing/inheritance/processor.cxx b/xsd/processing/inheritance/processor.cxx index 6bf307e..7d103db 100644 --- a/xsd/processing/inheritance/processor.cxx +++ b/xsd/processing/inheritance/processor.cxx @@ -242,11 +242,11 @@ namespace Processing Dep const& dep (*i); Type& t (dep.type); - // Ignore ID/IDREF templates. + // Ignore IDREF templates. // if (!t.named_p () && - (t.is_a<SemanticGraph::Fundamental::Id> () || - t.is_a<SemanticGraph::Fundamental::IdRef> ())) + (t.is_a<SemanticGraph::Fundamental::IdRef> () || + t.is_a<SemanticGraph::Fundamental::IdRefs> ())) continue; // We won't be able to generate compilable code in case of a |