Guenter,
I can't help it, this seems to work in all cases I've tried. Send the
test data please.
As for the line number: you can't get it, because this is sort of
internal error, not a processing error like, say, a misspelled name. So
the only information one gets is where inside Sablotron the error
occured.
Tom Kaiser
Guenter Radestock wrote:
>
> Hello,
>
> I am trying to use the function normalize-space on a string and
> allways get an error message:
>
> ...
> <xsl:variable name='s'>
> <xsl:value-of select='normalize-space(string($datestring))'/>
> </xsl:variable>
> ...
>
> gives the message:
>
> sabcmd: datastr.cpp:290: void Str::nset(const char *, int): Assertion
> `chars' failed.
> Abort
>
> leaving out the normalize-space call makes the stylesheet work. In the
> specification (XPath of November 16, 1999) it says "Function: string
> normalize-space(string?)", so this should work.
>
> Also - is it possible to get the line number of the style sheet where
> this error occured? I haven't looked at the code too see if the
> internal representation has enough info for this but I believe this
> would be very nice.
>
> I am using version 0.43: sabcmd -v says
>
> sabcmd 0.43 (August 21, 2000)
> copyright (C) 2000 Ginger Alliance (www.gingerall.com)
>
> --
> Guenter Radestock, Universitaetsbibliothek Karlsruhe
> [EMAIL PROTECTED]
> http://www.ubka.uni-karlsruhe.de/~guenter