Author: gonzalo
Date: 2005-11-21 16:34:42 -0500 (Mon, 21 Nov 2005)
New Revision: 53325

Modified:
   trunk/mcs/class/System.Web/System.Web.Compilation/AspParser.cs
   trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog
Log:
2005-11-21 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>

        * AspParser.cs: don't change case for verbatim IDs.
        Fixes bug #76657.



Modified: trunk/mcs/class/System.Web/System.Web.Compilation/AspParser.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Compilation/AspParser.cs      
2005-11-21 21:28:13 UTC (rev 53324)
+++ trunk/mcs/class/System.Web/System.Web.Compilation/AspParser.cs      
2005-11-21 21:34:42 UTC (rev 53325)
@@ -90,7 +90,7 @@
                public string VerbatimID {
                        set {
                                tokenizer.Verbatim = true;
-                               verbatimID = value.ToUpper 
(CultureInfo.InvariantCulture);
+                               verbatimID = value;
                        }
                }
                
@@ -364,8 +364,9 @@
                                token = tokenizer.get_token ();
                        }
 
+                       end = end.ToLower (CultureInfo.InvariantCulture);
                        while (token != Token.EOF){
-                               if (Char.ToUpper ((char) token, 
CultureInfo.InvariantCulture) == end [i]){
+                               if (Char.ToLower ((char) token, 
CultureInfo.InvariantCulture) == end [i]){
                                        if (++i >= end.Length)
                                                break;
                                        token = tokenizer.get_token ();

Modified: trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog 2005-11-21 
21:28:13 UTC (rev 53324)
+++ trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog 2005-11-21 
21:34:42 UTC (rev 53325)
@@ -1,3 +1,8 @@
+2005-11-21 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+
+       * AspParser.cs: don't change case for verbatim IDs.
+       Fixes bug #76657.
+
 2005-09-23 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
 
        * AspParser.cs: when processing verbatim input, throw if we reach EOF

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

Reply via email to