ilene 2002/08/09 09:26:38 Modified: java/src/org/apache/xalan/templates ElemValueOf.java Log: Patch for bugzilla #6071. Specifically, this patch allows line numbers to be reported when errors are discovered at runtime in a value-of attribute. (See idkeyerr10.) Revision Changes Path 1.19 +5 -0 xml-xalan/java/src/org/apache/xalan/templates/ElemValueOf.java Index: ElemValueOf.java =================================================================== RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/templates/ElemValueOf.java,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- ElemValueOf.java 24 Mar 2002 00:57:53 -0000 1.18 +++ ElemValueOf.java 9 Aug 2002 16:26:38 -0000 1.19 @@ -334,6 +334,11 @@ { throw new TransformerException(se); } + catch (RuntimeException re) { + TransformerException te = new TransformerException(re); + te.setLocator(this); + throw te; + } finally { if (TransformerImpl.S_DEBUG)
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]