diff options
Diffstat (limited to 'xsd/cxx/tree/tree-inline.cxx')
-rw-r--r-- | xsd/cxx/tree/tree-inline.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xsd/cxx/tree/tree-inline.cxx b/xsd/cxx/tree/tree-inline.cxx index 6909e7c..a075d3f 100644 --- a/xsd/cxx/tree/tree-inline.cxx +++ b/xsd/cxx/tree/tree-inline.cxx @@ -444,8 +444,7 @@ namespace CXX } Boolean def_attr (m.default_ () && - m.is_a<SemanticGraph::Attribute> () && - !is_qname (m.type ())); + m.is_a<SemanticGraph::Attribute> ()); if (max (m) != 1) { @@ -600,7 +599,7 @@ namespace CXX // default_value // - if (m.default_ () && !is_qname (m.type ())) + if (m.default_ ()) { Boolean simple (true); |