mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-03-25 17:32:07 +01:00
446 lines
13 KiB
XML
446 lines
13 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: yannick Status: ready -->
|
|
<!-- Reviewed: yes -->
|
|
|
|
<chapter xml:id="dom.constants" xmlns="http://docbook.org/ns/docbook">
|
|
&reftitle.constants;
|
|
&extension.constants;
|
|
<table>
|
|
<title>Constantes XML</title>
|
|
<tgroup cols="3">
|
|
<thead>
|
|
<row>
|
|
<entry>Constante</entry>
|
|
<entry>Valeur</entry>
|
|
<entry>Description</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row xml:id="constant.xml-element-node">
|
|
<entry>
|
|
<constant>XML_ELEMENT_NODE</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>1</entry>
|
|
<entry>Le nœud est un <classname>DOMElement</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-attribute-node">
|
|
<entry>
|
|
<constant>XML_ATTRIBUTE_NODE</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>2</entry>
|
|
<entry>Le nœud est un <classname>DOMAttr</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-text-node">
|
|
<entry>
|
|
<constant>XML_TEXT_NODE</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>3</entry>
|
|
<entry>Le nœud est un <classname>DOMText</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-cdata-section-node">
|
|
<entry>
|
|
<constant>XML_CDATA_SECTION_NODE</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>4</entry>
|
|
<entry>Le nœud est un <classname>DOMCharacterData</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-entity-ref-node">
|
|
<entry>
|
|
<constant>XML_ENTITY_REF_NODE</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>5</entry>
|
|
<entry>Le nœud est un <classname>DOMEntityReference</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-entity-node">
|
|
<entry>
|
|
<constant>XML_ENTITY_NODE</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>6</entry>
|
|
<entry>Le nœud est un <classname>DOMEntity</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-pi-node">
|
|
<entry>
|
|
<constant>XML_PI_NODE</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>7</entry>
|
|
<entry>Le nœud est un <classname>DOMProcessingInstruction</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-comment-node">
|
|
<entry>
|
|
<constant>XML_COMMENT_NODE</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>8</entry>
|
|
<entry>Le nœud est un <classname>DOMComment</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-document-node">
|
|
<entry>
|
|
<constant>XML_DOCUMENT_NODE</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>9</entry>
|
|
<entry>Le nœud est un <classname>DOMDocument</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-document-type-node">
|
|
<entry>
|
|
<constant>XML_DOCUMENT_TYPE_NODE</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>10</entry>
|
|
<entry>Le nœud est un <classname>DOMDocumentType</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-document-frag-node">
|
|
<entry>
|
|
<constant>XML_DOCUMENT_FRAG_NODE</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>11</entry>
|
|
<entry>Le nœud est un <classname>DOMDocumentFragment</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-notation-node">
|
|
<entry>
|
|
<constant>XML_NOTATION_NODE</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>12</entry>
|
|
<entry>Le nœud est un <classname>DOMNotation</classname></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-html-document-node">
|
|
<entry>
|
|
<constant>XML_HTML_DOCUMENT_NODE</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>13</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-dtd-node">
|
|
<entry>
|
|
<constant>XML_DTD_NODE</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>14</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-element-decl-node">
|
|
<entry>
|
|
<constant>XML_ELEMENT_DECL_NODE</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>15</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-attribute-decl-node">
|
|
<entry>
|
|
<constant>XML_ATTRIBUTE_DECL_NODE</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>16</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-entity-decl-node">
|
|
<entry>
|
|
<constant>XML_ENTITY_DECL_NODE</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>17</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-namespace-decl-node">
|
|
<entry>
|
|
<constant>XML_NAMESPACE_DECL_NODE</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>18</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-attribute-cdata">
|
|
<entry>
|
|
<constant>XML_ATTRIBUTE_CDATA</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>1</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-attribute-id">
|
|
<entry>
|
|
<constant>XML_ATTRIBUTE_ID</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>2</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-attribute-idref">
|
|
<entry>
|
|
<constant>XML_ATTRIBUTE_IDREF</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>3</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-attribute-idrefs">
|
|
<entry>
|
|
<constant>XML_ATTRIBUTE_IDREFS</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>4</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-attribute-entity">
|
|
<entry>
|
|
<constant>XML_ATTRIBUTE_ENTITY</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>5</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-attribute-nmtoken">
|
|
<entry>
|
|
<constant>XML_ATTRIBUTE_NMTOKEN</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>7</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-attribute-nmtokens">
|
|
<entry>
|
|
<constant>XML_ATTRIBUTE_NMTOKENS</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>8</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-attribute-enumeration">
|
|
<entry>
|
|
<constant>XML_ATTRIBUTE_ENUMERATION</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>9</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.xml-attribute-notation">
|
|
<entry>
|
|
<constant>XML_ATTRIBUTE_NOTATION</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>10</entry>
|
|
<entry></entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
<table>
|
|
<title>Constantes DOMException</title>
|
|
<tgroup cols="3">
|
|
<thead>
|
|
<row>
|
|
<entry>Constante</entry>
|
|
<entry>Valeur</entry>
|
|
<entry>Description</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row xml:id="constant.dom-php-err">
|
|
<entry>
|
|
<constant>DOM_PHP_ERR</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>0</entry>
|
|
<entry>
|
|
Code erreur ne faisant pas parti de la spécification DOM. Utile pour les erreurs PHP.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-index-size-err">
|
|
<entry>
|
|
<constant>DOM_INDEX_SIZE_ERR</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>1</entry>
|
|
<entry>
|
|
Si l'index ou la taille sont négatifs ou plus grands que la valeur autorisée.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.domstring-size-err">
|
|
<entry>
|
|
<constant>DOMSTRING_SIZE_ERR</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>2</entry>
|
|
<entry>
|
|
Si la rangée spécifiée de texte ne tient pas dans le
|
|
<classname>DOMString</classname>.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-hierarchy-request-err">
|
|
<entry>
|
|
<constant>DOM_HIERARCHY_REQUEST_ERR</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>3</entry>
|
|
<entry>Si un nœud est inséré à un endroit non autorisé</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-wrong-document-err">
|
|
<entry>
|
|
<constant>DOM_WRONG_DOCUMENT_ERR</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>4</entry>
|
|
<entry>Si un nœud est utilisé dans un document autre que celui qui l'a créé.</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-invalid-character-err">
|
|
<entry>
|
|
<constant>DOM_INVALID_CHARACTER_ERR</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>5</entry>
|
|
<entry>
|
|
Si un caractère invalide ou non autorisé est spécifié, par exemple, dans un nom.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-no-data-allowed-err">
|
|
<entry>
|
|
<constant>DOM_NO_DATA_ALLOWED_ERR</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>6</entry>
|
|
<entry>
|
|
Si des données sont spécifiées dans un nœud qui ne supporte pas les données.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-no-modification-allowed-err">
|
|
<entry>
|
|
<constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>7</entry>
|
|
<entry>
|
|
Si une tentative est faite de modifier un objet où les modifications ne sont pas
|
|
autorisées.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-not-found-err">
|
|
<entry>
|
|
<constant>DOM_NOT_FOUND_ERR</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>8</entry>
|
|
<entry>
|
|
Si une tentative est faite de référencer un nœud dans un contexte où il n'existe pas.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-not-supported-err">
|
|
<entry>
|
|
<constant>DOM_NOT_SUPPORTED_ERR</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>9</entry>
|
|
<entry>
|
|
Si l'implémentation ne supporte pas le type requis de l'objet ou de l'opération.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-inuse-attribute-err">
|
|
<entry>
|
|
<constant>DOM_INUSE_ATTRIBUTE_ERR</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>10</entry>
|
|
<entry>
|
|
Si une tentative est faite d'ajouter un attribut qui est déjà utilisé autre part.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-invalid-state-err">
|
|
<entry>
|
|
<constant>DOM_INVALID_STATE_ERR</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>11</entry>
|
|
<entry>
|
|
Si une tentative est faite d'utiliser un objet qui n'est pas, ou n'est plus, utilisable.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-syntax-err">
|
|
<entry>
|
|
<constant>DOM_SYNTAX_ERR</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>12</entry>
|
|
<entry>
|
|
Si une chaîne de caractères invalide ou illégale est spécifiée.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-invalid-modification-err">
|
|
<entry>
|
|
<constant>DOM_INVALID_MODIFICATION_ERR</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>13</entry>
|
|
<entry>
|
|
Si une tentative est faite de modifier le type d'un objet fondamental.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-namespace-err">
|
|
<entry>
|
|
<constant>DOM_NAMESPACE_ERR</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>14</entry>
|
|
<entry>
|
|
Si une tentative est faite de créer ou de modifier un objet dans un sens qui est incorrect
|
|
au regard de l'espace de noms.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-invalid-access-err">
|
|
<entry>
|
|
<constant>DOM_INVALID_ACCESS_ERR</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>15</entry>
|
|
<entry>
|
|
Si un paramètre ou une opération n'est pas supporté par l'objet fondamental.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.dom-validation-err">
|
|
<entry>
|
|
<constant>DOM_VALIDATION_ERR</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>16</entry>
|
|
<entry>
|
|
Si un appel à une méthode tel que insertBefore ou removeChild voudrait rendre le nœud
|
|
invalide avec le respect de la validation partielle, cette exception
|
|
sera exécutée et l'opération ne sera pas effectuée.
|
|
</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
|
|
-->
|