https://bugzilla.novell.com/show_bug.cgi?id=353654


           Summary: Creating a new XmlNamespaceManager using DTD raise an
                    error
           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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          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)
[0x00000] 
  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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to