On Thu, Nov 12, 2009 at 10:49 AM, Stefan Behnel <stefan...@behnel.de> wrote: > 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.
That turns out not to be the case, at least when calling xmlGetLastError. Line numbers never go above 65535 in xmlLastError (at least when using SAX2), even though the member in xmlError is int. -- Life is complex, with real and imaginary parts _______________________________________________ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml