mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 08:26:27 +00:00
Clarify documentation a little
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22636 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1cb2d54094
commit
638062ccd7
3 changed files with 22 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-03-11 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Headers/Additions/GNUstepBase/GSXML.h: clarify documentation of
|
||||
xml entity escaping methods.
|
||||
|
||||
2006-03-10 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSTimeZone.m:
|
||||
|
|
|
@ -56,13 +56,25 @@
|
|||
*/
|
||||
@interface NSString (GSXML)
|
||||
/**
|
||||
* Convert XML special characters in the receiver (like '&' and '"')
|
||||
* to their escaped equivalents, and return the escaped string.
|
||||
* Deals with standard XML internal entities.<br />
|
||||
* Converts the five XML special characters in the receiver ('>', '<',
|
||||
* '&', ''' and '"') to their escaped equivalents, and return
|
||||
* the escaped string.<br />
|
||||
* Also converts non-ascii characters to the corresponding numeric
|
||||
* entity escape sequences.<br />
|
||||
* You should perform any non-standard entity substitution you require
|
||||
* <em>after</em> you have called this method.
|
||||
*/
|
||||
- (NSString*) stringByEscapingXML;
|
||||
/**
|
||||
* Convert XML escape sequences (like '&'amp; and '&quot;')
|
||||
* to their unescaped equivalents, and return the unescaped string.
|
||||
* Deals with standard XML internal entities.<br />
|
||||
* Converts the five XML escape sequences ('&gt;', '&lt;', '&amp;',
|
||||
* '&apos;' and '&quot;') to the unicode characters they represent,
|
||||
* and returns the unescaped string.<br />
|
||||
* Also converts numeric entity escape sequences to the corresponding unicode
|
||||
* characters.<br />
|
||||
* You should perform any non-standard entity substitution you require
|
||||
* <em>before</em> you have called this method.
|
||||
*/
|
||||
- (NSString*) stringByUnescapingXML;
|
||||
@end
|
||||
|
|
|
@ -987,7 +987,7 @@ static NSMapTable *nodeNames = 0;
|
|||
|
||||
/**
|
||||
* This performs the same function as the -content method, but retains
|
||||
* escaped character information (like the standard five entities &lt;,
|
||||
* escaped character information (the standard five entities &lt;,
|
||||
* &gt;, &apos;, &quot;, and &amp;) which are normally
|
||||
* replaced with their standard equivalents
|
||||
* (<, >, ', ", and &).
|
||||
|
|
Loading…
Reference in a new issue