[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Saxon -dtd:off


Subject: Re: [xsl] Saxon -dtd:off
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Tue, 15 Feb 2011 13:31:25 +0000

Hi Vasu,

On 15 February 2011 13:28, Vasu Chakkera <vasucv@xxxxxxxxx> wrote:
> Hello All
> I am trying my best to not go along the catalog side and instead do
> the short cut of escaping the validation step... I do the following
>
> java -Xms100M -Xmx500M -jar C:\Temp\saxon9.jar -dtd:off
> C:/Temp/tmp/SampleXML.xml  work/identity.xsl
>
> where the SampleXML has a Doctype declaration..
>
> I expected that the above should work..
> The result still says that the DTD is not found.. Am I missing something ??

The sort answer is that the DTD still has to be fetched for entity
expansion and defaulted values, even if validation is turned off.
There is plenty in the archives about this.


--
Andrew Welch
http://andrewjwelch.com


Current Thread