[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] Created: (JELLY-208) JellyContext.getJellyContextURL() assumes slashes
From:       "Thomas Burns (JIRA)" <commons-dev () jakarta ! apache ! org>
Date:       2005-03-31 22:48:26
Message-ID: 203324079.1112309306918.JavaMail.jira () ajax ! apache ! org
[Download RAW message or body]

JellyContext.getJellyContextURL() assumes slashes
-------------------------------------------------

         Key: JELLY-208
         URL: http://issues.apache.org/jira/browse/JELLY-208
     Project: jelly
        Type: Bug
    Versions: 1.0-RC1    
    Reporter: Thomas Burns


The method org.apache.commons.jelly.JellyContext.getJellyContextURL() (both the URL \
and InputSource version of this method) assumes that the supplied URL or \
InputSource.getSystemId() uses forward slashes as part of the URL or systemId.

Our system uses a custom URL protocol (or "scheme" in URL-lingo) that does not use \
slashes, and when the URL is used within Jelly (such as in the core import tag) this \
method fails due to the assumption that the URL must have at least one forward slash. \
Also, this bug will appear if an http URL is specified that does not include any \
slashes (for example, if the web server was to serve a jelly script as its default \
page).

It should be noted that the "scheme-specific-part" (the path-portion of the URL) is \
defined by the scheme and need follow no specific layout requirements, such as the \
use of slashes as separators.

References:
URI RFC: http://www.faqs.org/rfcs/rfc2396.html
URL RFC: http://www.faqs.org/rfcs/rfc1738.html

-- 
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic