projects
/
SXSI
/
XMLTree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b67e58
)
Fixes bug where the tag ID used for the root is xml_tree::CLOSE_TAG.
author
Kim Nguyễn
<kn@lri.fr>
Sat, 6 Oct 2012 18:14:42 +0000
(20:14 +0200)
committer
Kim Nguyễn
<kn@lri.fr>
Sat, 6 Oct 2012 18:14:42 +0000
(20:14 +0200)
xml-tree-builder.cpp
patch
|
blob
|
history
diff --git
a/xml-tree-builder.cpp
b/xml-tree-builder.cpp
index
a55767c
..
f0c788f
100644
(file)
--- a/
xml-tree-builder.cpp
+++ b/
xml-tree-builder.cpp
@@
-81,6
+81,8
@@
xml_tree_builder::open_document(bool disable_text_index,
register_tag(xml_tree::ATTRIBUTE_DATA_OPEN_TAG,
xml_tree::ATTRIBUTE_DATA_OPEN_TAG_ID);
+ register_tag(xml_tree::CLOSE_TAG,
+ xml_tree::CLOSE_TAG_ID);
this->disable_text_index = disable_text_index;
if (!disable_text_index){