[Mono-bugs] [Bug 443508] monodoc crashes with selecting namespace node
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Mar 1 18:11:20 EST 2009
https://bugzilla.novell.com/show_bug.cgi?id=443508
User jpryor at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=443508#c4
Jonathan Pryor <jpryor at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Jonathan Pryor <jpryor at novell.com> 2009-03-01 16:11:18 MST ---
Fully fixed in trunk r128318.
2009-03-01 Jonathan Pryor <jpryor at novell.com>
* Monodoc/ecma-provider.cs: Viewing type members (plural, e.g. the
Fields sub-node) would result in a stack overflow within
Resources/mdoc-html-utils.xsl:GetInheritedMembers(), because the
document() XSLT function was being used to obtain the base type's
documentation. It stack overflowed because the XmlUrlResolver was
being used, which when given e.g. file:///DocAttribute.xml, would
return file:///DocAttribute.xml (which makes sense), but it was
non-terminating. (I find this troubling as it should have been
trying to resolve e.g. System.Attribute, not DocAttribute; it must
be some XmlTransform-fu that was substituting documents.)
The fix is for EcmaUncompiledHelpSource to provide an alternate
document XmlResolver, one which always returns null from
XmlResolver.ResolveUri(), thus preventing endless recursion.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list