Return-Path: Delivered-To: apmail-xml-xalan-cvs-archive@xml.apache.org Received: (qmail 98516 invoked by uid 500); 10 Jun 2002 20:35:35 -0000 Mailing-List: contact xalan-cvs-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: Delivered-To: mailing list xalan-cvs@xml.apache.org Received: (qmail 98505 invoked from network); 10 Jun 2002 20:35:35 -0000 Date: 10 Jun 2002 20:35:34 -0000 Message-ID: <20020610203534.46575.qmail@icarus.apache.org> From: tmiller@apache.org To: xml-xalan-cvs@apache.org Subject: cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output TransletOutputHandlerFactory.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N tmiller 2002/06/10 13:35:34 Modified: java/src/org/apache/xalan/xsltc/runtime/output TransletOutputHandlerFactory.java Log: added text case for SAX Revision Changes Path 1.9 +7 -1 xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output/TransletOutputHandlerFactory.java Index: TransletOutputHandlerFactory.java =================================================================== RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output/TransletOutputHandlerFactory.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- TransletOutputHandlerFactory.java 10 Jun 2002 15:45:59 -0000 1.8 +++ TransletOutputHandlerFactory.java 10 Jun 2002 20:35:34 -0000 1.9 @@ -1,5 +1,5 @@ /* - * @(#)$Id: TransletOutputHandlerFactory.java,v 1.8 2002/06/10 15:45:59 santiagopg Exp $ + * @(#)$Id: TransletOutputHandlerFactory.java,v 1.9 2002/06/10 20:35:34 tmiller Exp $ * * The Apache Software License, Version 1.1 * @@ -187,6 +187,12 @@ new SAXTextOutput(_handler, _encoding) : new SAXTextOutput(_handler, _lexHandler, _encoding); } + else if (_method.equalsIgnoreCase("text")) { + return (_lexHandler == null) ? + new SAXTextOutput(_handler, _encoding) : + new SAXTextOutput(_handler, _lexHandler, _encoding); + } + break; } return null; --------------------------------------------------------------------- To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org For additional commands, e-mail: xalan-cvs-help@xml.apache.org