Re: [xsl] Identity transformation for XSLT 2.0

Subject: Re: [xsl] Identity transformation for XSLT 2.0
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 17 Dec 2007 10:40:24 GMT
The code seems to remove the DOCTYPE declaratiom, as you say this will
do

> default attributes in the DTD are not copied to the output.

But it will normally make the input not well formed, as any entity
references will lose there definitions.

Also, as far as I can see you force an XML declaration that specifies an
a specific encoding but allow the XSLt system to output the result in
its default encoding, this is likely to make the result not well formed.



David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Current Thread