projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e11f5b3
)
(parse_header_xml): Skip comments.
author
handa
<handa>
Thu, 18 Mar 2010 05:52:08 +0000
(
05:52
+0000)
committer
handa
<handa>
Thu, 18 Mar 2010 05:52:08 +0000
(
05:52
+0000)
src/database.c
patch
|
blob
|
history
diff --git
a/src/database.c
b/src/database.c
index
e9928db
..
209940d
100644
(file)
--- a/
src/database.c
+++ b/
src/database.c
@@
-1023,7
+1023,9
@@
parse_header_xml (xmlTextReaderPtr reader, MSymbol tags[4],
</tags>
...
</TAG0> */
- xmlTextReaderRead (reader); /* <TAG0 ...> */
+ do {
+ xmlTextReaderRead (reader); /* <TAG0 ...> */
+ } while (xmlTextReaderNodeType (reader) == XML_READER_TYPE_COMMENT);
tags[0] = msymbol ((char *) xmlTextReaderConstLocalName (reader));
xmlTextReaderRead (reader); /* <tags> */
depth = xmlTextReaderDepth (reader);