From 422b9d5aa5114214e5bd9b99732976a98ff57c91 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sun, 19 Aug 2007 01:27:47 +0000 Subject: [PATCH] Comments. --- stepmania/src/XmlFileUtil.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/XmlFileUtil.cpp b/stepmania/src/XmlFileUtil.cpp index cf4db72e8c..4321bf2b76 100644 --- a/stepmania/src/XmlFileUtil.cpp +++ b/stepmania/src/XmlFileUtil.cpp @@ -169,6 +169,7 @@ unsigned LoadAttributes( XNode *pNode, const RString &xml, RString &sErrorOut, u } else { + // XXX: This is invalid XML, should we be accepting it? -- Steve //attr= value> // none quote mode iEnd = xml.find_first_of( " >", iOffset ); @@ -248,7 +249,7 @@ unsigned LoadInternal( XNode *pNode, const RString &xml, RString &sErrorOut, uns pNode->SetName( sName ); iOffset = iTagEnd; - // Generate XML Attributte List + // Generate XML Attribute List iOffset = LoadAttributes( pNode, xml, sErrorOut, iOffset ); if( iOffset == string::npos ) return string::npos;