On Fri, Sep 21 2007 18:02:44 +0100, [EMAIL PROTECTED] wrote:
> While it may seem like Saxon is validating, it actually is not validating your
> elements against the DTD.  All XML parsers must *read* the DTD to find

Strictly speaking, an XML processor does not have to read an external
DTD (i.e., an 'external subset') when the XML document has an XML
declaration containing 'standalone="yes"' [1].

In practice, an XSLT processor will have a strong desire to read the
external subset for the sake of the id() function (and, in XSLT 2.0, the
idref() function).  So much so that I haven't found a way to make Saxon
not read the external subset even when I use 'standalone="yes"'.  I
would like to since I have a client who would like to use a DTD when
editing but doesn't want to have to configure catalogs for when doing a
transform on a different system.

Regards,


Tony Graham.
======================================================================
[EMAIL PROTECTED]   http://www.menteithconsulting.com

Menteith Consulting Ltd             Registered in Ireland - No. 428599
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
----------------------------------------------------------------------
Menteith Consulting -- Understanding how markup works
======================================================================

[1] http://www.w3.org/TR/xml/#sec-rmd

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to