Author: atsushi
Date: 2005-03-08 03:38:05 -0500 (Tue, 08 Mar 2005)
New Revision: 41551

Modified:
   trunk/mcs/class/System.XML/Mono.Xml.Xsl/ChangeLog
   trunk/mcs/class/System.XML/Mono.Xml.Xsl/GenericOutputter.cs
Log:
2005-03-08  Atsushi Enomoto  <[EMAIL PROTECTED]>

        * GenericOutputter.cs : for duplicate attribute in an element, no need
          to keep previous prefix.



Modified: trunk/mcs/class/System.XML/Mono.Xml.Xsl/ChangeLog
===================================================================
--- trunk/mcs/class/System.XML/Mono.Xml.Xsl/ChangeLog   2005-03-08 08:11:55 UTC 
(rev 41550)
+++ trunk/mcs/class/System.XML/Mono.Xml.Xsl/ChangeLog   2005-03-08 08:38:05 UTC 
(rev 41551)
@@ -1,5 +1,10 @@
 2005-03-08  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
+       * GenericOutputter.cs : for duplicate attribute in an element, no need
+         to keep previous prefix.
+
+2005-03-08  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
        * GenericOutputter.cs : Prefix "xml" is only allowed to the fixed XML
          namespace. Rewrite prefix only when there is non-empty namespace.
 

Modified: trunk/mcs/class/System.XML/Mono.Xml.Xsl/GenericOutputter.cs
===================================================================
--- trunk/mcs/class/System.XML/Mono.Xml.Xsl/GenericOutputter.cs 2005-03-08 
08:11:55 UTC (rev 41550)
+++ trunk/mcs/class/System.XML/Mono.Xml.Xsl/GenericOutputter.cs 2005-03-08 
08:38:05 UTC (rev 41551)
@@ -286,9 +286,7 @@
                                
                                if (attr.LocalName == localName && 
attr.Namespace == nsURI) {
                                        pendingAttributes [i].Value = value;
-                                       //Keep prefix (e.g. when literal 
attribute is overriden by xsl:attribute)
-                                       if (attr.Prefix == String.Empty && 
prefix != String.Empty)
-                                               pendingAttributes [i].Prefix = 
prefix;
+                                       pendingAttributes [i].Prefix = prefix;
                                        return;
                                }
                        }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to