[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

Subject: Re: Re: Getting info of runtime failure in saxon environment
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Wed, 27 Feb 2013 10:41:41 +0000
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:

But still any additional replies to my previous questions would be of great help going forward.

Thanks.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.