Re: [xml] Line number value limit
- From: Stefan Behnel <stefan_ml behnel de>
- To: Csaba Raduly <rcsaba gmail com>
- Cc: xml gnome org
- Subject: Re: [xml] Line number value limit
- Date: Thu, 12 Nov 2009 10:49:42 +0100
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]