<p>The <code><aclass="el"href="classxercesc_1_1DOMCharacterData.html"title="The DOMCharacterData interface extends DOMNode with a set of attributes and methods for accessing cha...">DOMCharacterData</a></code> interface extends <aclass="el"href="classxercesc_1_1DOMNode.html"title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a> with a set of attributes and methods for accessing character data in the DOM.
<areashape="rect"id="node3"href="classxercesc_1_1DOMComment.html"title="This interface inherits from CharacterData and represents the content of a comment, i.e., all the characters between the starting ' <!–' and ending '–>'. "alt=""coords="5,155,168,181"/><areashape="rect"id="node4"href="classxercesc_1_1DOMText.html"title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara..."alt=""coords="193,155,327,181"/><areashape="rect"id="node2"href="classxercesc_1_1DOMNode.html"title="The DOMNode interface is the primary datatype for the entire Document Object Model. "alt=""coords="104,5,243,32"/><areashape="rect"id="node5"href="classxercesc_1_1DOMCDATASection.html"title="CDATA sections are used to escape blocks of text containing characters that would otherwise be regard..."alt=""coords="161,229,359,256"/></map>
<trclass="memdesc:a4d97c4cf5608442f28cfcb1a8883d1d8"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the character data of the node that implements this interface. <ahref="#a4d97c4cf5608442f28cfcb1a8883d1d8">More...</a><br/></td></tr>
<trclass="memdesc:a6ae60264096dfdad32a99362b140b1b6"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the number of characters that are available through <code>data</code> and the <code>substringData</code> method below. <ahref="#a6ae60264096dfdad32a99362b140b1b6">More...</a><br/></td></tr>
<trclass="memdesc:ae7a0f241e3e126f08efbc76e48a4dc7e"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Extracts a range of data from the node. <ahref="#ae7a0f241e3e126f08efbc76e48a4dc7e">More...</a><br/></td></tr>
<trclass="memdesc:ab6f104b28b34c5aea4f7f3a095a55034"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Append the string to the end of the character data of the node. <ahref="#ab6f104b28b34c5aea4f7f3a095a55034">More...</a><br/></td></tr>
<trclass="memdesc:aae6f592e7aa9655ad29f6671fd2ab2f6"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Insert a string at the specified character offset. <ahref="#aae6f592e7aa9655ad29f6671fd2ab2f6">More...</a><br/></td></tr>
<trclass="memdesc:a8548264c0e7dc51a4120af074ff630bc"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Remove a range of characters from the node. <ahref="#a8548264c0e7dc51a4120af074ff630bc">More...</a><br/></td></tr>
<trclass="memdesc:a6d618a102fe3245bc89494fe34f1189c"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Replace the characters starting at the specified character offset with the specified string. <ahref="#a6d618a102fe3245bc89494fe34f1189c">More...</a><br/></td></tr>
<trclass="memdesc:ac97dd1ac52e8618d29fde8fa9b7e294c"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sets the character data of the node that implements this interface. <ahref="#ac97dd1ac52e8618d29fde8fa9b7e294c">More...</a><br/></td></tr>
<trclass="inherit_header pub_methods_classxercesc_1_1DOMNode"><tdcolspan="2"onclick="javascript:toggleInherit('pub_methods_classxercesc_1_1DOMNode')"><imgsrc="closed.png"alt="-"/> Public Member Functions inherited from <aclass="el"href="classxercesc_1_1DOMNode.html">xercesc::DOMNode</a></td></tr>
<trclass="memdesc:a7b32344fcf1bc6750237d0d136e669c5 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The name of this node, depending on its type; see the table above. <ahref="#a7b32344fcf1bc6750237d0d136e669c5">More...</a><br/></td></tr>
<trclass="memdesc:a91c52c0624325ac9c9e176e944c2e179 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Gets the value of this node, depending on its type. <ahref="#a91c52c0624325ac9c9e176e944c2e179">More...</a><br/></td></tr>
<trclass="memdesc:a2efeafaf11c2e91d4e2334f4a5837812 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">An enum value representing the type of the underlying object. <ahref="#a2efeafaf11c2e91d4e2334f4a5837812">More...</a><br/></td></tr>
<trclass="memdesc:a75d88c459e52996255af85d0c2bb6c28 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Gets the parent of this node. <ahref="#a75d88c459e52996255af85d0c2bb6c28">More...</a><br/></td></tr>
<trclass="memdesc:a5606d1504a6e5e34b8323c9c03bf0871 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Gets a <code><aclass="el"href="classxercesc_1_1DOMNodeList.html"title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes. ">DOMNodeList</a></code> that contains all children of this node. <ahref="#a5606d1504a6e5e34b8323c9c03bf0871">More...</a><br/></td></tr>
<trclass="memdesc:a2332c89f39231890e5124b45b7576fea inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Gets the first child of this node. <ahref="#a2332c89f39231890e5124b45b7576fea">More...</a><br/></td></tr>
<trclass="memdesc:a5105b148ca44c2e0560559410bde6f28 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Gets the last child of this node. <ahref="#a5105b148ca44c2e0560559410bde6f28">More...</a><br/></td></tr>
<trclass="memdesc:a9b331b808c3bca80b262a2a4b5ae3039 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Gets the node immediately preceding this node. <ahref="#a9b331b808c3bca80b262a2a4b5ae3039">More...</a><br/></td></tr>
<trclass="memdesc:a15122c1270fbb4e49e3278600fc3e92f inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Gets the node immediately following this node. <ahref="#a15122c1270fbb4e49e3278600fc3e92f">More...</a><br/></td></tr>
<trclass="memdesc:a94cba44e801d6ef597d6158d08a8db4b inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Gets a <code><aclass="el"href="classxercesc_1_1DOMNamedNodeMap.html"title="DOMNamedNodeMaps are used to represent collections of nodes that can be accessed by name...">DOMNamedNodeMap</a></code> containing the attributes of this node (if it is an <code><aclass="el"href="classxercesc_1_1DOMElement.html"title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...">DOMElement</a></code>) or <code>null</code> otherwise. <ahref="#a94cba44e801d6ef597d6158d08a8db4b">More...</a><br/></td></tr>
<trclass="memdesc:a678751c64acb0ba5ffdd80695b1bc357 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Gets the <code><aclass="el"href="classxercesc_1_1DOMDocument.html"title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a></code> object associated with this node. <ahref="#a678751c64acb0ba5ffdd80695b1bc357">More...</a><br/></td></tr>
<trclass="memdesc:acbd55c7876782a2147b092416609055d inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a duplicate of this node. <ahref="#acbd55c7876782a2147b092416609055d">More...</a><br/></td></tr>
<trclass="memdesc:ab53ebbb7276d3d20d24cb486f948717c inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Inserts the node <code>newChild</code> before the existing child node <code>refChild</code>. <ahref="#ab53ebbb7276d3d20d24cb486f948717c">More...</a><br/></td></tr>
<trclass="memdesc:a94ce2693cd6634ac744ef6c3ed0609c0 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Replaces the child node <code>oldChild</code> with <code>newChild</code> in the list of children, and returns the <code>oldChild</code> node. <ahref="#a94ce2693cd6634ac744ef6c3ed0609c0">More...</a><br/></td></tr>
<trclass="memdesc:a6d55c029576075e0cfd8fc26f48c8b84 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Removes the child node indicated by <code>oldChild</code> from the list of children, and returns it. <ahref="#a6d55c029576075e0cfd8fc26f48c8b84">More...</a><br/></td></tr>
<trclass="memdesc:ade4f6d57748def70f0444b004df96a94 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Adds the node <code>newChild</code> to the end of the list of children of this node. <ahref="#ade4f6d57748def70f0444b004df96a94">More...</a><br/></td></tr>
<trclass="memdesc:a2bc565b40dd4bb5aba845d9dd2c7583a inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">This is a convenience method to allow easy determination of whether a node has any children. <ahref="#a2bc565b40dd4bb5aba845d9dd2c7583a">More...</a><br/></td></tr>
<trclass="memdesc:a4994a1cde1e661348fc7814dc794cedf inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sets the value of the node. <ahref="#a4994a1cde1e661348fc7814dc794cedf">More...</a><br/></td></tr>
<trclass="memdesc:a98d4e1ca99342ae7fa64ffcb1731b1e9 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Puts all <code><aclass="el"href="classxercesc_1_1DOMText.html"title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> nodes in the full depth of the sub-tree underneath this <code><aclass="el"href="classxercesc_1_1DOMNode.html"title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a></code>, including attribute nodes, into a "normal" form where only markup (e.g., tags, comments, processing instructions, CDATA sections, and entity references) separates <code><aclass="el"href="classxercesc_1_1DOMText.html"title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> nodes, i.e., there are neither adjacent <code><aclass="el"href="classxercesc_1_1DOMText.html"title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> nodes nor empty <code><aclass="el"href="classxercesc_1_1DOMText.html"title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> nodes. <ahref="#a98d4e1ca99342ae7fa64ffcb1731b1e9">More...</a><br/></td></tr>
<trclass="memdesc:a1c65320f33cec3065797a0e9b3cdcacd inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Tests whether the DOM implementation implements a specific feature and that feature is supported by this node. <ahref="#a1c65320f33cec3065797a0e9b3cdcacd">More...</a><br/></td></tr>
<trclass="memdesc:af35cfa2da40fa282118ec1aca93fc306 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Get the <em>namespace URI</em> of this node, or <code>null</code> if it is unspecified. <ahref="#af35cfa2da40fa282118ec1aca93fc306">More...</a><br/></td></tr>
<trclass="memdesc:ad1f609ef0a7ebd5d4467e83940f9d085 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Get the <em>namespace prefix</em> of this node, or <code>null</code> if it is unspecified. <ahref="#ad1f609ef0a7ebd5d4467e83940f9d085">More...</a><br/></td></tr>
<trclass="memdesc:a5d459b8e9f1fe8cc82f3690d71d9d98e inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the local part of the <em>qualified name</em> of this node. <ahref="#a5d459b8e9f1fe8cc82f3690d71d9d98e">More...</a><br/></td></tr>
<trclass="memdesc:aded63bdb02c190b1a6136c8a7deafcd8 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Set the <em>namespace prefix</em> of this node. <ahref="#aded63bdb02c190b1a6136c8a7deafcd8">More...</a><br/></td></tr>
<trclass="memdesc:a9857bb0538097f155821e5831fe6326b inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns whether this node (if it is an element) has any attributes. <ahref="#a9857bb0538097f155821e5831fe6326b">More...</a><br/></td></tr>
<trclass="memdesc:a439002778f99343aba9298d7b0f712c4 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns whether this node is the same node as the given one. <ahref="#a439002778f99343aba9298d7b0f712c4">More...</a><br/></td></tr>
<trclass="memdesc:ae7e8ea1540b43fc6f73a2595dc45cfce inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Tests whether two nodes are equal. <ahref="#ae7e8ea1540b43fc6f73a2595dc45cfce">More...</a><br/></td></tr>
<trclass="memdesc:af1b188358a3cbb7b44a24fc71425bf42 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Associate an object to a key on this node. <ahref="#af1b188358a3cbb7b44a24fc71425bf42">More...</a><br/></td></tr>
<trclass="memdesc:af9d881c5e6a25c61732060dc6c6955ea inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Retrieves the object associated to a key on a this node. <ahref="#af9d881c5e6a25c61732060dc6c6955ea">More...</a><br/></td></tr>
<trclass="memdesc:af775e8a5faa128e2b7d301b29d285192 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The absolute base URI of this node or <code>null</code> if undefined. <ahref="#af775e8a5faa128e2b7d301b29d285192">More...</a><br/></td></tr>
<trclass="memdesc:ac905b4d9386c40069c0aae057a514bcc inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Compares the reference node, i.e. <ahref="#ac905b4d9386c40069c0aae057a514bcc">More...</a><br/></td></tr>
<trclass="memdesc:afbc6510ae34920edb171bc1b7499e2fd inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">This attribute returns the text content of this node and its descendants. <ahref="#afbc6510ae34920edb171bc1b7499e2fd">More...</a><br/></td></tr>
<trclass="memdesc:a5b9b83d624c3d85e7ad8d4f30e9a8bb4 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">This attribute removes any possible children this node may have and, if the new string is not empty or null, replaced by a single <code><aclass="el"href="classxercesc_1_1DOMText.html"title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> node containing the string this attribute is set to. <ahref="#a5b9b83d624c3d85e7ad8d4f30e9a8bb4">More...</a><br/></td></tr>
<trclass="memdesc:a55b9c445bcec20de933bd33fa38ef2a3 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Look up the prefix associated to the given namespace URI, starting from this node. <ahref="#a55b9c445bcec20de933bd33fa38ef2a3">More...</a><br/></td></tr>
<trclass="memdesc:a97bd8a011432b6bb97152cfed2984d9e inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">This method checks if the specified <code>namespaceURI</code> is the default namespace or not. <ahref="#a97bd8a011432b6bb97152cfed2984d9e">More...</a><br/></td></tr>
<trclass="memdesc:aff70b3729ab0030f559b1c0bf9d5196e inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Look up the namespace URI associated to the given prefix, starting from this node. <ahref="#aff70b3729ab0030f559b1c0bf9d5196e">More...</a><br/></td></tr>
<trclass="memdesc:ab448bae0f53b1d355cb448186ce5d47e inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">This method makes available a <code><aclass="el"href="classxercesc_1_1DOMNode.html"title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a></code>'s specialized interface. <ahref="#ab448bae0f53b1d355cb448186ce5d47e">More...</a><br/></td></tr>
<trclass="memdesc:a0618f7ce0796d8c35ede74882a93dae1 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Called to indicate that this Node (and its associated children) is no longer in use and that the implementation may relinquish any resources associated with it and its associated children. <ahref="#a0618f7ce0796d8c35ede74882a93dae1">More...</a><br/></td></tr>
<trclass="inherit_header pro_methods_classxercesc_1_1DOMNode"><tdcolspan="2"onclick="javascript:toggleInherit('pro_methods_classxercesc_1_1DOMNode')"><imgsrc="closed.png"alt="-"/> Protected Member Functions inherited from <aclass="el"href="classxercesc_1_1DOMNode.html">xercesc::DOMNode</a></td></tr>
<divclass="textblock"><p>The <code><aclass="el"href="classxercesc_1_1DOMCharacterData.html"title="The DOMCharacterData interface extends DOMNode with a set of attributes and methods for accessing cha...">DOMCharacterData</a></code> interface extends <aclass="el"href="classxercesc_1_1DOMNode.html"title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a> with a set of attributes and methods for accessing character data in the DOM. </p>
<p>For clarity this set is defined here rather than on each object that uses these attributes and methods. No DOM objects correspond directly to <code><aclass="el"href="classxercesc_1_1DOMCharacterData.html"title="The DOMCharacterData interface extends DOMNode with a set of attributes and methods for accessing cha...">DOMCharacterData</a></code>, though <code><aclass="el"href="classxercesc_1_1DOMText.html"title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> and others do inherit the interface from it. All <code>offsets</code> in this interface start from <code>0</code>. </p>
<p>As explained in the DOM spec, text strings in the DOM are represented in UTF-16, i.e. as a sequence of 16-bit units. In the following, the term 16-bit units is used whenever necessary to indicate that indexing on <aclass="el"href="classxercesc_1_1DOMCharacterData.html"title="The DOMCharacterData interface extends DOMNode with a set of attributes and methods for accessing cha...">DOMCharacterData</a> is done in 16-bit units. </p>
<tr><tdclass="paramname"><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></td><td>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. </td></tr>
<tr><tdclass="paramname">offset</td><td>The offset from which to remove characters. </td></tr>
<tr><tdclass="paramname">count</td><td>The number of characters to delete. If the sum of <code>offset</code> and <code>count</code> exceeds <code>length</code> then all characters from <code>offset</code> to the end of the data are deleted. </td></tr>
<tr><tdclass="paramname"><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INDEX_SIZE_ERR: Raised if the specified offset is negative or greater than the number of characters in <code>data</code>, or if the specified <code>count</code> is negative. <br/>
<p>The DOM implementation may not put arbitrary limits on the amount of data that may be stored in a <code><aclass="el"href="classxercesc_1_1DOMCharacterData.html"title="The DOMCharacterData interface extends DOMNode with a set of attributes and methods for accessing cha...">DOMCharacterData</a></code> node. However, implementation limits may mean that the entirety of a node's data may not fit into a single <code>XMLCh* String</code>. In such cases, the user may call <code>substringData</code> to retrieve the data in appropriately sized pieces. </p>
<dlclass="exception"><dt>Exceptions</dt><dd>
<tableclass="exception">
<tr><tdclass="paramname"><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></td><td>NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly. </td></tr>
<tr><tdclass="paramname"><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INDEX_SIZE_ERR: Raised if the specified offset is negative or greater than the number of characters in <code>data</code>. <br/>
<tr><tdclass="paramname">offset</td><td>The offset from which to start replacing. </td></tr>
<tr><tdclass="paramname">count</td><td>The number of characters to replace. If the sum of <code>offset</code> and <code>count</code> exceeds <code>length</code> , then all characters to the end of the data are replaced (i.e., the effect is the same as a <code>remove</code> method call with the same range, followed by an <code>append</code> method invocation). </td></tr>
<tr><tdclass="paramname">arg</td><td>The <code>XMLCh* String</code> with which the range must be replaced. </td></tr>
<tr><tdclass="paramname"><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INDEX_SIZE_ERR: Raised if the specified offset is negative or greater than the number of characters in <code>data</code>, or if the specified <code>count</code> is negative. <br/>
<dlclass="section return"><dt>Returns</dt><dd>The specified substring. If the sum of <code>offset</code> and <code>count</code> exceeds the <code>length</code>, then all characters to the end of the data are returned. </dd></dl>
<dlclass="exception"><dt>Exceptions</dt><dd>
<tableclass="exception">
<tr><tdclass="paramname"><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INDEX_SIZE_ERR: Raised if the specified offset is negative or greater than the number of characters in <code>data</code>, or if the specified <code>count</code> is negative. </td></tr>