[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [wsbpel] Inconsistent syntax for query attribute values in specexamples
Ugo Corda wrote: > It looks like the syntax for query attribute values is inconsistent > throughout the examples presented in the spec. > mm1: This brings up a request I made to John Evdemon, that the schemas be formally submitted to the TC, rather than only the fragments in the specification, and a URL. > - On page 38: > > <bpws:propertyAlias propertyName="tns:taxpayerNumber" > messageType="txmsg:taxpayerInfo" part="identification" > query="/socialsecnumber"/> > > instead of query="/identification/socialsecnumber" > > - On page 49: > > <bpws:propertyAlias propertyName="cor:customerID" > messageType="tns:POMessage" part="PO" > query="/PO/CID"/> > > (and similarly the three following propertyAlias elements in the same > example) > > - On page 92: > > <bpws:propertyAlias propertyName="tns:shipOrderID" > messageType="sns:shippingNoticeMsg" > part="shipNotice" > query="/ShipNoticeHeader/shipOrderID"/> > > instead of query="/shipNotice/ShipNoticeHeader/shipOrderID" > (and similarly the four following propertyAlias elements in the same > example) > > > It seems to me that the example on page 49 is correct and the other > ones are wrong. > > In fact, sec. 14.3, Assignment, says: > > "For XPath 1.0, the value of the query attribute MUST be an absolute > locationPath (with '/' meaning the root of the document fragment > representing the entire part). It is used to identify the root of a > subtree within the document fragment representing the part." > > and sec. 8.2, Defining Properties, says: > > "The interpretation of the message, part, and query attributes is the > same as in the corresponding from-spec in copy assignments (see > Assignment). > > Ugo > > P.S. I did not submit this as an issue yet because I want to first > make sure that I am not missing anything in my interpretation of the > spec and related examples. >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]