mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
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:
parent
b379d46561
commit
99df9418ef
2 changed files with 8 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue