Subject: Re: Re: Output validation with XSLT 2.0
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Sat, 3 May 2008 21:49:55 +0530
|
Hi Ken,
Thanks for your reply and insightful thoughts.
On 5/3/08, G. Ken Holman <gkholman@xxxxxxxxxxxxxxxxxxxx> wrote:
> Anyway, unused namespace declarations are innocuous in the result, so this
> is only an aesthetic issue.
I agree.
But the declaration, xmlns:xs="http://www.w3.org/2001/XMLSchema"
generated in the output XML is not being used anywhere (i.e., there is
no reference to the xs: prefix in the generated XML).
Shouldn't the processor be more intelligent to avoid generating any
namespace declarations which are used nowhere in the output?
Probably this could be a minor enhancement request for Saxon :)
--
Regards,
Mukul Gandhi
|