sboag 01/01/11 23:32:39
Modified: java/src/org/apache/xalan/processor XSLTElementDef.java
Log:
Modified the error handling code when an exception is thrown from
the extension mechanism. Now, if the message contains the word
"fatal" or contains no message, the error listener's error method witll
be called, otherwise the error listener's warning method will be called.
Also, make sure the source locator is set in the TransformerException.
Revision Changes Path
1.10 +1 -1
xml-xalan/java/src/org/apache/xalan/processor/XSLTElementDef.java
Index: XSLTElementDef.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/processor/XSLTElementDef.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- XSLTElementDef.java 2000/11/28 17:25:50 1.9
+++ XSLTElementDef.java 2001/01/12 07:32:39 1.10
@@ -67,7 +67,7 @@
* mapping between Xalan classes and the markup elements in the XSLT
instance.
* This actually represents both text nodes and elements.
*/
-class XSLTElementDef
+public class XSLTElementDef
{
/**