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


           Summary: Spring fails to register assembly:// URI handler
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


Created an attachment (id=263682)
 --> (https://bugzilla.novell.com/attachment.cgi?id=263682)
test case

When Spring.Net tries to reference xsd schema files embedded in assemblies, it
does so trough a assembly:// URI handler. This fails on Mono (2.0.1 & svn
r122601, Windows & Linux) - the handler is registered, but the URI still fails
to parse (exception "System.UriFormatException : Invalid URI: The hostname
could not be parsed." is thrown in the constructor).

Short test case attached.

Expected output:
Registering handler for assembly
Complted successfully

Actual output:
Registering handler for assembly
Unhandled Exception: System.UriFormatException: Invalid URI: The hostname could
not be parsed.
  at System.Uri.Parse (UriKind kind, System.String uriString) [0x00000] 
  at System.Uri.ParseUri (UriKind kind) [0x00000] 
  at System.Uri..ctor (System.String uriString, Boolean dontEscape) [0x00000] 
  at System.Uri..ctor (System.String uriString) [0x00000] 
  at MonoUriHostNotFoundBug.Program.Main (System.String[] args) [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.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to