[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: layers of options in XML processing
- From: ht@cogsci.ed.ac.uk (Henry S. Thompson)
- To: "Simon St.Laurent" <simonstl@simonstl.com>
- Date: Fri, 05 Jan 2001 13:47:56 +0000
"Simon St.Laurent" <simonstl@simonstl.com> writes:
> This is just a loose exploration of the different factors which can
> currently affect the information presented by a conformant 'XML' parser to
> an application. These different kinds of processing which appear to be
> legal according to various W3C specs, not all of which are complete. I'm
> hoping to express this somewhat more formally in the new year, but thought
> I'd throw it into the world and see what people think of the stack now.
>
> I. XML 1.0
>
> 1) Validating parser - will retrieve external DTD, default attributes
> (including xmlns), resolve entities
>
> 2) Non-validating parser - may or may not retrieve external DTD, default
> attributes, resolve entities
You've left out whitespace normalization (some happens in both cases,
some only when attribute types are known) and establishing attribute
types (ID/IDREF being the most important, but not the only, cases).
Similarly for XML Schema, where the PSVI (post schema-validation
infoset) has a rich set of additional information, including type
information and validation assessment outcomes.
ht
--
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
W3C Fellow 1999--2001, part-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/