[Mono-bugs] [Bug 353654] New: Creating a new XmlNamespaceManager using DTD raise an error

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jan 14 11:11:33 EST 2008


           Summary: Creating a new XmlNamespaceManager using DTD raise an
           Product: Mono: Class Libraries
           Version: 1.2.6
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.XML
        AssignedTo: atsushi at ximian.com
        ReportedBy: fog at initd.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Created an attachment (id=190432)
 --> (https://bugzilla.novell.com/attachment.cgi?id=190432)
Stand-along test that throw an exception when creating a new XmlParserContext

Trying to create a new XmlNamespaceManager using the ctor with all parameters
always raise the same exception (attached below). The problem is probably in
XmlParserContext.cs:141 where the new XmlTextReaderImpl always get an empty
string as first parameter. A simple stand-alone test that throw the exception
is attached below.

Unhandled Exception: System.ArgumentException: The specified path is not of a
legal form (empty).
Parameter name: path
  at System.IO.Path.InsecureGetFullPath (System.String path) [0x00000] 
  at System.IO.Path.GetFullPath (System.String path) [0x00000] 
  at System.Xml.XmlResolver.ResolveUri (System.Uri baseUri, System.String
relativeUri) [0x00000] 
  at System.Xml.XmlUrlResolver.ResolveUri (System.Uri baseUri, System.String
relativeUri) [0x00000] 
  at Mono.Xml2.XmlTextReader.GetStreamFromUrl (System.String url,
System.String& absoluteUriString) [0x00000] 
  at Mono.Xml2.XmlTextReader..ctor (System.String url, System.Xml.XmlNameTable
nt) [0x00000] 
  at System.Xml.XmlParserContext..ctor (System.Xml.XmlNameTable nt,
System.Xml.XmlNamespaceManager nsMgr, System.String docTypeName, System.String
pubId, System.String sysId, System.String internalSubset, System.String
baseURI, System.String xmlLang, XmlSpace xmlSpace, System.Text.Encoding enc)
  at Test.Main () [0x00000]

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