OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-j message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [sca-j] NEW ISSUE: ejb binding @uri has the wrong schema


Looking at RFC 2396, I don't think you can have '#' in a fragment unless 
it is escaped.

Per section 4.1:
fragment = *uric

Per section 2:
uric = reserved | unreserved | escaped

and '#' isn't part of reserved or unreserved.

So, don't think you jumped the gun, but if the absolute URI has two 
unescaped '#' characters, isn't that an invalid URI?

-Anish
--

David Booz wrote:
> I am willing to believe I jumped the gun. Issues are easy to close if 
> they don't get accepted.
> 
> Can a fragment identifier contain a '#'? I've got an absolute URI for an 
> ejb that has two '#' characters in it (not back to back).
> 
> Dave Booz
> STSM, BPM and SCA Architecture
> Co-Chair OASIS SCA-Policy TC and SCA-J TC
> "Distributed objects first, then world hunger"
> Poughkeepsie, NY (845)-435-6093 or 8-295-6093
> e-mail:booz@us.ibm.com
> 
> Inactive hide details for Anish Karmarkar ---10/29/2008 02:45:44 
> PM---Dave, xs:anyURI allows absolute URIs, relative URIs as weAnish 
> Karmarkar ---10/29/2008 02:45:44 PM---Dave, xs:anyURI allows absolute 
> URIs, relative URIs as well as URI references.
> 
> 
> From:	
> Anish Karmarkar <Anish.Karmarkar@oracle.com>
> 
> To:	
> David Booz/Poughkeepsie/IBM@IBMUS
> 
> Cc:	
> sca-j@lists.oasis-open.org
> 
> Date:	
> 10/29/2008 02:45 PM
> 
> Subject:	
> Re: [sca-j] NEW ISSUE: ejb binding @uri has the wrong schema
> 
> ------------------------------------------------------------------------
> 
> 
> 
> Dave,
> 
> xs:anyURI allows absolute URIs, relative URIs as well as URI references.
>  [1] explicit talks about fragment identifiers. It seems to me that
> xs:anyURI does allow the '#' character.
> 
> I'm sure schema experts on this list will correct me if I'm wrong.
> 
> -Anish
> --
> 
> [1] http://www.w3.org/TR/xmlschema-2/#anyURI
> 
> David Booz wrote:
>  > TARGET: EJB Binding spec [1]
>  >
>  > DESCRIPTION:
>  >
>  > binding.ejb/@uri is typed as a anyURI. This is because the EJB binding
>  > inherits this attribute from the base binding schema.
>  > The problem is that anyURI doesn't allow the '#' character. The EJB
>  > binding spec builds on the CORBA location syntax
>  > which includes the '#' character. See lines 103-115 [1]
>  >
>  > PROPOSAL:
>  > None.
>  >
>  >
>  > [1]
>  > 
> http://www.oasis-open.org/apps/org/workgroup/sca-j/download.php/25979/sca-jejbbinding-1.1-spec-wd-02.doc
>  >
>  > Dave Booz
>  > STSM, BPM and SCA Architecture
>  > Co-Chair OASIS SCA-Policy TC and SCA-J TC
>  > "Distributed objects first, then world hunger"
>  > Poughkeepsie, NY (845)-435-6093 or 8-295-6093
>  > e-mail:booz@us.ibm.com
>  >
> 
> 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]