[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: ANNOUNCEMENT: Proposed SAX Revisions

  • From: matthew@p... (Matthew - Praxis)
  • To: "xml-dev Mailing List" <xml-dev@i...>
  • Date: Mon, 23 Mar 1998 09:48:50 +0100

Re: ANNOUNCEMENT: Proposed SAX Revisions
How about defining a standard UnknownLocation class derived from Location
(and using is as the default value in the interface)?

-----Original Message-----
From: James Clark <jjc@j...>
To: xml-dev Mailing List <xml-dev@i...>
Date: Sunday, March 22, 1998 3:46 AM
Subject: Re: ANNOUNCEMENT: Proposed SAX Revisions


>David Megginson wrote:
>
>> 2) there is no way to obtain contextual information (system id, line
>>    number, etc.) for reporting application errors;
>
>I have mixed feelings about this.  I think this is useful information
>for some applications.  On other hand, I don't think XML parsers are
>under any obligation to provide this information; it has a cost in terms
>of performance and complexity and parser writers may decide that, for
>their target market, it's not worth this cost.  I don't think SAX should
>be impossible to implement on top of such parsers.  Also SAX is supposed
>to be simple.  Adding a Location argument to every single callback is a
>very significant increase in complexity.  Moreover it complicates the
>use of SAX for all applications, even those (I guess the majority) that
>are aren't interested in this location information. Unless a better way
>can be found to do this, I don't think this functionality should be
>added.
>
>James



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.