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
commitf690243cd9e852396aecc2c4d054e1e2478aff09 (patch)
treed3fe522992dec910758c2b86d0d02ec9c2d005a9 /bindings
parent5b61881600d30941e4a4b53160416f80b11bf7b3 (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;