|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openprivacy.reptile.xslt.BaseStylesheetEngine
Provides base functionality for all StylesheetEngines (which want to use them).
Constructor Summary | |
BaseStylesheetEngine()
|
Method Summary | |
protected void |
error(javax.xml.transform.TransformerException te,
SequenceDispatchEntry sde,
int step,
java.lang.String stylesheet,
ParameterPasser params)
If Reptile throws a SAXParseException while parsing we need to handle this!!! |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.openprivacy.reptile.xslt.StylesheetEngine |
transform, transform |
Constructor Detail |
public BaseStylesheetEngine()
Method Detail |
protected void error(javax.xml.transform.TransformerException te, SequenceDispatchEntry sde, int step, java.lang.String stylesheet, ParameterPasser params)
If Reptile throws a SAXParseException while parsing we need to handle this!!!
We need a VERY stable way for producing and debugging XML/XSL error. Everytime se whould get a dump like the following:
-------------------------------------------------------------------------------- ****************** A StylesheetEngine problem has occured ********************* -------------------------------------------------------------------------------- In StylesheetEngine: org.openprivacy.reptile.xslt.StreamStylesheetEngine In sequence: urn:search/channels During step: 2 In stylesheet: resource:/xsl/misc/mozilla/page.xsl On line: 660 On column: 28 Public ID: System ID: With exception classname: org.sax.SAXParserException With exception message: invalid UTF-8 character XML source is now stored in: file:///tmp/test.txt --------------------------------------------------------------------------------
This step should ALSO override any settings we have in dumping... AKA it should ALWAYS dump here.
This should be shared code for debugging this. We should be able to use this independent on the implementation.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |