summaryrefslogtreecommitdiff
path: root/entities.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2004-05-17 03:17:26 +0000
committerDaniel Veillard <veillard@src.gnome.org>2004-05-17 03:17:26 +0000
commit62040be3602d66ce983dcb22017af4ccc5d8276d (patch)
treeced47dffff815197904959bf5110782d0ec5afee /entities.c
parenta98357ad4a6afad3cfae8bda08e3cadaf5d05b15 (diff)
downloadlibxml2-62040be3602d66ce983dcb22017af4ccc5d8276d.tar.gz
avoid returning default namespace when searching from an attribute reverse
* tree.c: avoid returning default namespace when searching from an attribute * entities.c xmlwriter.c: reverse xmlEncodeSpecialChars() behaviour back to escaping " since the normal serialization routines do not use it anymore, should close bug #134477 . Tried to make the writer avoid it too but it didn't work. Daniel
Diffstat (limited to 'entities.c')
-rw-r--r--entities.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/entities.c b/entities.c
index db1c4c9c..5b6f931e 100644
--- a/entities.c
+++ b/entities.c
@@ -625,7 +625,6 @@ xmlEncodeSpecialChars(xmlDocPtr doc ATTRIBUTE_UNUSED, const xmlChar *input) {
*out++ = 'm';
*out++ = 'p';
*out++ = ';';
-#if 0
} else if (*cur == '"') {
*out++ = '&';
*out++ = 'q';
@@ -633,7 +632,6 @@ xmlEncodeSpecialChars(xmlDocPtr doc ATTRIBUTE_UNUSED, const xmlChar *input) {
*out++ = 'o';
*out++ = 't';
*out++ = ';';
-#endif
} else if (*cur == '\r') {
*out++ = '&';
*out++ = '#';