https://bz.apache.org/bugzilla/show_bug.cgi?id=64788

--- Comment #4 from [email protected] 
<[email protected]> ---
So for org.apache.poi.xssf.usermodel.XSSFDataValidation that might be more like
:

if(text != null && text.length() > MAX_TEXT_LENGTH) {
                        throw new IllegalStateException("Error-text cannot be
longer than 255 characters, but had: " + text);
}

===>

if(text != null && text.replace("_x000a_","_").replace("_x000d_","_").length()
> MAX_TEXT_LENGTH) {
                        throw new IllegalStateException("Error-text cannot be
longer than 255 characters, but had: " + text);
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to