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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Rebelling parser writers (Was: ]]> within a CDATA marked section ?)

[ Lists Home | Date Index | Thread Index ]
  • From: Paul Prescod <papresco@technologist.com>
  • To: "'xml-dev@ic.ac.uk'" <xml-dev@ic.ac.uk>
  • Date: Fri, 28 Nov 1997 10:43:09 -0500

Jarle Stabell wrote:
> 
> [JS]  I'm actually surprised that I haven't heard much rebelling here. :-)
> I think there are lots of *non-trivial* things parser writers 
> must manage in XML, so I don't think they care much about trivial 
> things if they actually are useful to many users.

That's not the feedback we are getting from other implementors. They
have complained about things like allowing two kinds of quotes for
attribute values, having CDATA marked sections, having to check the well
formedness of element declarations and so forth.
 
> My current "favourite XML annoyance" is the rules for entity expansion, which makes writing the name AT&T in an entity rocket science for the average XML user, and probably gives some implementors gray hairs.

I'm not sure what you mean by that. Doesn't this work:

<!ENTITY AT-T "AT&amp;T">

Where's the rocket science?

> After attempting to process a document containing errors, I want to present to the user a list of error messages, and when the user clicks on one of these messages, I want to highlight the exact part of the document where the error occurs.

I would suggest you look at the implementation of SP which handles all
of these by keeping information about the storage position (filename,
line number, etc.) of each entity.

 Paul Prescod



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