Return-Path: Delivered-To: apmail-xml-xalan-cvs-archive@xml.apache.org Received: (qmail 12325 invoked by uid 500); 6 Jun 2002 14:20:26 -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 12313 invoked from network); 6 Jun 2002 14:20:26 -0000 Date: 6 Jun 2002 14:20:25 -0000 Message-ID: <20020606142025.2783.qmail@icarus.apache.org> From: dleslie@apache.org To: xml-xalan-cvs@apache.org Subject: cvs commit: xml-xalan/java/src/org/apache/xalan/processor ProcessorOutputElem.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N dleslie 2002/06/06 07:20:25 Modified: java/src/org/apache/xalan/processor ProcessorOutputElem.java Log: Restored correct version for Xalan 2. Revision Changes Path 1.14 +5 -19 xml-xalan/java/src/org/apache/xalan/processor/ProcessorOutputElem.java Index: ProcessorOutputElem.java =================================================================== RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/processor/ProcessorOutputElem.java,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- ProcessorOutputElem.java 4 Jun 2002 19:11:04 -0000 1.13 +++ ProcessorOutputElem.java 6 Jun 2002 14:20:25 -0000 1.14 @@ -72,7 +72,6 @@ import org.xml.sax.Attributes; - /** * TransformerFactory for xsl:output markup. * @see XSLT DTD @@ -80,7 +79,7 @@ */ class ProcessorOutputElem extends XSLTElementProcessor { - + /** The output properties, set temporarily while the properties are * being set from the attributes, and then nulled after that operation * is completed. */ @@ -91,7 +90,7 @@ * @see javax.xml.transform.OutputKeys#CDATA_SECTION_ELEMENTS * @param newValue non-null reference to processed attribute value. */ - public void setCdataSectionElements(java.util.Vector newValue, QName qname) + public void setCdataSectionElements(java.util.Vector newValue) { m_outputProperties.setQNameProperties(OutputKeys.CDATA_SECTION_ELEMENTS, newValue); } @@ -205,18 +204,6 @@ QName key = new QName(attrUri, attrLocalName); m_outputProperties.setProperty(key, attrValue); } - - //XSLT 2.0 - - public void setName(QName v) - { - m_outputProperties.setQNameProperty("name", v); - } - - public QName getName() - { - return m_outputProperties.getQNameProperty("name"); - } /** * Receive notification of the start of an xsl:output element. @@ -247,7 +234,7 @@ m_outputProperties.setLocaterInfo(handler.getLocator()); m_outputProperties.setUid(handler.nextUid()); setPropertiesFromAttributes(handler, rawName, attributes, this); - + // Access this only from the Hashtable level... we don't want to // get default properties. String entitiesFileName = @@ -267,12 +254,11 @@ } } - // for 2.0, can have multiple output properties, identified by name. - handler.getStylesheet().setOutput(m_outputProperties); + handler.getStylesheet().setOutput(m_outputProperties); ElemTemplateElement parent = handler.getElemTemplateElement(); parent.appendChild(m_outputProperties); m_outputProperties = null; } -} +} \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org For additional commands, e-mail: xalan-cvs-help@xml.apache.org