[Mono-bugs] [Bug 464235] New: Spring fails to register assembly:// URI handler

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 7 14:25:55 EST 2009


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: mono-bugs at lists.ximian.com
        ReportedBy: skolima at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          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.


More information about the mono-bugs mailing list