[Mono-devel-list] Re: XmlDocument Load method bug ?

Atsushi Eno ginga at kit.hi-ho.ne.jp
Tue Dec 9 11:21:43 EST 2003


Hello,

Hmm, then please try this patch for XmlUrlResolver.cs (in fact it is 
nothing but reverting the latest fix, maybe needed because of recent Uri 
behavior change). Sorry to say, but today and tomorrow I had and will 
have little time to test enough. That tricky code block was added when I 
received the same or similar problem related to this problem.

Thanks,
Atsushi Eno

Francisco Figueiredo Jr. wrote:
> Atsushi Eno wrote:
> 
>>>> After installing today's mono daily I've reinstalled monodoc and I 
>>>> get this error (I guess this is from XmlDocument.Load Method):
>>>
>>>
>>> Some people reported similar bug. Looks the latest System.Uri has 
>>> some problem. First I'll file a bugzilla, and then, look into that 
>>> problem.
>>
>>
>>
>> Now fixed in cvs.
>>
> 
> Hi Atsushi.
> 
> Thanks for the fix.
> 
> Monodoc is working again, but I still get errors with NAnt.
> It seems that it eats up the /home in the path.
> 
> Here is the stack trace I get when trying to build NAnt from cvs with 
> latest mono and mcs from cvs:
> 
> Note that the path is missing the /home part.
> 
> 
> System.IO.FileNotFoundException: Could not find file 
> "/fxjr/Desenvolvimento/CVSRepositories/nant/NAnt.build"
> in <0x002fa> System.IO.FileStream:.ctor 
> (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,bool) 
> 
> in <0x00043> System.IO.FileStream:.ctor 
> (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
> in <0x00081> (wrapper remoting-invoke-with-check) 
> System.IO.FileStream:.ctor 
> (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
> in <0x0014c> System.Xml.XmlUrlResolver:GetEntity 
> (System.Uri,string,System.Type)in <0x00110> 
> Mono.Xml.Native.XmlInputStream:.ctor 
> (string,bool,System.Xml.XmlResolver,string)
> in <0x0008f> (wrapper remoting-invoke-with-check) 
> Mono.Xml.Native.XmlInputStream:.ctor 
> (string,bool,System.Xml.XmlResolver,string)
> in <0x00036> Mono.Xml.Native.XmlStreamReader:.ctor 
> (string,bool,System.Xml.XmlResolver,string)
> in <0x00018> Mono.Xml.Native.XmlStreamReader:.ctor 
> (string,System.Xml.XmlResolver,string)
> in <0x0007b> (wrapper remoting-invoke-with-check) 
> Mono.Xml.Native.XmlStreamReader:.ctor 
> (string,System.Xml.XmlResolver,string)
> in <0x0003b> System.Xml.XmlTextReader:.ctor 
> (string,System.Xml.XmlNameTable)
> in <0x00039> System.Xml.XmlTextReader:.ctor (string)
> in <0x00195> NAnt.Core.LocationMap:Add (System.Xml.XmlDocument)
> in <0x00076> NAnt.Core.Project:InitializeProjectDocument 
> (System.Xml.XmlDocument)
> in <0x00270> NAnt.Core.Project:Execute ()
> in <0x00173> NAnt.Core.Project:Run ()
> 
> 
> Thanks in advance.
> 
> Francisco Figueiredo Jr.
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: XmlUrlResolver.patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20031210/2481ac27/attachment.pl 


More information about the Mono-devel-list mailing list