[XML-SIG] CVS update: error messages from "setup.py install"

Alexandre Fayolle alexandre.fayolle@free.fr
Tue, 18 Jul 2000 10:12:58 +0200


Hello everyone, 

I'm new to the list, so please excuse me if there are some implicit rules that
I'm not aware of...

Here are the modifications I had to make in order to get things working (a bit)
when I cvs checkout'ed the xml repository a couple of days ago :

apply dos2unix on the following files (a pain now, 'cos it fills up cvs diffs
with junk modifications) :

xml/demo/xmlproc/dtd2schema.py
xml/demo/xmlproc/dtdcmd.py
xml/demo/xmlproc/outputters.py
xml/demo/xmlproc/wxValidator.py
xml/xml/parsers/xmlproc/catalog.py
xml/xml/parsers/xmlproc/charconv.py
xml/xml/parsers/xmlproc/dtdparser.py
xml/xml/parsers/xmlproc/errors.py
xml/xml/parsers/xmlproc/namespace.py
xml/xml/parsers/xmlproc/utils.py
xml/xml/parsers/xmlproc/xcatalog.py
xml/xml/parsers/xmlproc/xmlapp.py
xml/xml/parsers/xmlproc/xmldtd.py
xml/xml/parsers/xmlproc/xmlproc.py
xml/xml/parsers/xmlproc/xmlutils.py
xml/xml/parsers/xmlproc/xmlval.py
xml/xml/sax/sax2exts.py
xml/xml/sax/saxexts.py
xml/xml/sax/saxlib.py
xml/xml/sax/saxutils.py
xml/xml/sax/drivers/drv_htmllib.py
xml/xml/sax/drivers/drv_pyexpat.py
xml/xml/sax/drivers/drv_sgmllib.py
xml/xml/sax/drivers/drv_sgmlop.py
xml/xml/sax/drivers/drv_xmldc.py
xml/xml/sax/drivers/drv_xmllib.py
xml/xml/sax/drivers/drv_xmlproc.py
xml/xml/sax/drivers/drv_xmlproc_val.py
xml/xml/sax/drivers/drv_xmltoolkit.py
xml/xml/sax/drivers/pylibs.py
xml/xml/sax/drivers2/drv_pyexpat.py
xml/xml/sax/drivers2/drv_xmlproc.py



I also made a few changes in 4DOM, it looks like someone has been wring too much
C code :o). Anyway, here is what cvs diff tells me I did (mind the line wrapping
of my mail client) :
Index: xml/xml/dom/TreeWalker.py
===================================================================
RCS file: /cvsroot/pyxml/xml/xml/dom/TreeWalker.py,v
retrieving revision 1.2
diff -r1.2 TreeWalker.py
201c201
<             return __dict__['__filter'].acceptNode(node)
---
>             return self.__dict__['__filter'].acceptNode(node)
219c219
<                             _readOnlyAttrs + _readComputedAttrs.keys())
---
>                             Node._readOnlyAttrs +
_readComputedAttrs.keys())
Index: xml/xml/dom/html/HTMLSelectElement.py
===================================================================
RCS file: /cvsroot/pyxml/xml/xml/dom/html/HTMLSelectElement.py,v
retrieving revision 1.3
diff -r1.3 HTMLSelectElement.py
88c88
<         for ctr in range(len(options))
---
>         for ctr in range(len(options)) :
125c125
<         return = implementation._4dom_createHTMLCollection(children)
---
>         return implementation._4dom_createHTMLCollection(children)
Index: xml/xml/dom/html/HTMLTableElement.py
===================================================================
RCS file: /cvsroot/pyxml/xml/xml/dom/html/HTMLTableElement.py,v
retrieving revision 1.3
diff -r1.3 HTMLTableElement.py
223c223
<                 if child.tagName = 'TFOOT':
---
>                 if child.tagName == 'TFOOT':
225c225
<                 elif child.tagName = 'TBODY':
---
>                 elif child.tagName == 'TBODY':
Index: xml/xml/dom/test_suite/newtest_node.py
===================================================================
RCS file: /cvsroot/pyxml/xml/xml/dom/test_suite/newtest_node.py,v
retrieving revision 1.1
diff -r1.1 newtest_node.py
12c12
<           doc = implementation.createDocument(None,'ROOT',dt);
---
>         doc = implementation.createDocument(None,'ROOT',dt)
32c32
<         if self.pNode.nodeValue != 'NODE_VALUE'
---
>         if self.pNode.nodeValue != 'NODE_VALUE':
39,44c39
<     def test
< 
< 
< 
< 
< 
---
>     def test(self):


Happy commiting !

By the way, I noticed a number of 'pass' statements in 4DOM source files. I'm by
no way a python guru, and could not imagine why they are here. Could someone
enlighten me ?

Alexandre Fayolle