zongaro     2003/07/07 08:37:28

  Modified:    java/src/org/apache/xalan/templates ElemElement.java
  Log:
  Applying patch from David Bertoni ([EMAIL PROTECTED]) for bug 20920.  The code
  for xsl:element was copying all accessible namespace declarations to the
  result, but that's something that should only happen for literal result
  elements.
  
  Revision  Changes    Path
  1.33      +0 -8      
xml-xalan/java/src/org/apache/xalan/templates/ElemElement.java
  
  Index: ElemElement.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/templates/ElemElement.java,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- ElemElement.java  13 May 2003 17:42:30 -0000      1.32
  +++ ElemElement.java  7 Jul 2003 15:37:27 -0000       1.33
  @@ -398,11 +398,6 @@
         }
         else
         {
  -        // Add namespace declarations.
  -        // Bugzilla 13414: do not startPrefixMapping on 'prefix'
  -        // as it is handled below
  -        executeNSDecls(transformer, prefix);
  -
           if (null != prefix)
           {
             rhandler.startPrefixMapping(prefix, nodeNamespace, true);
  @@ -427,9 +422,6 @@
           {
             rhandler.endPrefixMapping(prefix);
           }
  -        // Bugzilla 13414: do not endPrefixMapping on 'prefix'
  -        // as it is handled above
  -        unexecuteNSDecls(transformer, prefix);
         }
       }
       catch (SAXException se)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to