OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: ANNOUNCEMENT: Proposed SAX Revisions

[ Lists Home | Date Index | Thread Index ]
  • From: matthew@praxis.cz (Matthew - Praxis)
  • To: "xml-dev Mailing List" <xml-dev@ic.ac.uk>
  • Date: Mon, 23 Mar 1998 09:48:50 +0100

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@jclark.com>
To: xml-dev Mailing List <xml-dev@ic.ac.uk>
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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS