diff --git a/src/osgDB/XmlParser.cpp b/src/osgDB/XmlParser.cpp index 20a50d9af..59c901884 100644 --- a/src/osgDB/XmlParser.cpp +++ b/src/osgDB/XmlParser.cpp @@ -225,7 +225,7 @@ bool XmlNode::read(Input& input) input.skipWhiteSpace(); std::string option; std::string value; - while((c=input[0])>=0 && c!='>' && c!='"' && c!='\'' && c!='=') + while((c=input[0])>=0 && c!='>' && c!='"' && c!='\'' && c!='=' && c!=' ') { option.push_back(c); ++input; @@ -276,7 +276,7 @@ bool XmlNode::read(Input& input) if (!option.empty()) { - osg::notify(osg::INFO)<<"Assigning option "<properties[option] = value; } }