mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Fix bug in sloppy xml parser
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26027 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2b3276e792
commit
39ab63995b
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-02-06 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSXMLParser.m: Fix bug in sloppy parser, failing
|
||||
to skip space at end of tag and therefore missing the trailing
|
||||
'/' in a collapsed element.
|
||||
|
||||
2008-01-28 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* configure.ac: Add option to disable bfd.
|
||||
|
|
|
@ -1223,6 +1223,10 @@ NSLog(@"_processTag <%@%@ %@>", flag?@"/": @"", tag, attributes);
|
|||
NSLog(@"tag=%@ - %02x %c", tag, c, isprint(c)?c: ' ');
|
||||
#endif
|
||||
parameters = [NSMutableDictionary dictionaryWithCapacity: 5];
|
||||
while (isspace(c))
|
||||
{
|
||||
c = cget();
|
||||
}
|
||||
while (c != EOF)
|
||||
{
|
||||
if (c == '/' && *tp != '/')
|
||||
|
|
Loading…
Reference in a new issue