diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-02-08 14:55:56 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-02-08 14:55:56 +0200 |
commit | f6b55dda1651ffd5221663ea4a642b6c1d49527f (patch) | |
tree | 95b573b478240cffd88eea5ed488c297b18cb298 /xsd-frontend | |
parent | 7f6c962faf8e67688065263291d16ae191c5b467 (diff) |
Treat list item type as base type in schema per file logic
Diffstat (limited to 'xsd-frontend')
-rw-r--r-- | xsd-frontend/transformations/schema-per-type.cxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/xsd-frontend/transformations/schema-per-type.cxx b/xsd-frontend/transformations/schema-per-type.cxx index 547cdf0..1ceb73b 100644 --- a/xsd-frontend/transformations/schema-per-type.cxx +++ b/xsd-frontend/transformations/schema-per-type.cxx @@ -224,14 +224,11 @@ namespace XSDFrontend virtual Void traverse (SemanticGraph::List& l) { + // Treat item type as base type since it is impossible + // to create recursive constructs using list. + // SemanticGraph::Type& t (l.argumented ().type ()); - - Boolean weak ( - by_value_key_ == 0 || - !t.context ().count (by_value_key_) || - !t.context ().get<Boolean> (by_value_key_)); - - set_dep (t, weak); + set_dep (t, false); } virtual Void |