Show all attributes defined by the schema in prompt window

This commit is contained in:
Zane U. Ji 2012-08-02 21:24:47 +08:00
parent 2d8c3449cf
commit 2b826f1b59
1 changed files with 2 additions and 1 deletions

View File

@ -520,8 +520,9 @@ void XmlPromptGenerator::handleSchema (
{ {
attributeValue = XMLString::transcode ( pAttr->getValue() ); attributeValue = XMLString::transcode ( pAttr->getValue() );
attributeValueSet.insert ( attributeValue ); attributeValueSet.insert ( attributeValue );
attributeMap.insert ( make_pair ( attribute, attributeValueSet ) );
} }
attributeMap.insert ( make_pair ( attribute, attributeValueSet ) );
} }
if ( !attributeMap.empty() ) if ( !attributeMap.empty() )
d->attributeMap.insert( make_pair ( element, attributeMap ) ); d->attributeMap.insert( make_pair ( element, attributeMap ) );