- From: Laurent Henocque <laurent.henocque@gmail.com>
- Date: Tue, 30 May 2006 19:12:25 +0200
- To: verma@cs.uga.edu
- CC: public-ws-semann@w3.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I cannot understand this, sorry. Despite your immediate reaction, could you propose a valid way of saying the same thing? Cheers Laurent Kunal Verma wrote: > Hi all, > > This looks like a neat idea but our visceral reaction to this proposal > is that it seems rather complex and expansive. > > More technically though we wonder how this may affect other things > like "element" level annotations. We are not sure if "element" in XML > schema can be extended by a modelReference element. We looked at the > definition of "element" at the following URL: > > http://www.w3.org/TR/xmlschema-1/#cElement_Declarations > > <element > ................ > type = QName > {any attributes with non-schema namespace . . .}> > Content: (annotation?, ((simpleType | complexType)?, (unique | key | > keyref)*)) > </element> > > While it says that any attributes can be added to "element", it is > restricted in what can be a child element (Content). > > Thanks, > Kunal Verma and John Miller > > > > > > > > On 5/30/06, Kunal Verma <verma@cs.uga.edu> wrote: >> From: Laurent Henocque <laurent.henocque@gmail.com> >> Date: Fri, 26 May 2006 15:15:04 +0200 >> Message-ID: <4476FF58.4000500@gmail.com> >> To: SAWSDL WG <public-ws-semann@w3.org> >> > As a follow up to ACTION 07, I am proposing a simple example of what > multiple annotation/multiple mapping/annotation > contexts might look like. Please accept my apologies for naive errors. > > The change to > http://www.w3.org/2002/ws/sawsdl/spec/SAWSDL.html#RunningExample > occurs at the begininning (several mentions of "annotationContext" - > one contribution thx to virtual Jacek ;-)) and I > only added model references for the buyBook operation. Each model > reference is linked to an annotation context, and > accepts several distinct mappings. > > I hope this will help to understand my suggestions, and that is is > close to something realistic. > > > <?xml version="1.0" encoding="UTF-8"?> > <wsdl:description targetNamespace="http://simple.example.org/bookseller#" > xmlns:wsdl="http://www.w3.org/2006/01/wsdl" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > xmlns="http://simple.example.org/po#" > xmlns:sawsdl="http://www.w3.org/2002/ws/sawsdl/spec/sawsdl#" > > > > // >>>>>>>>>>>>>> Contex inserted here: > <sawsdl:annotationContext id="sawsdlcxt:lh0.0.a" author="Laurent > Henocque" version="0.0.alpha" date="06/05/26"> > <sawsdl:annotationContext id="sawsdlcxt:jk1" author="Jacek Kopecky" > version="0.1.b" date="06/05/28"> > > <wsdl:types> > <xs:schema targetNamespace="http://simple.example.org/po#" > elementFormDefault="qualified"> > <xs:element name="BuyBookRequest"> > <xs:complexType> > <xs:all> > <xs:element name="customerNo" type="xs:integer" /> > <xs:element name="order"> > <xs:complexType> > <xs:sequence minOccurs="1" maxOccurs="unbounded"> > <xs:element name="quantity" type="xs:integer" /> > <xs:element name="ISBN" type="xs:string" /> > </xs:sequence> > </xs:complexType> > </xs:element> > </xs:all> > </xs:complexType> > </xs:element> > <xs:element name="BuyBookResponse" type="xs:boolean"/> > </xs:schema> > </wsdl:types> > > <wsdl:interface name="BookSeller"> > <wsdl:operation name="buyBook" > pattern="http://www.w3.org/2006/01/wsdl/in-out"> > > // >>>>>>>>>>>>>> annotations begin here > <sawsdl:modelReference context="sawsdlcxt:lh0.0.a" > ref="http://example.org/ontologies/purchaseorder#Order"> > > <sawsdl:schemaMapping="http://example.org/examples/buyBook2Order.xsl"> > > <sawsdl:schemaMapping="http://example.org/examples/buyBook2Order.rdf"> > </sawsdl:modelReference > <sawsdl:modelReference context="sawsdlcxt:jk1" > ref="http://example.org/moreontologies/PO#Order"> > > <sawsdl:schemaMapping="http://example.org/examples/jk1.xquery"> > > <sawsdl:schemaMapping="http://example.org/examples/buyBook2Order.jkspecificmapping"> > > </sawsdl:modelReference> > > <wsdl:input element="BuyBookRequest"/> > <wsdl:output element="BuyBookResponse"/> > </wsdl:operation> > </wsdl:interface> > </wsdl:description> > -- > ************************************************************************* > Laurent Henocque > Maître de Conférences Hdr > tel: +33 6 83 88 20 01 > Enseignant à l'Ecole Supérieure d'Ingénieurs de Luminy - Marseille > http://www.esil.univ-mrs.fr > Chercheur au Laboratoire des Sciences de l'Information et des Systèmes > - Marseille > http://www.lsis.org > > clé publique open pgp / open pgp public key : > http://www.esil.univ-mrs.fr/~henocque/0x987E183.pub.asc > ************************************************************************ >> - -- ************************************************************************* Laurent Henocque Maître de Conférences Hdr tel: +33 6 83 88 20 01 Enseignant à l'Ecole Supérieure d'Ingénieurs de Luminy - Marseille http://www.esil.univ-mrs.fr Chercheur au Laboratoire des Sciences de l'Information et des Systèmes - Marseille http://www.lsis.org clé publique open pgp / open pgp public key : http://www.esil.univ-mrs.fr/~henocque/0x987E183.pub.asc ************************************************************************ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEfHz4IF1tz5h+GDARArcjAJ4sM3rtrLuqd0XcNMWmuRo5OrBj0ACeORQT wtYb0ax2wquF1NpMolqHm14= =IIOz -----END PGP SIGNATURE-----
Received on Tuesday, 30 May 2006 17:12:33 UTC