fix bug parsing space at end of attributes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/stable@33328 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-06-17 13:50:57 +00:00
parent b379d46561
commit 99df9418ef
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2011-06-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLParser.m: Fix problem parsing space at end of attributes.
2011-06-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Source/NSObject.m:

View file

@ -1903,6 +1903,10 @@ NSLog(@"_processTag <%@%@ %@>", flag?@"/": @"", tag, attributes);
[attributes setObject: val forKey: arg];
[val release];
c = cget(); // get character behind qarg value
while (isspace(c))
{
c = cget();
}
}
else // implicit
{