[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [Fwd: [JIRA] Updated: (REGREPTC-118) Need QueryResponse to allowreturning non-RegistryObjectList response such as a SPARQL response.]
Dear colleagues, Please comment on this new issue and proposed solution. Note that this allows the following spec content to be written for OWL profile 2.0: QueryResponse RequirementsA server MUST process a SPARQL query and return its response within a QueryResponse. The following additional requirements are defined for a server to return a QueryResponse for a SPARQL query:
The following example shows SPARQL response within a QueryResponse:
<query:QueryResponse
...> Thanks. -- Regards, Farrukh Web: http://www.wellfleetsoftware.com |
--- Begin Message ---
- From: WxForge JIRA <jirauser@mailhub.wx.ll.mit.edu>
- To: farrukh@wellfleetsoftware.com
- Date: Thu, 22 Oct 2009 12:45:24 -0400 (EDT)
[ http://wxforge.wx.ll.mit.edu:8080/jira/browse/REGREPTC-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Farrukh Najmi updated REGREPTC-118: ----------------------------------- Summary: Need QueryResponse to allow returning non-RegistryObjectList response such as a SPARQL response. (was: Need QuueryResponse to allow returning non-RegistryObjectList response such as a SPARQL response.) Description: The proposed solution is to simply add an xs:any element in RegistryResponseType as follows: <complexType name="RegistryResponseType"> <annotation> <documentation xml:lang="en">Base type for all ebXML Registry responses</documentation> </annotation> <complexContent> <extension base="rim:ExtensibleObjectType"> <sequence> <element name="RegistryObjectList" type="rim:RegistryObjectListType" minOccurs="0" maxOccurs="1"/> <!--Add the following--> <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="1"/> </sequence> <attribute name="status" type="rim:objectReferenceType" use="required"/> <!-- id is the request if for the request for which this is a response --> <attribute name="requestId" type="anyURI" use="optional"/> </extension> </complexContent> </complexType> This allows for a QueryResponse to include an arbitrary XML document. For non-XML formats the XML document could simply any wrapper element with content that is the non-XML content. > Need QueryResponse to allow returning non-RegistryObjectList response such as a SPARQL response. > ------------------------------------------------------------------------------------------------ > > Key: REGREPTC-118 > URL: http://wxforge.wx.ll.mit.edu:8080/jira/browse/REGREPTC-118 > Project: ebXML RegRep TC > Issue Type: Improvement > Components: ebRS 4.0 Spec > Reporter: Farrukh Najmi > Assignee: Farrukh Najmi > > The proposed solution is to simply add an xs:any element in RegistryResponseType as follows: > <complexType name="RegistryResponseType"> > <annotation> > <documentation xml:lang="en">Base type for all ebXML Registry responses</documentation> > </annotation> > <complexContent> > <extension base="rim:ExtensibleObjectType"> > <sequence> > <element name="RegistryObjectList" type="rim:RegistryObjectListType" minOccurs="0" maxOccurs="1"/> > <!--Add the following--> > <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="1"/> > </sequence> > <attribute name="status" type="rim:objectReferenceType" use="required"/> > <!-- id is the request if for the request for which this is a response --> > <attribute name="requestId" type="anyURI" use="optional"/> > </extension> > </complexContent> > </complexType> > This allows for a QueryResponse to include an arbitrary XML document. For non-XML formats the XML document could simply any wrapper element with content that is the non-XML content. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://wxforge.wx.ll.mit.edu:8080/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira--- End Message ---
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]