To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=56269
                  Issue #:|56269
                  Summary:|com.sun.star.util.XStringEscape as specified not
                          |useful
                Component:|api
                  Version:|680m133
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|sb
              Reported by:|sb





------- Additional comments from [EMAIL PROTECTED] Wed Oct 19 06:11:44 -0700 
2005 -------
offapi/com/sun/star/util/XStringEscape.idl 1.8: "Strings that already conform to
the naming conventions should be left unchanged or minimally modified."

This documentation is confusing at best, and leads to broken functionality in
the worst case.  Assume that some escaping scheme is to escape "/" as "//" and
leave all other characters unchanged.  If, under that scheme, the documentation
is interpreted in a way that escapeString("//")="//" instead of
escapeString("//")="////", then escapeString cannot be used in general, as it
would map the different inputs "/" and "//" to the same output ("//").

When fixing the documentation, also check whether there are any implementations
of XStringEscape in the OOo code base that are broken.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to