[ http://issues.apache.org/jira/browse/XALANC-564?page=comments#action_12330870 ]
Henri-Bastien Lamontagne commented on XALANC-564: ------------------------------------------------- Well, although the main title doesn't mention it the issue is fixed in this bug report. http://issues.apache.org/jira/browse/XALANC-522 > wrong assertion check in XalanEXSLTFunctionDecodeURI::execute > (XalanEXSLTString.cpp) > ------------------------------------------------------------------------------------ > > Key: XALANC-564 > URL: http://issues.apache.org/jira/browse/XALANC-564 > Project: XalanC > Type: Bug > Components: XalanC > Versions: 1.8, 1.9 > Environment: ALL > Reporter: Henri-Bastien Lamontagne > Priority: Minor > > There is a wrong assertion check in the function > XalanEXSLTFunctionDecodeURI::execute in the file XalanEXSLTString.cpp. > the current assertion is: > assert(args[0].null() == false && > (theSize == 2 || args[1].null() == false)); > The resulting behevior is that with only one argument the assertion should > always fail because (theSize ==2 will be false and args[1].null() == false > should be false too. > The solution is to replace it with this: > assert(args[0].null() == false && > (theSize == 1 || args[1].null() == false)); > There is a simple workaround for though will its being fixed though. If you > supply 2 arguments and specify UTF-8 as the second argument you will get the > exact same behavior without assertion failure. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
