mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 22:21:09 +03:00
[Trivial] Fix documentation typos
This commit is contained in:
parent
9e2c3f1f05
commit
a81f6200cf
16 changed files with 74 additions and 74 deletions
14
std/xml.d
14
std/xml.d
|
@ -883,7 +883,7 @@ class Element : Item
|
|||
/**
|
||||
* Returns the decoded interior of an element.
|
||||
*
|
||||
* The element is assumed to containt text <i>only</i>. So, for
|
||||
* The element is assumed to contain text <i>only</i>. So, for
|
||||
* example, given XML such as "<title>Good &amp;
|
||||
* Bad</title>", will return "Good & Bad".
|
||||
*
|
||||
|
@ -1289,7 +1289,7 @@ class CData : Item
|
|||
private string content;
|
||||
|
||||
/**
|
||||
* Construct a chraracter data section
|
||||
* Construct a character data section
|
||||
*
|
||||
* Params:
|
||||
* content = the body of the character data segment
|
||||
|
@ -1831,7 +1831,7 @@ class ElementParser
|
|||
/**
|
||||
* Register an alternative handler which will be called whenever text
|
||||
* is encountered. This differs from onText in that onText will decode
|
||||
* the text, wheras onTextRaw will not. This allows you to make design
|
||||
* the text, whereas onTextRaw will not. This allows you to make design
|
||||
* choices, since onText will be more accurate, but slower, while
|
||||
* onTextRaw will be faster, but less accurate. Of course, you can
|
||||
* still call decode() within your handler, if you want, but you'd
|
||||
|
@ -1856,7 +1856,7 @@ class ElementParser
|
|||
|
||||
/**
|
||||
* Register a handler which will be called whenever a character data
|
||||
* segement is encountered.
|
||||
* segment is encountered.
|
||||
*
|
||||
* Examples:
|
||||
* --------------
|
||||
|
@ -1924,7 +1924,7 @@ class ElementParser
|
|||
* Examples:
|
||||
* --------------
|
||||
* // Call this function whenever an XML instruction is encountered
|
||||
* // (Note: XML instructions may only occur preceeding the root tag of a
|
||||
* // (Note: XML instructions may only occur preceding the root tag of a
|
||||
* // document).
|
||||
* onPI = (string s)
|
||||
* {
|
||||
|
@ -2624,7 +2624,7 @@ private
|
|||
*
|
||||
* Throws: CheckException if the document is not well formed
|
||||
*
|
||||
* CheckException's toString() method will yield the complete heirarchy of
|
||||
* CheckException's toString() method will yield the complete hierarchy of
|
||||
* parse failure (the XML equivalent of a stack trace), giving the line and
|
||||
* column number of every failure at every level.
|
||||
*/
|
||||
|
@ -2781,7 +2781,7 @@ class TagException : XMLException
|
|||
*/
|
||||
class CheckException : XMLException
|
||||
{
|
||||
CheckException err; /// Parent in heirarchy
|
||||
CheckException err; /// Parent in hierarchy
|
||||
private string tail;
|
||||
/**
|
||||
* Name of production rule which failed to parse,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue