[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#3505) Handling apos in DSMLWriter considered buggy
Full_Name: Martin Schulte
Version: 2.2.20
OS: Debian Linux sarge
URL:
Submission from: (NULL) (213.196.250.222)
While working with ldap.jar we encountered problems when the output includes the
apostrophe sign.
A view into DSMLWriter.java shows easily that a semicolon is missing:
xmlvalue = xmlvalue.replaceAll("&", "&");
xmlvalue = xmlvalue.replaceAll("<", "<");
xmlvalue = xmlvalue.replaceAll(">", ">");
// No semicolon in the line below
xmlvalue = xmlvalue.replaceAll("'", "&apos");
xmlvalue = xmlvalue.replaceAll("\"", """);
Greetings,
Martin