[Date Prev][Date Next] [Chronological] [Thread] [Top]

XML escape character for apostrophe character missing ; in class DSMLWriter (ITS#3202)



Full_Name: Kristof Lievens
Version: June 2004
OS: Windows XP
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (148.177.129.212)


In the class DSMLWriter of the jldap source code, the following line (linenumber
1287):

xmlvalue = xmlvalue.replaceAll("'", "&apos");

should be changed into

xmlvalue = xmlvalue.replaceAll("'", "'");

This is a bug causing the XML generated by the DSMLWriter to be invalid!