Opening the functions.xml file in a debug build causes an assert/crash when processing the test case for xsl:value-of select="translate(....
Okay, The problem is in String::charAt() in the mozillaString wrapper. The TxString version returns -1 if index is out of bounds. The mozillaString version does not. Hence under debug, the assert occurs and bizarra characters get added.
Summary: Assert/Crash in Translate StringFunctionCall::Evaluate → Assert in Translate StringFunctionCall::Evaluate
This should be assigned to Peter since this is part of the wrapper classes. Bugzilla tells me I am not allowed to do that. So I've added him to the CC list.
Taking bug. Thanks for the patch Jus. Keith: ask Axel to change your Bugzilla permissions.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Hmm. Really taking over.
Assignee: kvisco → peter.vanderbeken
Status: ASSIGNED → NEW
Fix checked in.
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED
We haven't been verifying bugs for quite a while :-(
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.