Issue 56269 - IDL: com.sun.star.util.XStringEscape as specified not useful
Summary: IDL: com.sun.star.util.XStringEscape as specified not useful
Status: ACCEPTED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2005-10-19 14:11 UTC by Stephan Bergmann
Modified: 2017-05-20 11:27 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Stephan Bergmann 2005-10-19 14:11:44 UTC
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.
Comment 1 Stephan Bergmann 2005-10-19 14:31:55 UTC
.
Comment 2 christianjunker 2005-10-22 21:01:05 UTC
marking title with IDL: ...
adding myself to cc.
Comment 3 Marcus 2017-05-20 11:27:38 UTC
Reset assigne to the default "issues@openoffice.apache.org".