[XML-SIG] Re: [4suite] 4xslt: bug and patch: variable import order

Uche Ogbuji uche.ogbuji@fourthought.com
Sun, 01 Jul 2001 23:02:32 -0600


Dieter Maurer wrote:
> 
> The XSLT spec specifies that definitions and template rules
> in an importing stylesheet take precedence over those from
> an imported stylesheet. This is essential for easy customization
> of imported stylesheets.
> 
> "4xslt" implements this feature only partially:
> 
>    Top level variables in an importing stylesheet do not
>    take precedence over imported ones.
> 
> The attached patch hopefully fixes the problem.
> It ensures that variables in importing style sheets
> take precedence over those defined in imported style sheets
> and that all style sheets use the same top level variables.

Note: my fix was quite different.  I hadn't applied this patch because I
knew the problem was more fundamental.

Thanks, though.


-- 
Uche Ogbuji                               Principal Consultant
uche.ogbuji@fourthought.com               +1 303 583 9900 x 101
Fourthought, Inc.                         http://Fourthought.com 
4735 East Walnut St, Ste. C, Boulder, CO 80301-2537, USA
XML strategy, XML tools (http://4Suite.org), knowledge management