From 2b826f1b59930b08ba004de3d949553883cd8608 Mon Sep 17 00:00:00 2001 From: "Zane U. Ji" Date: Thu, 2 Aug 2012 21:24:47 +0800 Subject: [PATCH] Show all attributes defined by the schema in prompt window --- src/xmlpromptgenerator.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xmlpromptgenerator.cpp b/src/xmlpromptgenerator.cpp index 49f9a5f..06049be 100755 --- a/src/xmlpromptgenerator.cpp +++ b/src/xmlpromptgenerator.cpp @@ -520,8 +520,9 @@ void XmlPromptGenerator::handleSchema ( { attributeValue = XMLString::transcode ( pAttr->getValue() ); attributeValueSet.insert ( attributeValue ); - attributeMap.insert ( make_pair ( attribute, attributeValueSet ) ); } + + attributeMap.insert ( make_pair ( attribute, attributeValueSet ) ); } if ( !attributeMap.empty() ) d->attributeMap.insert( make_pair ( element, attributeMap ) );