[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: Getting info of runtime failure in saxon envi
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:
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|