[XML-SIG] [ pyxml-Bugs-509465 ] XSLT: StylesheetReader

noreply@sourceforge.net noreply@sourceforge.net
Mon, 28 Jan 2002 00:42:54 -0800


Bugs item #509465, was opened at 2002-01-28 00:42
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=106473&aid=509465&group_id=6473

Category: 4Suite
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: XSLT: StylesheetReader

Initial Comment:
On MacOS 10.1.2, Python 2.2 and PyXML 0.7, I 
have the following traceback:

Traceback (most recent call last):
  File 
"/sw/lib/python2.2/site-packages/typez/on/onyx.py", 
line 527, in ?
    env.outputPetal(output_petal, document, 
output_file, output_args)
  File 
"/sw/lib/python2.2/site-packages/typez/on/onyx.py", 
line 307, in outputPetal
    result =  petal.process(document, output, args)
  File 
"/sw/lib/python2.2/site-packages/typez/on/Petals/O
utput/smallLout/smallLout.py", line 191, in process
    self.convert(document, temp_output, bib_output)
  File 
"/sw/lib/python2.2/site-packages/typez/on/Petals/O
utput/smallLout/smallLout.py", line 92, in convert
    processor.appendStylesheetStream(ssfile)
  File 
"/sw/lib/python2.2/site-packages/_xmlplus/xslt/Pro
cessor.py", line 113, in appendStylesheetStream
    sty = self._styReader.fromStream(stream, 
baseUri)
  File 
"/sw/lib/python2.2/site-packages/_xmlplus/xslt/Styl
esheetReader.py", line 304, in fromStream
    self.initParser()
  File 
"/sw/lib/python2.2/site-packages/_xmlplus/xslt/Styl
esheetReader.py", line 344, in initParser
    if self._force8Bit:
AttributeError: StylesheetReader instance has no 
attribute '_force8Bit'


And there is actually no _force8bit attribute. When 
deleting the if at line 344 in StylesheetReader I get 
another traceback:

Traceback (most recent call last):
  File 
"/sw/lib/python2.2/site-packages/typez/on/onyx.py", 
line 527, in ?
    env.outputPetal(output_petal, document, 
output_file, output_args)
  File 
"/sw/lib/python2.2/site-packages/typez/on/onyx.py", 
line 307, in outputPetal
    result =  petal.process(document, output, args)
  File 
"/sw/lib/python2.2/site-packages/typez/on/Petals/O
utput/smallLout/smallLout.py", line 191, in process
    self.convert(document, temp_output, bib_output)
  File 
"/sw/lib/python2.2/site-packages/typez/on/Petals/O
utput/smallLout/smallLout.py", line 92, in convert
    processor.appendStylesheetStream(ssfile)
  File 
"/sw/lib/python2.2/site-packages/_xmlplus/xslt/Pro
cessor.py", line 113, in appendStylesheetStream
    sty = self._styReader.fromStream(stream, 
baseUri)
  File 
"/sw/lib/python2.2/site-packages/_xmlplus/xslt/Styl
esheetReader.py", line 304, in fromStream
    self.initParser()
  File 
"/sw/lib/python2.2/site-packages/_xmlplus/xslt/Styl
esheetReader.py", line 351, in initParser
    self.parser.ExternalEntityRefHandler = 
self.handler.entityRef
AttributeError: StylesheetReader instance has no 
attribute 'entityRef'



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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=106473&aid=509465&group_id=6473