Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
a3502703
Commit
a3502703
authored
Aug 09, 2002
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New entries to track the DOM API growth. These match names exposed in
PyXML 0.8.
parent
1403b9fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
Lib/xml/dom/__init__.py
Lib/xml/dom/__init__.py
+5
-0
No files found.
Lib/xml/dom/__init__.py
View file @
a3502703
...
...
@@ -55,6 +55,7 @@ SYNTAX_ERR = 12
INVALID_MODIFICATION_ERR
=
13
NAMESPACE_ERR
=
14
INVALID_ACCESS_ERR
=
15
VALIDATION_ERR
=
16
class
DOMException
(
Exception
):
...
...
@@ -116,10 +117,14 @@ class NamespaceErr(DOMException):
class
InvalidAccessErr
(
DOMException
):
code
=
INVALID_ACCESS_ERR
class
ValidationErr
(
DOMException
):
code
=
VALIDATION_ERR
XML_NAMESPACE
=
"http://www.w3.org/XML/1998/namespace"
XMLNS_NAMESPACE
=
"http://www.w3.org/2000/xmlns/"
XHTML_NAMESPACE
=
"http://www.w3.org/1999/xhtml"
EMPTY_NAMESPACE
=
None
EMPTY_PREFIX
=
None
from
domreg
import
getDOMImplementation
,
registerDOMImplementation
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment