Skip to content

Fix ext/dom constant aliases #4296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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="dom.constants.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="dom.constants.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="dom.constants.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="dom.constants.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="dom.constants.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="dom.constants.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="dom.constants.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="dom.constants.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="dom.constants.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="dom.constants.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="dom.constants.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="dom.constants.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="dom.constants.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="dom.constants.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="dom.constants.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="dom.constants.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
Loading