cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/serialization AbstractTextSerializer.java
Date Tue, 18 Sep 2001 16:34:27 GMT
dims        01/09/18 09:34:27

  Modified:    src/org/apache/cocoon/serialization
                        AbstractTextSerializer.java
  Log:
  Temporarily comment out portions of patch from Joerg Henne <j.henne@levigo.de> Some
Samples are garbled because of this.
  
  Revision  Changes    Path
  1.5       +7 -5      xml-cocoon2/src/org/apache/cocoon/serialization/AbstractTextSerializer.java
  
  Index: AbstractTextSerializer.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/serialization/AbstractTextSerializer.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AbstractTextSerializer.java	2001/09/18 16:23:46	1.4
  +++ AbstractTextSerializer.java	2001/09/18 16:34:27	1.5
  @@ -35,7 +35,7 @@
    *         (Apache Software Foundation, Exoffice Technologies)
    * @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
    * @author <a href="mailto:sylvain.wallez@anyware-tech.com">Sylvain Wallez</a>
  - * @version CVS $Revision: 1.4 $ $Date: 2001/09/18 16:23:46 $
  + * @version CVS $Revision: 1.5 $ $Date: 2001/09/18 16:34:27 $
    */
   public abstract class AbstractTextSerializer extends AbstractSerializer implements Configurable,
Cacheable, Poolable {
   
  @@ -222,8 +222,9 @@
         throws SAXException {
           
           // try to restore the qName. The map already contains the colon
  -        if(eltUri.length() != 0 && this.uriToPrefixMap.containsKey(eltUri) )
  -          eltQName = (String) this.uriToPrefixMap.get(eltUri) + eltLocalName;
  +        // FIXME (DIMS): This causes problems. This was a patch posted by Joerg
  +        //if(eltUri.length() != 0 && this.uriToPrefixMap.containsKey(eltUri) )
  +        //  eltQName = (String) this.uriToPrefixMap.get(eltUri) + eltLocalName;
           
           if (this.hasMappings) {
               // Add xmlns* attributes where needed
  @@ -293,8 +294,9 @@
       public void endElement(String eltUri, String eltLocalName, String eltQName)
       throws SAXException {
           // try to restore the qName. The map already contains the colon
  -        if(eltUri.length() != 0 && this.uriToPrefixMap.containsKey(eltUri) )
  -          eltQName = (String) this.uriToPrefixMap.get(eltUri) + eltLocalName;
  +        // FIXME (DIMS): This causes problems. This was a patch posted by Joerg
  +        //if(eltUri.length() != 0 && this.uriToPrefixMap.containsKey(eltUri) )
  +        //  eltQName = (String) this.uriToPrefixMap.get(eltUri) + eltLocalName;
           
           super.endElement(eltUri, eltLocalName, eltQName);
       }
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message