[Mono-bugs] [Bug 32807][Blo] Changed - XmlDocument.LoadXml () throwing exception when there's an <?xml ?> element in the text

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
25 Oct 2002 08:52:51 -0000


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gkodinov@openlinksw.co.uk.

http://bugzilla.ximian.com/show_bug.cgi?id=32807

--- shadow/32807	Thu Oct 24 11:27:37 2002
+++ shadow/32807.tmp.27152	Fri Oct 25 04:52:51 2002
@@ -2,15 +2,15 @@
 Product: Mono/Class Libraries
 Version: unspecified
 OS: Red Hat 7.0
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Blocker
-Component: System.XML
+Component: System
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: gkodinov@openlinksw.co.uk               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Summary: XmlDocument.LoadXml () throwing exception when there's an <?xml ?> element in the text
@@ -36,6 +36,17 @@
 
 
 ------- Additional Comments From gkodinov@openlinksw.co.uk  2002-10-24 11:27 -------
 Created an attachment (id=2644)
 gogo.cs
 
+
+------- Additional Comments From gkodinov@openlinksw.co.uk  2002-10-25 04:52 -------
+The XML part is OK by itself - the problem is further isolated to be 
+in System.Text.RegularExpressions.Regex().
+
+The following will throw an exception :
+new Regex ("((?<ver>a)|(?<ver>b))", RegexOptions.Compiled)
+
+Note the repetion of (?<ver>) on both sides of the OR (|) clause.
+
+This compiles OK under MS.NET.