Browse Source

fixed a naming issue

main
Monte Goode 21 years ago
parent
commit
0fb510098c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      XMLSchema.py

+ 1
- 1
XMLSchema.py View File

@@ -202,7 +202,7 @@ class DOMAdapter(DOMAdapterInterface):
def loadDocument(self, file): def loadDocument(self, file):
self.__node = DOM.loadDocument(file) self.__node = DOM.loadDocument(file)
if hasattr(self.__node, 'documentElement'): if hasattr(self.__node, 'documentElement'):
self.__node = node.documentElement
self.__node = self.__node.documentElement


def loadFromURL(self, url): def loadFromURL(self, url):
self.__node = DOM.loadFromURL(url) self.__node = DOM.loadFromURL(url)


Loading…
Cancel
Save