OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Non-validating Saxon

On Fri, Sep 21 2007 18:02:44 +0100, bobs@sagehill.net 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.


Tony Graham.
Tony.Graham@MenteithConsulting.com   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

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]