xsl-list
[Top] [All Lists]

Re: xslt phases for FAQ, was Reading the XML declaration using XSL 2

2005-01-20 05:35:39

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



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--