[
Lists Home |
Date Index |
Thread Index
]
- From: David Megginson <ak117@freenet.carleton.ca>
- To: Peter Murray-Rust <peter@ursus.demon.co.uk>
- 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
parser.
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
conformant.
All the best,
David
--
David Megginson ak117@freenet.carleton.ca
Microstar Software Ltd. dmeggins@microstar.com
http://home.sprynet.com/sprynet/dmeggins/
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)
|