Commit c76440fc authored by Daniel Veillard's avatar Daniel Veillard
Browse files

stefan on IRC pointed out that XML_GET_LINE is broken on 2.6.x Daniel

* include/libxml/tree.h: stefan on IRC pointed out that XML_GET_LINE
  is broken on 2.6.x
Daniel
parent d4532558
Wed Nov 26 21:33:14 CET 2003 Daniel Veillard <daniel@veillard.com>
* include/libxml/tree.h: stefan on IRC pointed out that XML_GET_LINE
is broken on 2.6.x
Tue Nov 25 18:39:44 CET 2003 Daniel Veillard <daniel@veillard.com>
 
* entities.c: fixed #127877, never output &quot; in element content
......
......@@ -477,11 +477,9 @@ struct _xmlNode {
* XML_GET_LINE:
*
* Macro to extract the line number of an element node.
* This will work only if line numbering is activated by
* calling xmlLineNumbersDefault(1) before parsing.
*/
#define XML_GET_LINE(n) \
((n)->type == XML_ELEMENT_NODE ? (int) (n)->content : 0)
(xmlGetLineNo(n))
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment