Here is a copy of the error message I get, in case that helps.

 

Traceback (most recent call last):

  File "test\SRtestXFormUtil.py", line 20, in testMakeReadOnly

    xform_util.makeReadOnly("", doc)

  File "C:\DWServer\DW30400DEMO\lib\python\Products\DWWFEng\xform_util.py", line

 462, in __call__

    self.memo[args] = self.fn(*args)

  File "C:\DWServer\DW30400DEMO\lib\python\Products\DWWFEng\xform_util.py", line

 162, in makeReadOnly

    bindNodes = xml.xpath.Evaluate(xpath,doc,ctx)

  File "C:\Python23\Lib\site-packages\_xmlplus\xpath\__init__.py", line 70, in E

valuate

    retval = parser.new().parse(expr).evaluate(con)

  File "C:\Python23\Lib\site-packages\_xmlplus\xpath\ParsedAbbreviatedAbsoluteLo

cationPath.py", line 44, in evaluate

    sub_rt.extend(self._rel.select(context))

  File "C:\Python23\Lib\site-packages\_xmlplus\xpath\ParsedRelativeLocationPath.

py", line 23, in evaluate

    raise Exception("Expected node set from relative _expression_.  Got %s"%str(rt

))

Exception: Expected node set from relative _expression_.  Got ()

 

 

_______________________________________________
XML-SIG maillist  -  XML-SIG@python.org
http://mail.python.org/mailman/listinfo/xml-sig

Reply via email to