path: root/bindings
diff options
authorJohn Mark Bell <>2007-07-28 14:34:59 +0000
committerJohn Mark Bell <>2007-07-28 14:34:59 +0000
commit7cbcc882de7d5747e2342f0829bbcc9f2bcca60f (patch)
treed3fe522992dec910758c2b86d0d02ec9c2d005a9 /bindings
parent6d0ecccfcf47341393d66e2379ce82cb8350a20f (diff)
Sort out somewhat messy object construction.
We now have explicit types for all classes (rather than using the parent class for those which inherit but add no extra data content). svn path=/trunk/dom/; revision=3465
Diffstat (limited to 'bindings')
1 files changed, 3 insertions, 3 deletions
diff --git a/bindings/xml/xmlparser.c b/bindings/xml/xmlparser.c
index 9e907d6..e140399 100644
--- a/bindings/xml/xmlparser.c
+++ b/bindings/xml/xmlparser.c
@@ -873,7 +873,7 @@ void xml_parser_add_text_node(xml_parser *parser, struct dom_node *parent,
void xml_parser_add_cdata_section(xml_parser *parser,
struct dom_node *parent, xmlNodePtr child)
- struct dom_text *cdata, *ins_cdata;
+ struct dom_cdata_section *cdata, *ins_cdata;
struct dom_string *data;
dom_exception err;
@@ -927,7 +927,7 @@ void xml_parser_add_cdata_section(xml_parser *parser,
void xml_parser_add_entity_reference(xml_parser *parser,
struct dom_node *parent, xmlNodePtr child)
- struct dom_node *entity, *ins_entity;
+ struct dom_entity_reference *entity, *ins_entity;
struct dom_string *name;
xmlNodePtr c;
dom_exception err;
@@ -988,7 +988,7 @@ void xml_parser_add_entity_reference(xml_parser *parser,
void xml_parser_add_comment(xml_parser *parser, struct dom_node *parent,
xmlNodePtr child)
- struct dom_characterdata *comment, *ins_comment;
+ struct dom_comment *comment, *ins_comment;
struct dom_string *data;
dom_exception err;