On Tue, 15 May 2001, you wrote:
> The following bit of XSLT gives me an error in Sablot 0.52, but not in 0.50:
> 
> <xsl:value-of select="resultswidth - 10"/>
> 
On other example of this error:

xml:
===
<?xml version="1.0"?>
<test a="5" b="10"/>

xsl:
====
<?xml version="1.0"?>
<xsl:stylesheet
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
<xsl:template match="/test">
 <xsl:value-of select="@a + @b"/>
</xsl:template>
</xsl:stylesheet> 

result:
=====


cbash-2.03# sabcmd test.xsl test.xml
sabcmd: expr.cpp:1435: const class Str & Expression::tostringRef() const: Assertion 
`(functor == EXF_ATOM) && (type == EX_STRING)' failed.
Aborted

Version:
========
bash-2.03# sabcmd -v
 
sabcmd 0.52 (March 29, 2001)
copyright (C) 2000 Ginger Alliance (www.gingerall.com)
 
The Sablotron XSLT Processor comes with NO WARRANTY.
It is subject to the Mozilla Public License Version 1.1.
Alternatively, you may use Sablotron under the GNU General Public License.
        

-----------------------------------------------------
Bernhard Zwischenbrugger       Datenk�che
Tel.: +43/1/944 57 64          Redaktionssystem
Mobil.: +43/699/1944 57 64     Web Content Management
-----------------------------------------------------
http://www.datenkueche.com


Reply via email to