Re: [xslt] xsltproc bug or feature?



On Wed, Oct 17, 2001 at 06:55:24PM +0200, Christian Bucher wrote:
> 
> Hi,
> 
> If I run the command
> 
> xsltproc expand.xsl input.xml
> 
> the following output is produced
> 
> <?xml version="1.0"?>
> <result>
>         <profile><lala xmlns:saxon="http://icl.com/saxon"/></profile>
> </result>
> 
> xsltproc is adding the namespaces used in the style sheet to the first node I define.
> Could somebody tell me if that is a bug in xsltproc.

  Feature. Since "saxon" is not defined as an extension namespace
it must be propagated to the result tree.
   Check around 7.1.1 in the spec from memory...

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]