mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-30 22:43:14 +03:00
@ -1,3 +1,7 @@
|
|||||||
|
Wed May 9 12:50:15 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
|
||||||
|
|
||||||
|
* tree.c: zb@bisp.com reported an error in xmlNodeGetLang()
|
||||||
|
|
||||||
Tue May 8 12:31:40 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
|
Tue May 8 12:31:40 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
|
||||||
|
|
||||||
* parser.c: added xmlParseExternalEntityPrivate() to allow
|
* parser.c: added xmlParseExternalEntityPrivate() to allow
|
||||||
|
2
tree.c
2
tree.c
@ -3025,7 +3025,7 @@ xmlNodeGetLang(xmlNodePtr cur) {
|
|||||||
xmlChar *lang;
|
xmlChar *lang;
|
||||||
|
|
||||||
while (cur != NULL) {
|
while (cur != NULL) {
|
||||||
lang = xmlGetProp(cur, BAD_CAST "xml:lang");
|
lang = xmlGetNsProp(cur, BAD_CAST "lang", XML_XML_NAMESPACE);
|
||||||
if (lang != NULL)
|
if (lang != NULL)
|
||||||
return(lang);
|
return(lang);
|
||||||
cur = cur->parent;
|
cur = cur->parent;
|
||||||
|
Reference in New Issue
Block a user