Here's a bug and possible fix, by the way, I'm very impressed with the last
few version of sablotron, and look forward to the xsl:sort implementation,
great work!

Description:
Passing an empty string to translate causes an assert if debug symbols are
included.  
In release execution continues, but the assert was probably put there for a
good reason:)

Example:
translate( '', 'x', 'y') will cause the assert() on line 290 in datastr.cpp.

Possible Fix:
It appears DStr is not being initialized in the default constructor, to fix
this
I added the lines below to the default constructor...

        returnMemory(text_);
        operator+=("");

-derek

Reply via email to