Use filename instead of URI for XML parser (works on Windows and Linux)

svn: r6215
This commit is contained in:
Brian Matherly
2006-03-29 02:25:04 +00:00
parent d9085cf219
commit 4813ce09d7
8 changed files with 20 additions and 13 deletions

View File

@@ -894,7 +894,7 @@ class StyleSheetList:
try:
p = make_parser()
p.setContentHandler(SheetParser(self))
p.parse('file://' + self.file)
p.parse(self.file)
except (IOError,OSError,SAXParseException):
pass