mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +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
32bd52f23c
commit
25ca8fc86b
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>
|
2006-03-10 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/NSTimeZone.m:
|
* Source/NSTimeZone.m:
|
||||||
|
|
|
@ -56,13 +56,25 @@
|
||||||
*/
|
*/
|
||||||
@interface NSString (GSXML)
|
@interface NSString (GSXML)
|
||||||
/**
|
/**
|
||||||
* Convert XML special characters in the receiver (like '&' and '"')
|
* Deals with standard XML internal entities.<br />
|
||||||
* to their escaped equivalents, and return the escaped string.
|
* 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;
|
- (NSString*) stringByEscapingXML;
|
||||||
/**
|
/**
|
||||||
* Convert XML escape sequences (like '&'amp; and '&quot;')
|
* Deals with standard XML internal entities.<br />
|
||||||
* to their unescaped equivalents, and return the unescaped string.
|
* 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;
|
- (NSString*) stringByUnescapingXML;
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -987,7 +987,7 @@ static NSMapTable *nodeNames = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This performs the same function as the -content method, but retains
|
* 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
|
* &gt;, &apos;, &quot;, and &amp;) which are normally
|
||||||
* replaced with their standard equivalents
|
* replaced with their standard equivalents
|
||||||
* (<, >, ', ", and &).
|
* (<, >, ', ", and &).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue