[4suite] [ foursuite-Bugs-1520405 ] regexp:match raises an error in Scimitar

SourceForge.net noreply at sourceforge.net
Tue Jul 11 02:31:29 MDT 2006


Bugs item #1520405, was opened at 2006-07-11 08:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428292&aid=1520405&group_id=39954

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Amara (separate project)
Group: Current CVS
Status: Open
Resolution: None
Priority: 5
Submitted By: Eric van der Vlist (evlist)
Assigned to: Uche Ogbuji (uche)
Summary: regexp:match raises an error in Scimitar

Initial Comment:
Title says it all :) ...

The error message is:

vdv at grosbill:~/cvs-private/presentations/en/Schematron
$ python repro-stron.py repro.xml
<?xml version="1.0" encoding="UTF-8"?>
Processing schema:

Processing pattern: [unnamed]

Traceback (most recent call last):
  File "repro-stron.py", line 212, in ?
    sys.exit(main(sys.argv))
  File "repro-stron.py", line 205, in main
    validate(candidate_file, outwrap(fout), phase=phase)
  File "repro-stron.py", line 153, in validate
    func(node)
  File "repro-stron.py", line 40, in rule1
    if Conversions.BooleanValue(expr.evaluate(xpath_ctx)):
  File
"/usr/local/lib/python2.4/site-packages/Ft/Xml/XPath/ParsedStep.py",
line 30, in evaluate
    node_set = self._predicates.filter(node_set,
context, reverse)
  File
"/usr/local/lib/python2.4/site-packages/Ft/Xml/XPath/ParsedPredicateList.py",
line 43, in filter
    res = pred.evaluate(context)
  File
"/usr/local/lib/python2.4/site-packages/Ft/Xml/XPath/ParsedExpr.py",
line 296, in evaluate
    result = func(context, arg0, arg1)
  File
"/usr/local/lib/python2.4/site-packages/Ft/Xml/Xslt/Exslt/RegularExpressions.py",
line 51, in Match
   
processor.pushResultTree(context.currentInstruction.baseUri)
AttributeError: 'NoneType' object has no attribute
'pushResultTree'


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428292&aid=1520405&group_id=39954



More information about the 4suite mailing list