[Mono-list] There are still problems with the XMLDocument class...

Giuseppe Greco giuseppe.greco@agamura.com
20 Jun 2003 23:48:45 +0200


Hi all,

last week I reported the following bug into bugzilla:
http://bugzilla.ximian.com/show_bug.cgi?id=44784

This bug has been marked as duplicated and solved, but
I'm still not able to compile NAnt on Linux:

INTERNAL ERROR
 
System.IO.FileNotFoundException: Could not find file "file://home/home/genius/projects/nant/NAnt.build"
in <0x002ff> 00 System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,bool)
in <0x00049> 00 System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess)
in <0x0008a> 08 System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess)
in <0x00064> 00 Mono.Xml.Native.XmlInputStream:.ctor (string,bool)
in <0x0007a> 08 Mono.Xml.Native.XmlInputStream:.ctor (string,bool)
in <0x0002f> 00 Mono.Xml.Native.XmlStreamReader:.ctor (string,bool)
in <0x00012> 00 Mono.Xml.Native.XmlStreamReader:.ctor (string)
in <0x00066> 08 Mono.Xml.Native.XmlStreamReader:.ctor (string)
in <0x000ed> 00 System.Xml.XmlTextReader:.ctor (string,System.Xml.XmlNameTable)
in <0x000f3> 00 System.Xml.XmlTextReader:.ctor (string)
in <0x001a8> 00 NAnt.Core.LocationMap:Add (System.Xml.XmlDocument)
in <0x0004c> 00 NAnt.Core.Project:InitializeProjectDocument (System.Xml.XmlDocument)
in <0x00041> 00 NAnt.Core.Project:Execute ()
in <0x0018b> 00 NAnt.Core.Project:Run ()

As you can see, XMLDocument.BaseURI returns
"file://home/home/genius/projects/nant/NAnt.build" instead of
"file:///home/genius/projects/nant/NAnt.build".

I checked out Mono from CVS 10 minutes ago, and the
problem with the XMLDocument class is still there.

Gius_.

-- 
----------------------------------------
Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  giuseppe.greco@agamura.com
web:    www.agamura.com
----------------------------------------