mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Entity substitution fix by Wolfgang
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39014 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9a2ee0bf9e
commit
a9377d6150
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2015-09-23 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Source/NSXMLParser.m:
|
||||
* Tests/base/NSXMLParser/ParseData/quoted-entities.result
|
||||
* Tests/base/NSXMLParser/ParseData/quoted-entities.xml
|
||||
Turn on substitution of entities to match OSX behavior, add tests.
|
||||
|
||||
2015-09-22 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Headers/Foundation/NSData.h:
|
||||
|
|
|
@ -497,6 +497,7 @@ static NSNull *null = nil;
|
|||
_handler = [NSXMLSAXHandler new];
|
||||
[myHandler _setOwner: self];
|
||||
_parser = [[GSXMLParser alloc] initWithSAXHandler: myHandler withData: data];
|
||||
[(GSXMLParser*)_parser substituteEntities: YES];
|
||||
return self;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue