[Mono-docs-list] Re: SourceID in monodoc does not work under xsp

Miguel de Icaza miguel@ximian.com
12 Jul 2003 20:03:05 -0400


Hello,

> I have been trying to get MonkeyGuide to work with monodoc aspx.
> However, the SourceID is making this task next to impossible.
> 
> The source id is assigned from a static int field, which is incremented
> every time a help source is loaded. However, the fact that a tree might
> be loaded multiple times inside one process (as it is in xsp) was not
> taken into account.
> 
> I think we should attempt to change the sourceid to something that will
> be ok to use from xsp.

You should not load a source more than once.  The problem is not the
source-id, but the fact that a single provider is loaded more than once.