If anyone needs to fix the comment problem described by Guenter, here's
the patch. <xsl:comment>---</xsl:comment> now outputs
<!--- - - -->
which seems to be OK by 7.4 of the XSLT spec.

Tom

Index: output.cpp
===================================================================
RCS file: d:/cvs-master/ga/src/Sablot/engine/output.cpp,v
retrieving revision 1.13
diff -a -u -r1.13 output.cpp
--- output.cpp  2000/09/13 12:04:40     1.13
+++ output.cpp  2000/12/10 18:55:54
@@ -408,8 +440,8 @@
         E( sendOutUntil(p, len - (p - p_was), ESCAPING_NONE, "--") );
         if (*p)
         {
-            sendLit("- -");
-            p += 2;
+            sendLit("- ");
+            p++;
         }
     };
     if (trailingHyphen)

-----------------------------patch ends

Guenter Radestock wrote:
> 
> Hello,
> 
> I just used part of this rainy sunday afternoon to read in the Sablotron
> source code and foud a little logical bug:
> 
> <xsl:comment>---</xsl:comment> will output <!--- -- -->; the code
> trying to prevent more than one consecutive "-" fails here...but easy to
> fix.
> 
> BTW: When will the next version be out?  Will there be new interfaces?
> Will the old interfaces change?
> --
> Guenter Radestock, Universitaetsbibliothek Karlsruhe
> [EMAIL PROTECTED]
> http://www.ubka.uni-karlsruhe.de/~guenter

Reply via email to