[Python-checkins] python/dist/src/Lib/xml/dom __init__.py,1.10,1.11
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Fri, 09 Aug 2002 07:57:57 -0700
Update of /cvsroot/python/python/dist/src/Lib/xml/dom
In directory usw-pr-cvs1:/tmp/cvs-serv1549
Modified Files:
__init__.py
Log Message:
New entries to track the DOM API growth. These match names exposed in
PyXML 0.8.
Index: __init__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/xml/dom/__init__.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** __init__.py 30 Nov 2001 15:37:33 -0000 1.10
--- __init__.py 9 Aug 2002 14:57:55 -0000 1.11
***************
*** 56,59 ****
--- 56,60 ----
NAMESPACE_ERR = 14
INVALID_ACCESS_ERR = 15
+ VALIDATION_ERR = 16
***************
*** 117,120 ****
--- 118,124 ----
code = INVALID_ACCESS_ERR
+ class ValidationErr(DOMException):
+ code = VALIDATION_ERR
+
XML_NAMESPACE = "http://www.w3.org/XML/1998/namespace"
***************
*** 122,125 ****
--- 126,130 ----
XHTML_NAMESPACE = "http://www.w3.org/1999/xhtml"
EMPTY_NAMESPACE = None
+ EMPTY_PREFIX = None
from domreg import getDOMImplementation,registerDOMImplementation