diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-11-02 19:11:31 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-11-02 19:11:31 +0000 |
commit | fac9d4bb53e983632143cba8da1844e03392946d (patch) | |
tree | 05d761d4c4498cc976a8473fd383b317cc38b8ac /bindings | |
parent | b0085a1fbfc41d0f0403227588ad68466b17c8fa (diff) | |
download | libdom-fac9d4bb53e983632143cba8da1844e03392946d.tar.gz libdom-fac9d4bb53e983632143cba8da1844e03392946d.tar.bz2 |
Move generation of id_name into document by default. Since 'id' is the most common name of the 'id' attribute
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/xml/libxml_xmlparser.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/bindings/xml/libxml_xmlparser.c b/bindings/xml/libxml_xmlparser.c index 1c2442a..4729058 100644 --- a/bindings/xml/libxml_xmlparser.c +++ b/bindings/xml/libxml_xmlparser.c @@ -282,16 +282,6 @@ dom_xml_error dom_xml_parser_completed(dom_xml_parser *parser) parser->complete = true; - /* TODO: In future, this string "id" should be extracted from the - * document schema file instead of just setting it as "id". - */ - derr = dom_string_create((const uint8_t *) "id", SLEN("id"), &name); - if (derr != DOM_NO_ERR) - return derr; - - _dom_document_set_id_name(parser->doc, name); - dom_string_unref(name); - return DOM_XML_OK; } |