Browse Source

----------------------------------------------------------------------

Modified Files:
 	XMLSchema.py -- fixed a couple bad variable references.
main
Joshua Boverhof 21 years ago
parent
commit
d93465aa52
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      XMLSchema.py

+ 3
- 3
XMLSchema.py View File

@@ -201,13 +201,13 @@ class DOMAdapter(DOMAdapterInterface):


def loadDocument(self, file): def loadDocument(self, file):
self.__node = DOM.loadDocument(file) self.__node = DOM.loadDocument(file)
if hasattr(node, 'documentElement'):
if hasattr(self.__node, 'documentElement'):
self.__node = node.documentElement self.__node = node.documentElement


def loadFromURL(self, url): def loadFromURL(self, url):
self.__node = DOM.loadFromURL(url) self.__node = DOM.loadFromURL(url)
if hasattr(node, 'documentElement'):
self.__node = node.documentElement
if hasattr(self.__node, 'documentElement'):
self.__node = self.__node.documentElement


class XMLBase: class XMLBase:


Loading…
Cancel
Save