mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323628 c90b9560-bf6c-de11-be94-00142212c4b1
440 lines
12 KiB
XML
440 lines
12 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<chapter xml:id="dom.constants" xmlns="http://docbook.org/ns/docbook">
|
|
&reftitle.constants;
|
|
&extension.constants;
|
|
<table>
|
|
<title>XML constants</title>
|
|
<tgroup cols="3">
|
|
<thead>
|
|
<row>
|
|
<entry>Constant</entry>
|
|
<entry>Value</entry>
|
|
<entry>Description</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row xml:id="constant.xml-element-node">
|
|
<entry>
|
|
<constant>XML_ELEMENT_NODE</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>1</entry>
|
|
<entry>Node is a <classname>DOMElement</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-attribute-node">
|
|
<entry>
|
|
<constant>XML_ATTRIBUTE_NODE</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>2</entry>
|
|
<entry>Node is a <classname>DOMAttr</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-text-node">
|
|
<entry>
|
|
<constant>XML_TEXT_NODE</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>3</entry>
|
|
<entry>Node is a <classname>DOMText</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-cdata-section-node">
|
|
<entry>
|
|
<constant>XML_CDATA_SECTION_NODE</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>4</entry>
|
|
<entry>Node is a <classname>DOMCharacterData</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-entity-ref-node">
|
|
<entry>
|
|
<constant>XML_ENTITY_REF_NODE</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>5</entry>
|
|
<entry>Node is a <classname>DOMEntityReference</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-entity-node">
|
|
<entry>
|
|
<constant>XML_ENTITY_NODE</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>6</entry>
|
|
<entry>Node is a <classname>DOMEntity</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-pi-node">
|
|
<entry>
|
|
<constant>XML_PI_NODE</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>7</entry>
|
|
<entry>Node is a <classname>DOMProcessingInstruction</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-comment-node">
|
|
<entry>
|
|
<constant>XML_COMMENT_NODE</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>8</entry>
|
|
<entry>Node is a <classname>DOMComment</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-document-node">
|
|
<entry>
|
|
<constant>XML_DOCUMENT_NODE</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>9</entry>
|
|
<entry>Node is a <classname>DOMDocument</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-document-type-node">
|
|
<entry>
|
|
<constant>XML_DOCUMENT_TYPE_NODE</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>10</entry>
|
|
<entry>Node is a <classname>DOMDocumentType</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-document-frag-node">
|
|
<entry>
|
|
<constant>XML_DOCUMENT_FRAG_NODE</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>11</entry>
|
|
<entry>Node is a <classname>DOMDocumentFragment</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-notation-node">
|
|
<entry>
|
|
<constant>XML_NOTATION_NODE</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>12</entry>
|
|
<entry>Node is a <classname>DOMNotation</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-html-document-node">
|
|
<entry>
|
|
<constant>XML_HTML_DOCUMENT_NODE</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>13</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-dtd-node">
|
|
<entry>
|
|
<constant>XML_DTD_NODE</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>14</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-element-decl-node">
|
|
<entry>
|
|
<constant>XML_ELEMENT_DECL_NODE</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>15</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-attribute-decl-node">
|
|
<entry>
|
|
<constant>XML_ATTRIBUTE_DECL_NODE</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>16</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-entity-decl-node">
|
|
<entry>
|
|
<constant>XML_ENTITY_DECL_NODE</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>17</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-namespace-decl-node">
|
|
<entry>
|
|
<constant>XML_NAMESPACE_DECL_NODE</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>18</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-attribute-cdata">
|
|
<entry>
|
|
<constant>XML_ATTRIBUTE_CDATA</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>1</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-attribute-id">
|
|
<entry>
|
|
<constant>XML_ATTRIBUTE_ID</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>2</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-attribute-idref">
|
|
<entry>
|
|
<constant>XML_ATTRIBUTE_IDREF</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>3</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-attribute-idrefs">
|
|
<entry>
|
|
<constant>XML_ATTRIBUTE_IDREFS</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>4</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-attribute-entity">
|
|
<entry>
|
|
<constant>XML_ATTRIBUTE_ENTITY</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>5</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-attribute-nmtoken">
|
|
<entry>
|
|
<constant>XML_ATTRIBUTE_NMTOKEN</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>7</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-attribute-nmtokens">
|
|
<entry>
|
|
<constant>XML_ATTRIBUTE_NMTOKENS</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>8</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-attribute-enumeration">
|
|
<entry>
|
|
<constant>XML_ATTRIBUTE_ENUMERATION</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>9</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-attribute-notation">
|
|
<entry>
|
|
<constant>XML_ATTRIBUTE_NOTATION</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>10</entry>
|
|
<entry></entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
<table>
|
|
<title>DOMException constants</title>
|
|
<tgroup cols="3">
|
|
<thead>
|
|
<row>
|
|
<entry>Constant</entry>
|
|
<entry>Value</entry>
|
|
<entry>Description</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row xml:id="constant.dom-php-err">
|
|
<entry>
|
|
<constant>DOM_PHP_ERR</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>0</entry>
|
|
<entry>
|
|
Error code not part of the DOM specification. Meant for PHP errors.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-index-size-err">
|
|
<entry>
|
|
<constant>DOM_INDEX_SIZE_ERR</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>1</entry>
|
|
<entry>
|
|
If index or size is negative, or greater than the allowed value.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.domstring-size-err">
|
|
<entry>
|
|
<constant>DOMSTRING_SIZE_ERR</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>2</entry>
|
|
<entry>
|
|
If the specified range of text does not fit into a
|
|
<classname>DOMString</classname>.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-hierarchy-request-err">
|
|
<entry>
|
|
<constant>DOM_HIERARCHY_REQUEST_ERR</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>3</entry>
|
|
<entry>If any node is inserted somewhere it doesn't belong</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-wrong-document-err">
|
|
<entry>
|
|
<constant>DOM_WRONG_DOCUMENT_ERR</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>4</entry>
|
|
<entry>
|
|
If a node is used in a different document than the one that created it.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-invalid-character-err">
|
|
<entry>
|
|
<constant>DOM_INVALID_CHARACTER_ERR</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>5</entry>
|
|
<entry>
|
|
If an invalid or illegal character is specified, such as in a name.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-no-data-allowed-err">
|
|
<entry>
|
|
<constant>DOM_NO_DATA_ALLOWED_ERR</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>6</entry>
|
|
<entry>
|
|
If data is specified for a node which does not support data.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-no-modification-allowed-err">
|
|
<entry>
|
|
<constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>7</entry>
|
|
<entry>
|
|
If an attempt is made to modify an object where modifications are not allowed.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-not-found-err">
|
|
<entry>
|
|
<constant>DOM_NOT_FOUND_ERR</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>8</entry>
|
|
<entry>
|
|
If an attempt is made to reference a node in a context where it does not exist.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-not-supported-err">
|
|
<entry>
|
|
<constant>DOM_NOT_SUPPORTED_ERR</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>9</entry>
|
|
<entry>
|
|
If the implementation does not support the requested type of object or operation.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-inuse-attribute-err">
|
|
<entry>
|
|
<constant>DOM_INUSE_ATTRIBUTE_ERR</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>10</entry>
|
|
<entry>
|
|
If an attempt is made to add an attribute that is already in use elsewhere.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-invalid-state-err">
|
|
<entry>
|
|
<constant>DOM_INVALID_STATE_ERR</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>11</entry>
|
|
<entry>
|
|
If an attempt is made to use an object that is not, or is no longer, usable.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-syntax-err">
|
|
<entry>
|
|
<constant>DOM_SYNTAX_ERR</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>12</entry>
|
|
<entry>If an invalid or illegal string is specified.</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-invalid-modification-err">
|
|
<entry>
|
|
<constant>DOM_INVALID_MODIFICATION_ERR</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>13</entry>
|
|
<entry>If an attempt is made to modify the type of the underlying object.</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-namespace-err">
|
|
<entry>
|
|
<constant>DOM_NAMESPACE_ERR</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>14</entry>
|
|
<entry>
|
|
If an attempt is made to create or change an object in a way which is
|
|
incorrect with regard to namespaces.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-invalid-access-err">
|
|
<entry>
|
|
<constant>DOM_INVALID_ACCESS_ERR</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>15</entry>
|
|
<entry>
|
|
If a parameter or an operation is not supported by the underlying object.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-validation-err">
|
|
<entry>
|
|
<constant>DOM_VALIDATION_ERR</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>16</entry>
|
|
<entry>
|
|
If a call to a method such as insertBefore or removeChild would make the Node
|
|
invalid with respect to "partial validity", this exception would be raised and
|
|
the operation would not be done.
|
|
</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</chapter>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|
|
|