Commit graph

32 commits

Author SHA1 Message Date
Doug Simons
d0a8f14c4a ignore blanks between nodes when parsing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34523 72102866-910b-0410-8b05-ffd578937521
2012-01-14 07:00:28 +00:00
Doug Simons
25ffa3ff82 fix rootElement
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34522 72102866-910b-0410-8b05-ffd578937521
2012-01-14 06:51:13 +00:00
Doug Simons
f6289a65a1 use clearPrivatePointers() in NSXMLDocument as well as NSXMLNode when copying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34518 72102866-910b-0410-8b05-ffd578937521
2012-01-14 02:43:18 +00:00
Gregory John Casamento
db0fefff04 Remove uneeded ivars.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34516 72102866-910b-0410-8b05-ffd578937521
2012-01-13 22:10:41 +00:00
Gregory John Casamento
3fd92857a4 Cleanup of ivars
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34514 72102866-910b-0410-8b05-ffd578937521
2012-01-13 19:44:55 +00:00
Doug Simons
f7aff866ac added subNodes ivar to track ownership of nodes in a tree
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34513 72102866-910b-0410-8b05-ffd578937521
2012-01-13 19:24:44 +00:00
Doug Simons
5667bb4af7 cleaned up some more things
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34509 72102866-910b-0410-8b05-ffd578937521
2012-01-13 00:44:10 +00:00
Doug Simons
a9e3ce01aa cleaned up some more things
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34507 72102866-910b-0410-8b05-ffd578937521
2012-01-12 22:41:55 +00:00
Doug Simons
065ac2bce2 fix setRootElement:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34504 72102866-910b-0410-8b05-ffd578937521
2012-01-12 18:49:13 +00:00
Gregory John Casamento
c81e66eb31 * Source/NSXMLDocument.m: Added forward declarations for private
methods on NSXMLNode.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34490 72102866-910b-0410-8b05-ffd578937521
2012-01-11 01:21:59 +00:00
Doug Simons
d9db64516a defined StringFromXMLString
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34489 72102866-910b-0410-8b05-ffd578937521
2012-01-11 01:12:35 +00:00
Doug Simons
ac22f7ff4a fixed a few little things
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34487 72102866-910b-0410-8b05-ffd578937521
2012-01-11 00:29:28 +00:00
Doug Simons
4096c0a471 NSXMLDocument is starting to compile now
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34485 72102866-910b-0410-8b05-ffd578937521
2012-01-10 22:25:22 +00:00
Gregory John Casamento
7566c5da55 Changes for NSXML (DOES NOT COMPILE)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34484 72102866-910b-0410-8b05-ffd578937521
2012-01-10 20:42:32 +00:00
Richard Frith-MacDonald
1c23e5145d Make sure code passes testsuite
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34456 72102866-910b-0410-8b05-ffd578937521
2012-01-07 13:08:03 +00:00
Richard Frith-MacDonald
42f0192c2c Rewrite hierarchy handling to match OSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34441 72102866-910b-0410-8b05-ffd578937521
2012-01-06 12:22:30 +00:00
Doug Simons
8b518f58ee only include the header when version, encoding, or standalone has been set
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34433 72102866-910b-0410-8b05-ffd578937521
2012-01-06 04:53:59 +00:00
Gregory John Casamento
a3d5150a84 * ChangeLog
* Source/NSXMLDocument.m
	* Source/NSXMLElement.m
	* Source/NSXMLNode.m: Implement copyWithZone:, correct issues
	with previous revert.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34428 72102866-910b-0410-8b05-ffd578937521
2012-01-06 02:43:26 +00:00
Richard Frith-MacDonald
dd3807023e corrected exception type t match OSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34427 72102866-910b-0410-8b05-ffd578937521
2012-01-05 20:49:29 +00:00
Richard Frith-MacDonald
997222976b Little tweak to ease debugging ... get compiler to know the class of the
_internal pointer and generate information so gdb can access the internal
cass without needing a cast.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34425 72102866-910b-0410-8b05-ffd578937521
2012-01-05 20:40:12 +00:00
Richard Frith-MacDonald
1a85fb0780 Minor intiialisation tweaks to match OSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34423 72102866-910b-0410-8b05-ffd578937521
2012-01-05 18:55:17 +00:00
Richard Frith-MacDonald
bcd94d6a14 replace a few lost lines
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34415 72102866-910b-0410-8b05-ffd578937521
2012-01-05 15:44:45 +00:00
Richard Frith-MacDonald
ded72b8e75 Fix NSXML ABI breakage
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34412 72102866-910b-0410-8b05-ffd578937521
2012-01-04 12:41:45 +00:00
Richard Frith-MacDonald
7b7faac752 Revert ABI breakage
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34410 72102866-910b-0410-8b05-ffd578937521
2012-01-04 09:20:32 +00:00
Gregory John Casamento
6cbe121535 * Headers/Foundation/NSXMLDocument.h
* Headers/Foundation/NSXMLElement.h
	* Headers/Foundation/NSXMLNode.h: Move declarations.
	* Source/NSXMLDocument.m: Correct parsing issues.
	* Source/NSXMLElement.m: Remove local declaration of _children
	* Source/NSXMLNode.m: Remove internal.  Move all declarations here
	directly.
	
2012-01-03 14:22-EST Gregory John Casamento <greg.casamento@gmail.com>



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34408 72102866-910b-0410-8b05-ffd578937521
2012-01-03 21:42:33 +00:00
Gregory John Casamento
aa8a33f26c * Source/NSXMLDocument.m: Implement XMLStringWithOptions:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34407 72102866-910b-0410-8b05-ffd578937521
2012-01-03 19:30:03 +00:00
Gregory John Casamento
7dc6ad72bd * Source/NSXMLDocument.m: Change stack implementation to
use lastObject/removeLastObject to implement the stack instead
	of inserting and deleting at index 0.
	* Source/NSXMLElement.m: Implemented XMLStringWithOptions:
	* Source/NSXMLNode.m: Implemented XMLStringWithOptions:,
	skeletal implementation of setStringValue:resolvingEntities:



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34403 72102866-910b-0410-8b05-ffd578937521
2012-01-03 17:15:29 +00:00
Richard Frith-MacDonald
f7b8b22bae trivial formating tweaks ... add missing white space
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34374 72102866-910b-0410-8b05-ffd578937521
2012-01-01 07:38:53 +00:00
Gregory John Casamento
7b7b2a6f9d First cut at NSXMLDocument changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34371 72102866-910b-0410-8b05-ffd578937521
2011-12-30 21:40:12 +00:00
Richard Frith-MacDonald
7cc69dfaae Simplify header inclusion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29669 72102866-910b-0410-8b05-ffd578937521
2010-02-19 08:12:46 +00:00
Richard Frith-MacDonald
c8a6832349 cosmetic tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29657 72102866-910b-0410-8b05-ffd578937521
2010-02-17 11:47:06 +00:00
Richard Frith-MacDonald
910deff1a6 Add skeletal NSXML work as requested.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27824 72102866-910b-0410-8b05-ffd578937521
2009-02-09 16:16:11 +00:00