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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: CDATA by any other name... (was The raw and the cooked)

[ Lists Home | Date Index | Thread Index ]
  • From: <david@megginson.com>
  • To: "XML Developers' List" <xml-dev@ic.ac.uk>
  • Date: Fri, 30 Oct 1998 11:44:58 -0500 (EST)

Richard Tobin writes:

 > Note that the XML 1.0 recommendation requires that character and
 > internal entities be expanded before passing the data to the
 > application.

It doesn't forbid the parser from informing the application about what
has been expanded.  In an event-based API, for example, for

  text &foo; text  

the parser could deliver an event stream like

  characters("text ")
  characters("entity value")
  characters(" text")

For normal downstream processing, this level of reporting is simply a
waste of resources, but it could be essential for authoring tools.

All the best,


David Megginson                 david@megginson.com

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