Skip to content

Commit

Permalink
Fix ext/dom constant aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
kocsismate committed Dec 12, 2024
1 parent 527e9b1 commit 5fe7ade
Showing 1 changed file with 156 additions and 16 deletions.
172 changes: 156 additions & 16 deletions reference/dom/constants.xml
Original file line number Diff line number Diff line change
Expand Up @@ -302,17 +302,25 @@
</row>
<row xml:id="constant.dom-index-size-err">
<entry>
<constant>DOM_INDEX_SIZE_ERR</constant> / <constant>Dom\INDEX_SIZE_ERR</constant>
<constant>DOM_INDEX_SIZE_ERR</constant>
(<type>int</type>)
</entry>
<entry>1</entry>
<entry>
If index or size is negative, or greater than the allowed value.
</entry>
</row>
<row xml:id="constant.dom-dom-index-size-err">
<entry>
<constant>Dom\INDEX_SIZE_ERR</constant>
(<type>int</type>)
</entry>
<entry>1</entry>
<entry>&Alias; <constant>DOM_INDEX_SIZE_ERR</constant>.</entry>
</row>
<row xml:id="constant.domstring-size-err">
<entry>
<constant>DOMSTRING_SIZE_ERR</constant> / <constant>Dom\STRING_SIZE_ERR</constant>
<constant>DOMSTRING_SIZE_ERR</constant>
(<type>int</type>)
</entry>
<entry>2</entry>
Expand All @@ -321,113 +329,221 @@
<type>string</type>.
</entry>
</row>
<row xml:id="constant.dom-string-size-err">
<entry>
<constant>Dom\STRING_SIZE_ERR</constant>
(<type>int</type>)
</entry>
<entry>2</entry>
<entry>&Alias; <constant>DOMSTRING_SIZE_ERR</constant>.</entry>
</row>
<row xml:id="constant.dom-hierarchy-request-err">
<entry>
<constant>DOM_HIERARCHY_REQUEST_ERR</constant> / <constant>Dom\HIERARCHY_REQUEST_ERR</constant>
<constant>DOM_HIERARCHY_REQUEST_ERR</constant>
(<type>int</type>)
</entry>
<entry>3</entry>
<entry>If any node is inserted somewhere it doesn't belong</entry>
</row>
<row xml:id="constant.dom-dom-hierarchy-request-err">
<entry>
<constant>Dom\HIERARCHY_REQUEST_ERR</constant>
(<type>int</type>)
</entry>
<entry>3</entry>
<entry>&Alias; <constant>DOM_HIERARCHY_REQUEST_ERR</constant>.</entry>
</row>
<row xml:id="constant.dom-wrong-document-err">
<entry>
<constant>DOM_WRONG_DOCUMENT_ERR</constant> / <constant>Dom\WRONG_DOCUMENT_ERR</constant>
<constant>DOM_WRONG_DOCUMENT_ERR</constant>
(<type>int</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-dom-wrong-document-err">
<entry>
<constant>Dom\WRONG_DOCUMENT_ERR</constant>
(<type>int</type>)
</entry>
<entry>4</entry>
<entry>&Alias; <constant>DOM_WRONG_DOCUMENT_ERR</constant>.</entry>
</row>
<row xml:id="constant.dom-invalid-character-err">
<entry>
<constant>DOM_INVALID_CHARACTER_ERR</constant> / <constant>Dom\INVALID_CHARACTER_ERR</constant>
<constant>DOM_INVALID_CHARACTER_ERR</constant>
(<type>int</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-dom-invalid-character-err">
<entry>
<constant>Dom\INVALID_CHARACTER_ERR</constant>
(<type>int</type>)
</entry>
<entry>5</entry>
<entry>
&Alias; <constant>DOM_INVALID_CHARACTER_ERR</constant>.
</entry>
</row>
<row xml:id="constant.dom-no-data-allowed-err">
<entry>
<constant>DOM_NO_DATA_ALLOWED_ERR</constant> / <constant>Dom\NO_DATA_ALLOWED_ERR</constant>
<constant>DOM_NO_DATA_ALLOWED_ERR</constant>
(<type>int</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-dom-no-data-allowed-err">
<entry>
<constant>Dom\NO_DATA_ALLOWED_ERR</constant>
(<type>int</type>)
</entry>
<entry>6</entry>
<entry>
&Alias; <constant>DOM_NO_DATA_ALLOWED_ERR</constant>.
</entry>
</row>
<row xml:id="constant.dom-no-modification-allowed-err">
<entry>
<constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant> / <constant>Dom\NO_MODIFICATION_ALLOWED_ERR</constant>
<constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant>
(<type>int</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-dom-no-modification-allowed-err">
<entry>
<constant>Dom\NO_MODIFICATION_ALLOWED_ERR</constant>
(<type>int</type>)
</entry>
<entry>7</entry>
<entry>
&Alias; <constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant>.
</entry>
</row>
<row xml:id="constant.dom-not-found-err">
<entry>
<constant>DOM_NOT_FOUND_ERR</constant> / <constant>Dom\NOT_FOUND_ERR</constant>
<constant>DOM_NOT_FOUND_ERR</constant>
(<type>int</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-dom-not-found-err">
<entry>
<constant>Dom\NOT_FOUND_ERR</constant>
(<type>int</type>)
</entry>
<entry>8</entry>
<entry>
&Alias; <constant>DOM_NOT_FOUND_ERR</constant>.
</entry>
</row>
<row xml:id="constant.dom-not-supported-err">
<entry>
<constant>DOM_NOT_SUPPORTED_ERR</constant> / <constant>Dom\NOT_SUPPORTED_ERR</constant>
<constant>DOM_NOT_SUPPORTED_ERR</constant>
(<type>int</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-dom-not-supported-err">
<entry>
<constant>Dom\NOT_SUPPORTED_ERR</constant>
(<type>int</type>)
</entry>
<entry>9</entry>
<entry>
&Alias; <constant>DOM_NOT_SUPPORTED_ERR</constant>.
</entry>
</row>
<row xml:id="constant.dom-inuse-attribute-err">
<entry>
<constant>DOM_INUSE_ATTRIBUTE_ERR</constant> / <constant>Dom\INUSE_ATTRIBUTE_ERR</constant>
<constant>DOM_INUSE_ATTRIBUTE_ERR</constant>
(<type>int</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-dom-inuse-attribute-err">
<entry>
<constant>Dom\INUSE_ATTRIBUTE_ERR</constant>
(<type>int</type>)
</entry>
<entry>10</entry>
<entry>&Alias; <constant>DOM_INUSE_ATTRIBUTE_ERR</constant>.</entry>
</row>
<row xml:id="constant.dom-invalid-state-err">
<entry>
<constant>DOM_INVALID_STATE_ERR</constant> / <constant>Dom\INVALID_STATE_ERR</constant>
<constant>DOM_INVALID_STATE_ERR</constant>
(<type>int</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-dom-invalid-state-err">
<entry>
<constant>Dom\INVALID_STATE_ERR</constant>
(<type>int</type>)
</entry>
<entry>11</entry>
<entry>
&Alias; <constant>DOM_INVALID_STATE_ERR</constant>.
</entry>
</row>
<row xml:id="constant.dom-syntax-err">
<entry>
<constant>DOM_SYNTAX_ERR</constant> / <constant>Dom\SYNTAX_ERR</constant>
<constant>DOM_SYNTAX_ERR</constant>
(<type>int</type>)
</entry>
<entry>12</entry>
<entry>If an invalid or illegal string is specified.</entry>
</row>
<row xml:id="constant.dom-dom-syntax-err">
<entry>
<constant>Dom\SYNTAX_ERR</constant>
(<type>int</type>)
</entry>
<entry>12</entry>
<entry>&Alias; <constant>DOM_SYNTAX_ERR</constant>.</entry>
</row>
<row xml:id="constant.dom-invalid-modification-err">
<entry>
<constant>DOM_INVALID_MODIFICATION_ERR</constant> / <constant>Dom\INVALID_MODIFICATION_ERR</constant>
<constant>DOM_INVALID_MODIFICATION_ERR</constant>
(<type>int</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-dom-invalid-modification-err">
<entry>
<constant>Dom\INVALID_MODIFICATION_ERR</constant>
(<type>int</type>)
</entry>
<entry>13</entry>
<entry>&Alias; <constant>DOM_INVALID_MODIFICATION_ERR</constant>.</entry>
</row>
<row xml:id="constant.dom-namespace-err">
<entry>
<constant>DOM_NAMESPACE_ERR</constant> / <constant>Dom\NAMESPACE_ERR</constant>
<constant>DOM_NAMESPACE_ERR</constant>
(<type>int</type>)
</entry>
<entry>14</entry>
Expand All @@ -436,19 +552,35 @@
incorrect with regard to namespaces.
</entry>
</row>
<row xml:id="constant.dom-dom-namespace-err">
<entry>
<constant>Dom\NAMESPACE_ERR</constant>
(<type>int</type>)
</entry>
<entry>14</entry>
<entry>&Alias; <constant>DOM_NAMESPACE_ERR</constant>.</entry>
</row>
<row xml:id="constant.dom-invalid-access-err">
<entry>
<constant>DOM_INVALID_ACCESS_ERR</constant> / <constant>Dom\INVALID_ACCESS_ERR</constant>
<constant>DOM_INVALID_ACCESS_ERR</constant>
(<type>int</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-dom-invalid-access-err">
<entry>
<constant>Dom\INVALID_ACCESS_ERR</constant>
(<type>int</type>)
</entry>
<entry>15</entry>
<entry>&Alias; <constant>DOM_INVALID_ACCESS_ERR</constant>.</entry>
</row>
<row xml:id="constant.dom-validation-err">
<entry>
<constant>DOM_VALIDATION_ERR</constant> / <constant>Dom\VALIDATION_ERR</constant>
<constant>DOM_VALIDATION_ERR</constant>
(<type>int</type>)
</entry>
<entry>16</entry>
Expand All @@ -458,6 +590,14 @@
the operation would not be done.
</entry>
</row>
<row xml:id="constant.dom-dom-validation-err">
<entry>
<constant>Dom\VALIDATION_ERR</constant>
(<type>int</type>)
</entry>
<entry>16</entry>
<entry>&Alias; <constant>DOM_VALIDATION_ERR</constant>.</entry>
</row>
</tbody>
</tgroup>
</table>
Expand Down

0 comments on commit 5fe7ade

Please sign in to comment.