Lists Home |
Date Index |
- From: David Megginson <firstname.lastname@example.org>
- To: Peter Murray-Rust <email@example.com>
- Date: Sat, 13 Dec 1997 10:44:13 -0500
Peter Murray-Rust writes:
> - some people think processor and parser are synonyms.
> - some people think that a processor is a unit which contains
> a parser but has additional integrated facilities.
The problem is a misalignment in terminology. In SGML, an "SGML
application" is a DTD together with other support information (such as
documentation, conventions, etc.). And although the terms are not
formally defined, SGML people often use 'parser' to describe the
logical component that translates the external representation of a
document into some sort of abstract internal format, and 'processor'
(or 'processing software', or 'formatter', in some cases), to describe
the logical component that acts on the information delivered by the
In XML, the spec confusingly defines 'processor' to fill the same
logical role as 'parser' in normal SGML usage, and 'application' to
fill the same logical role as 'processor' or 'processing software' in
normal SGML usage. Of course, this confusion will exist only for
people who are already used to SGML.
I prefer 'parser', because it is at least unambiguous for both sides,
even if slightly unfamiliar for XML-only people; if I use 'processor',
I risk causing confusion for the sake of being strictly XML
All the best,
David Megginson firstname.lastname@example.org
Microstar Software Ltd. email@example.com
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)