diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2004-05-17 03:17:26 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2004-05-17 03:17:26 +0000 |
commit | 62040be3602d66ce983dcb22017af4ccc5d8276d (patch) | |
tree | ced47dffff815197904959bf5110782d0ec5afee /entities.c | |
parent | a98357ad4a6afad3cfae8bda08e3cadaf5d05b15 (diff) | |
download | libxml2-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.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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++ = '#'; |