Note that the reason some parsers fail to provide location information
for an encoding error is that in a properly layered architecture you
need to do decoding before you start recognizing line endings, which
means that the information about line numbers is typically not available
at the point where the decoding error is detected. The layer that does
know about line endings can intercept the error and add line number
information, but the decoding layer may well be "reading ahead" by
several thousand characters, making the location information unreliable.
So Firefox is either smart, or lucky. Or wrong.
Michael Kay
Saxonica
On 27/02/2013 09:36, Karlmarx R wrote:
Further, while so far IE browser was used, just now I tried with firefox, and
surprisingly, that seesm to give line num, column details! which I think should
meet their requirement.
eg:
XML Parsing Error: not well-formed
Location: file:///C:/IT.....abc.xml
Line Number 130, Column 1:
But still any additional replies to my previous questions would be of great
help going forward.
Thanks.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--