Subject: Re: xslt phases for FAQ, was Reading the XML declaration using XSL 2
From: rolf@xxxxxxxxxxxx
Date: Thu, 20 Jan 2005 13:35:39 +0100 (CET)
|
On 20 Jan, Pawson, David wrote:
> Phase 0, XML parse of stylesheet and input document:
> [...]
> Validate (if using a validating parser with validation switched on)
> Populate defaulted values if using DTD/XML Schema.
> Identify any nodes with ID values.
In nit-picking mode one could argue, that your indentation suggests,
that the tree only gets populated with attribute default values out of
a DTD, if a validating parser is used. If the document has an internal
subset with attribute defaults, the tree got populated with defaulted
attribute values, even if a non-validating parser is used. It is even
possible, to use a non-validating parser, which read external entity
including an external DTD subset. It's a minor note, anyway.
rolf
|