[xml] xmlGetLineNo() always returns 0 for XML_TEXT_NODE
- From: Ralf Junker <ralfjunker gmx de>
- To: xml gnome org
- Subject: [xml] xmlGetLineNo() always returns 0 for XML_TEXT_NODE
- Date: Mon, 07 Jul 2008 12:23:34 +0200
Hello Daniel and others,
I observed that xmlGetLineNo() returns 0 only for XML_TEXT_NODE nodes.
Is this the correct / intentional behaviour or am I seeing wrong results?
Ralf
PS: I did call xmlLineNumbersDefault(1); before parsing and xmlGetLineNo works correctly for other node types.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]