Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ISAX2Locator::getLineNumber ( P6UINT32 pNumber)
pure virtual

Return the current line number, in the XML document being parsed, where the XML parser is currently pointing to.

The line count, starts at 1 and is incremented after each line feed (except linefeeds in attribute values are ignored for this purpose).

This information is especially useful when passed to an application in the p6ISAX2ErrorHandler. The combination of the line and column number offset will point to a parsing problem.

Parameters
pNumber[ out ] starts at 1, line offset in the XML document.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpObject is NULL.