xsl-list
[Top] [All Lists]

Re: [xsl] Re: Output validation with XSLT 2.0

2008-05-03 09:20:28
Hi Ken,
  Thanks for your reply and insightful thoughts.

On 5/3/08, G. Ken Holman <gkholman(_at_)cranesoftwrights(_dot_)com> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--