Re: [xml] Line number value limit



Hi,

Csaba Raduly, 12.11.2009 10:29:
Why is the line number in xmlNode limited to an unsigned short ?

Because it's a trade-off between space and usefulness. Note that the parser
reports line numbers without that limitation. Only the xmlNode struct
restricts it.

This is a FAQ, BTW. You can look up the details in the mailing list archives.


Doesn't libxml2 handle XML files with more than 65535 lines?

The reported line number does in no way imply any limitations of the parser.

Stefan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]