Comments.
This commit is contained in:
@@ -169,6 +169,7 @@ unsigned LoadAttributes( XNode *pNode, const RString &xml, RString &sErrorOut, u
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// XXX: This is invalid XML, should we be accepting it? -- Steve
|
||||||
//attr= value>
|
//attr= value>
|
||||||
// none quote mode
|
// none quote mode
|
||||||
iEnd = xml.find_first_of( " >", iOffset );
|
iEnd = xml.find_first_of( " >", iOffset );
|
||||||
@@ -248,7 +249,7 @@ unsigned LoadInternal( XNode *pNode, const RString &xml, RString &sErrorOut, uns
|
|||||||
pNode->SetName( sName );
|
pNode->SetName( sName );
|
||||||
iOffset = iTagEnd;
|
iOffset = iTagEnd;
|
||||||
|
|
||||||
// Generate XML Attributte List
|
// Generate XML Attribute List
|
||||||
iOffset = LoadAttributes( pNode, xml, sErrorOut, iOffset );
|
iOffset = LoadAttributes( pNode, xml, sErrorOut, iOffset );
|
||||||
if( iOffset == string::npos )
|
if( iOffset == string::npos )
|
||||||
return string::npos;
|
return string::npos;
|
||||||
|
|||||||
Reference in New Issue
Block a user