mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
* Source/NSXMLDocument.m: Minor corrections in
initWithContentsOfURL:... to pass along error and mask. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34683 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
469c89052e
commit
67effbde5f
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-01-31 17:57-EST Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Source/NSXMLDocument.m: Minor corrections in
|
||||
initWithContentsOfURL:... to pass along error and mask.
|
||||
|
||||
2012-01-31 Doug Simons <doug.simons@testplant.com>
|
||||
|
||||
* Source/NSXMLElement.m (-insertChild:atIndex:): Deal with the
|
||||
|
|
|
@ -97,7 +97,7 @@ extern void clearPrivatePointers(xmlNodePtr aNode);
|
|||
NSXMLDocument *doc;
|
||||
|
||||
data = [NSData dataWithContentsOfURL: url];
|
||||
doc = [self initWithData: data options: 0 error: 0];
|
||||
doc = [self initWithData: data options: mask error: error];
|
||||
[doc setURI: [url absoluteString]];
|
||||
return doc;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue