2003/12/29 18:05:53
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:43:40 +0000 (07:43 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:43:40 +0000 (07:43 +0000)
darcs-hash:20040130074340-2ba56-ea3589bdac724ae273eb875b6937373adf83958d.gz

src/org/xwt/Template.java

index b1aa9ad..00aedd0 100644 (file)
@@ -347,7 +347,7 @@ public class Template {
         public void characters(char[] ch, int start, int length) throws XML.Exn {
             // invoke the no-tab crusade
             for (int i=0; length >i; i++) if (ch[start+i] == '\t')
-                throw new XML.Exn("tabs are not allowed in XWT files", XML.Exn.SCHEMA, getLine(), getCol());
+                Log.error(Template.class, "tabs are not allowed in XWT files ("+getLine()+":"+getCol()+")");
 
             if ("static".equals(nameOfHeaderNodeBeingProcessed) || state == STATE_IN_TEMPLATE_NODE) {
                 if (t.content == null) {