path: root/src/utils/namespace.c
Commit message (Collapse)AuthorAgeFilesLines
* fix resource leak in error path (coverity 1127082)Vincent Sanders2013-11-081-0/+2
* fix resource leak of lname in _dom_namespace_validate_qname() (coverity 1127083)Vincent Sanders2013-11-081-2/+4
* Merge branches/jmb/dom-alloc-purge back to trunkJohn Mark Bell2011-12-211-28/+48
| | | | svn path=/trunk/libdom/; revision=13316
* s/struct dom_string/dom_string/gJohn Mark Bell2011-04-071-9/+9
| | | | svn path=/trunk/libdom/; revision=12172
* Make the failed 5 testcases passed in DOMTS Core level2. Bo Yang2009-08-121-0/+7
| | | | svn path=/trunk/dom/; revision=9211
* Merge the branches/struggleyb/libdom-remain back to trunk.Bo Yang2009-08-111-8/+63
| | | | svn path=/trunk/dom/; revision=9191
* Make hubbub parser binding build trees correctly (credit: Bo Yang)John Mark Bell2009-03-051-32/+59
| | | | svn path=/trunk/dom/; revision=6711
* Rationalise dom_string (some consideration is required as to what happens ↵John Mark Bell2009-03-031-8/+5
| | | | | | | | | wrt interning -- lwc_strings should probably be used) Purge charset handling -- a) documents are always converted to utf-8 b) use parserutils for utf-8 handling Fix Hubbub binding to compile. svn path=/trunk/dom/; revision=6682
* Make the dom string class more useful.John Mark Bell2007-10-031-70/+68
| | | | | | | | Purge all trace of dom_string_get_data() from outside the dom string implementation. Port affected code to new, more useful, APIs. This also fixes the interned node name strings mentioned in the previous commit. svn path=/trunk/dom/; revision=3621
* DOM Strings are now capable of containing either UTF-8 or UTF-16 encoded data.John Mark Bell2007-09-301-0/+2
| | | | | | | | | | | | | | | | | | The charset used for strings within a document is specified at document creation time. Whilst it is possible to mix charsets within a document, it's not recommended. Things that need fixing: + dom_string_get_data() doesn't return the charset. Better would be to permit the client to request a charset for the data to be returned in. + Interned node name strings will break if the document is UTF-16 (dom_document_create()). In fact, these could quite happily be globals, rather than allocating a set for each document. + Other usage of dom string constructors need checking for sanity + DOM Strings need to gain more utility APIs (such as getting the character length of a string, string concatenation etc). svn path=/trunk/dom/; revision=3614
* Introduce global initialistaion/finalisation for DOM library. This should be ↵John Mark Bell2007-09-291-0/+218
used to initialise any parts of the library before they are used. Mostly, this will comprise of static initialisers. Finalisation cleans up afterwards. This API is only exposed to language-specific binding libraries -- they should expose their own global initialisation/finalisation routines which call the core libdom ones. Introduce new utility code for namespace and qname processing. Port dom_document_create_element_ns() and dom_document_create_attribute_ns() to this new code. Make libdom-libxml's initialiser initialise libdom itself first of all. svn path=/trunk/dom/; revision=3604