|
From: | Richard Frith-Macdonald |
Subject: | Re: NSXMLDocument |
Date: | Mon, 9 Feb 2009 16:21:36 +0000 |
On 9 Feb 2009, at 10:03, Fred Kiefer wrote:
Nicola Pero wrote:I stopped doing anything with it when it became apparent to me fromthe desgin of the API, that Apples new classes are actually a wrapperround libxml2 ... and we already have a wrapper round libxml2 in GSXML.m in the base library. So I couldn't decide what to do: We could implement a second wrapper around libxml2 following Apple's API and implementation details as closely as we can,I (personally) vote for this option. Maybe we could even remove GSXMLat some point. ;-)Sounds sensible to me. Richard, could you please submit your current code, then we all have something to start on.
OK ... I committed the skeletons of the classes to subversion (after checking that it would at least all compile without errors, even though none of it works of course). I also added a new NSXMLPrivate.h header for internal use by all the NSXML... files, it includes all the headers they need, and in particular has the libxml/libxslt header includes copied from GSXML.m so it should be easy to start implementing NSXMLNode.m as a wrapper round libxml2.
[Prev in Thread] | Current Thread | [Next in Thread] |