[Mono-bugs] [Bug 79085][Nor] New - stack overflow on recursive entity definition
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Aug 16 08:38:42 EDT 2006
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 andrews at mainsoft.com.
http://bugzilla.ximian.com/show_bug.cgi?id=79085
--- shadow/79085 2006-08-16 08:38:42.000000000 -0400
+++ shadow/79085.tmp.11677 2006-08-16 08:38:42.000000000 -0400
@@ -0,0 +1,49 @@
+Bug#: 79085
+Product: Mono: Class Libraries
+Version: unspecified
+OS: other
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Sys.XML
+AssignedTo: atsushi at ximian.com
+ReportedBy: andrews at mainsoft.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: stack overflow on recursive entity definition
+
+Steps to reproduce the problem:
+1. compile the source
+2. put 001.xml and 001.ent in the current dir
+3. run
+
+Actual Results:
+stack overflow
+
+Expected Results:
+MS.NET throws an XmlException, like the following
+
+Unhandled Exception: System.Xml.XmlException: General entity 'e'
+references itself. Line 1, position 2.
+ at System.Xml.XmlTextReaderImpl.Throw(Exception e)
+ at System.Xml.XmlTextReaderImpl.HandleGeneralEntityReference(String
+name, Boolean isInAttributeValue, Boolean pushFakeEntityIfNullResolver,
+Int32 entityStartLinePos)
+ at System.Xml.XmlTextReaderImpl.ResolveEntity()
+ at System.Xml.XmlLoader.LoadEntityReferenceNode(Boolean direct)
+ at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
+ at System.Xml.XmlLoader.LoadEntityReferenceNode(Boolean direct)
+ at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
+ at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
+ at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean
+preserveWhitespace)
+ at System.Xml.XmlDocument.Load(XmlReader reader)
+ at ConsoleApplication5.Class1.Main(String[] args) in
+E:\try\ConsoleApplicatio
+
+How often does this happen?
+Always
More information about the mono-bugs
mailing list