Subject: RE: Saxon fails to exclude result prefixes?
From: "Lars Huttar" <lars_huttar@xxxxxxx>
Date: Tue, 28 Oct 2003 13:28:45 -0600
|
> Basically, what happens when you have two namespace
> declarations for the
> same namespace URI is (a) your request to exclude a result prefix is
> actually a request to exclude all namespace nodes for that namespace
> URI; (b) the serializer (according to the XSLT 1.0 spec) is allowed to
> add extra namespace nodes, and is required to add them where the
> namespace URI is actually used. One would like the serializer
> to add the
> minimum set of necessary namespace nodes at this stage, but Saxon is
> using the rule that if the namespace URI is used in the
> result, then it
> adds back all the namespace nodes for that URI, regardless of prefix.
> This is inelegant, but not non-conformant. The serializer is actually
> allowed to output any namespace declarations it chooses.
>
> Michael Kay
Thanks.
Lars
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|