[XML-SIG] xsl:decimal-format ?

Alexandre Fayolle Alexandre.Fayolle@logilab.fr
Thu, 15 Nov 2001 17:07:10 +0100 (CET)


On Thu, 15 Nov 2001, Nicolas Chauvat wrote:

> $ 4xslt journal.xml xsl/journal2html.xsl
> Illegal Element "decimal-format" in XSLT Namespace (see XSLT Spec: 2.1).
> $

This is a bug in StylesheetReader.py.

Here's a quick patch against 0.11 :
--- StylesheetReader.py.orig    Thu Nov 15 17:00:11 2001
+++ StylesheetReader.py Thu Nov 15 17:01:23 2001
@@ -73,6 +73,7 @@
     , 'copy': CopyElement
     , 'copy-of': CopyOfElement
     , 'comment': CommentElement
+    , 'decimal-format': DecimalFormatElement
     , 'element': ElementElement
     , 'for-each': ForEachElement
     , 'if': IfElement


Alexandre Fayolle
-- 
LOGILAB, Paris (France).
http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org
Narval, the first software agent available as free software (GPL).