Commit graph

48 commits

Author SHA1 Message Date
Jez Higgins
d28849dc48 Finally sorted out the attributes and their namespaces issues. hurrah 2010-10-03 16:08:54 +01:00
Jez Higgins
8f41a01b88 Fix for non-std::string classes 2010-08-20 21:32:22 +01:00
Jez Higgins
abaaaf4cc4 Generate a namespace prefix for unprefixed attributes in namespaces. It's a start, but needs to check for clashes. I also wonder if there are cases when I need to generate them for elements too. Hmmm 2010-07-14 22:36:05 +01:00
jez
7e8752fe30 Getting DOM operator<< to work with other strings 2010-07-14 09:08:46 +01:00
Jez Higgins
7f8d20b46f more warnings fixed 2010-01-10 18:47:09 +00:00
Jez Higgins
6c55f7f36c silenced unused param warnings 2010-01-09 22:34:13 +00:00
jez
5ec2316aa5 fixed segfault when created doctype before owner doc has been set 2010-01-06 21:52:49 +00:00
Jez Higgins
7e62969c6c Fixed double delete problem when removing and readding an attribute 2010-01-01 23:03:01 +00:00
Jez Higgins
9eeb67aa3e convert node type from enum to int to silence gcc warning about exceeding the maximum value of the enum 2009-12-14 22:39:15 +00:00
jez
80da48a661 Ash Berlin's patch for Element.setAttributeNodeNS 2009-12-06 21:39:46 +00:00
jez
719829f10a Ash Berlin's patch to get Text.splitText working properly 2009-12-06 21:34:46 +00:00
Ash Berlin
31c13685d1 Remove warnings:
* Unused variable
  * Unsigned value always >= 0
  * Parameter initialization order
  * Virtual destructors for virtual classes
2009-11-28 01:12:28 +00:00
jez
283c48de75 fix to bug identified by Ash Berlin in set/get/removeNamedItemNS 2009-11-25 10:23:27 +00:00
jez
2cb2cc8bbe NamedNodeMap tests and bugfix 2009-11-23 22:36:15 +00:00
jez
7e3caeb2d0 converted AxisEnumerator to uses Node_impl* internally 2009-05-19 09:24:19 +01:00
jez
25dc9795ab slipped TextCoalescer filter into the DOM builder, so that consecutive bits of text get applied to a single Text or CDATA node, rather than as a series of nodes. (A series of nodes is perfectly legal, it's just slightly unexpected. Even to me, and I work with DOMs a lot :) 2008-09-03 00:44:50 +01:00
jez
d173537cde sync with home 2008-09-03 00:39:39 +01:00
jez
84d7d9390a spelled underlying_impl wrong all these years and never realised, start work on sorting namespace nodes ahead of attribute nodes 2008-04-23 14:41:00 +00:00
jez
9ea360f3ef collapsed tagsoup-port into mainline 2008-04-07 15:37:47 +00:00
jez
69a322f7f2 Alex Ott's patch to kill an initialisation order warning 2007-11-22 16:50:33 +00:00
jez
e2713a0fbc DOM stream now outputs <elem/> for empty elements 2007-11-22 16:49:25 +00:00
jez
8f6b783dc7 don't actually need to worry about refcounting here - in fact even though I was keeping count, I wasn't actually doing anything with it :) 2007-11-12 09:06:25 +00:00
jez
67ad360326 tightened constness on DOMImplementation 2007-11-12 09:04:54 +00:00
jez
7912efaa62 Stream Document fragment nodes properly 2007-11-10 22:22:26 +00:00
jez
6d76412103 fixed namespaces declaration 2007-09-25 19:17:58 +00:00
jez
f213c402cd moved DOM streaming from Utils/ to io/ 2007-09-13 21:21:55 +00:00
jez
c3bffa005a renamed include/Utils to include/Arabica 2007-09-10 17:52:04 +00:00
jez
17248585af more namespace and file moving shenanigans 2007-09-10 17:24:17 +00:00
jez
cc3ffc1a79 added extra template parameters 2007-09-10 08:19:44 +00:00
jez
63ed794d58 finished adding string adaptor param to DOM. everything builds and runs now 2007-09-08 22:31:24 +00:00
jez
7b43037a37 Added string_adaptor parameter to DOM classes. DOM and XPath tests compile and run, but still need to add defaults so more "normal" bits of code will go. 2007-09-07 23:52:30 +00:00
jez
90685582ea working on DOM template params - build is currently broken 2007-09-07 22:03:27 +00:00
jez
bbcf3e1001 all SAX classes now take both string_type and string_adaptor. everything builds through. tests pass 2007-09-06 18:54:02 +00:00
jez
a76b137b60 removed basic_ prefixes from SAX classes, removed typedefs 2007-09-05 12:57:07 +00:00
jez
7d46f6f4e2 Moved DOM:: into Arabica::DOM:: 2007-09-05 11:47:13 +00:00
jez
a6c116acd6 moved SAX:: into Arabica::SAX:: 2007-09-05 09:49:18 +00:00
jez
7cf3897061 renamed all .h to .hpp 2007-09-04 22:55:47 +00:00
jez
9cd4752c00 Prevent hierarchy exception if the parser reports the DTD as a skipped entity 2007-08-26 23:12:49 +00:00
jez
9606354b41 merged with mangle-dev branch 2007-07-19 17:01:19 +00:00
jez
968127deb0 garden fixes 2007-06-18 12:01:47 +00:00
jez
7a88d7d60a use DefaultHandler instead of DefaultHandler2 2007-01-19 15:54:18 +00:00
jez
3a18023963 TreeWalker: C++ compliance fixes 2007-01-12 14:52:14 +00:00
jez
ed46fc0f01 TreeWalker patches from craigp. 2007-01-02 11:32:48 +00:00
jez
d1ca51079f add more TreeWalker tests, including one with a NodeFilter 2006-12-14 19:34:48 +00:00
jez
664f6fd116 added TreeWalker implementation, dondated by craigp 2006-12-14 15:06:36 +00:00
jez
78c783b7c1 bug fix to Attr::setValue 2006-12-14 11:51:23 +00:00
jez
ecf4f74304 sept 2006 release 2006-09-12 21:21:48 +00:00
jez
543f7357df started moving headers out into an include directory 2006-08-07 21:08:11 +00:00