You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Brian Minchau (JIRA)" <xa...@xml.apache.org> on 2005/04/06 07:15:17 UTC

[jira] Updated: (XALANJ-2078) [PATCH] MalformedURIException illegal host (Registry-based Naming Authority)

     [ http://issues.apache.org/jira/browse/XALANJ-2078?page=history ]

Brian Minchau updated XALANJ-2078:
----------------------------------

    Assign To: Yash Talwar

Assigning to Yash Talwar, per the Xalan JIRA meeting on April 5, 2005.

Yash, the patch is in the right area, I'm just concerned that it will stop other legitimate MalformedURIExceptions from being thrown, and change our current behavior. We probably need a little extra work here on checking if the URI uses registery-based authority. I wish I know more about that, but we are handing this issue to you.

> [PATCH] MalformedURIException illegal host (Registry-based Naming Authority)
> ----------------------------------------------------------------------------
>
>          Key: XALANJ-2078
>          URL: http://issues.apache.org/jira/browse/XALANJ-2078
>      Project: XalanJ2
>         Type: Bug
>   Components: Other
>     Versions: 2.6
>  Environment: All
>     Reporter: Dieter Wachters
>     Assignee: Yash Talwar
>  Attachments: uri.patch
>
> A URI with a registry-based authority can't be handled by the URI class
> (in org.apache.xml.utils).
> It only suspects a server-based authority component
> (<userinfo>@<host>:<port>).
> So when using a URI with registry-based authority in an XSL file, a
> MalformedURIException is thrown due to an illegal host.
> I added a patch that sets the host (and port and userinfo) to null when a
> MalformedURIException occurs in the setHost method while parsing the
> authority part.
> It still cannot handle authorities, but it doesn't throw the
> MalformedURIException anymore. It fixed my problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org