better standard compliance: allow empty top level tags (<PropertyList>)
This commit is contained in:
parent
813b518b6f
commit
de9070dba1
@ -279,6 +279,8 @@ PropsVisitor::endElement (const char * name)
|
||||
ret = st.node->setStringValue(_data.c_str());
|
||||
} else if (st.type == "unspecified") {
|
||||
ret = st.node->setUnspecifiedValue(_data.c_str());
|
||||
} else if (_level == 1) {
|
||||
ret = true; // empty <PropertyList>
|
||||
} else {
|
||||
string message = "Unrecognized data type '";
|
||||
message += st.type;
|
||||
|
Loading…
Reference in New Issue
Block a user