[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Updated: (ODATA-485) Add example for UrlRef expression that contains a literal string that is a URL
[ http://tools.oasis-open.org/issues/browse/ODATA-485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ralf Handl updated ODATA-485: ----------------------------- Summary: Add example for UrlRef expression that contains a literal string that is a URL (was: Clarify that element notation of UrlRef expression can directly contain a literal string that is a URL) Description: The second sentence in section 14.5.15 Expression UrlRef states that The edm:UrlRef element MUST contain exactly one expression of type Edm.String. This caused questions whether the correct form is <UrlRef>http://some/url</UrlRef> or <UrlRef><String>http://some/url<String></UrlRef> Only the second form is allowed. was: The second sentence in section 14.5.15 Expression UrlRef states that The edm:UrlRef element MUST contain exactly one expression of type Edm.String. This caused questions whether the correct form is <UrlRef>http://some/url</UrlRef> or <UrlRef><String>http://some/url<String></UrlRef> Both forms are allowed and yield the same result, but the shorter first form is preferred Proposal: Add example with allowed form for "static" URL. State that <String> wrapper is required (was: Add example with preferred short form. State that the literal could be wrapped in a <String> element, but that it is not necessary.) > Add example for UrlRef expression that contains a literal string that is a URL > ------------------------------------------------------------------------------ > > Key: ODATA-485 > URL: http://tools.oasis-open.org/issues/browse/ODATA-485 > Project: OASIS Open Data Protocol (OData) TC > Issue Type: Improvement > Components: OData CSDL > Affects Versions: V4.0_CS > Environment: [Proposed] > Reporter: Ralf Handl > Fix For: V4.0_ERRATA01 > > > The second sentence in section 14.5.15 Expression UrlRef states that > The edm:UrlRef element MUST contain exactly one expression of type Edm.String. > This caused questions whether the correct form is > <UrlRef>http://some/url</UrlRef> > or > <UrlRef><String>http://some/url<String></UrlRef> > Only the second form is allowed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]