Return 1-based line numbers

This commit is contained in:
James Clark 1998-02-04 04:42:48 +00:00
parent 0316f56e51
commit 22099b7770

View File

@ -407,7 +407,7 @@ int XML_GetErrorCode(XML_Parser parser)
int XML_GetErrorLineNumber(XML_Parser parser)
{
return position.lineNumber;
return position.lineNumber + 1;
}
int XML_GetErrorColumnNumber(XML_Parser parser)