[xml] xmlGetLineNo() always returns 0 for XML_TEXT_NODE



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]