BPELtools / bpelscript

BPELscript is a compact syntax for WS-BPEL 2.0
http://bpeltools.github.io/bpelscript/
Apache License 2.0
3 stars 0 forks source link

sref:service-ref in assign #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If an assign is of the following form:
--cut--
  <copy>
    <from>
      <literal>
        <sref:service-ref>
          <addr:EndpointReference>
            <addr:Address>
http://example.com/auction/
RegistrationService/
            </addr:Address>
            <addr:ServiceName>
as:RegistrationService
            </addr:ServiceName>
          </addr:EndpointReference>
        </sref:service-ref>
      </literal>
    </from>
    <to partnerLink="auctionRegistrationService" />
  </copy>
--end--

bosto complains with

--cut--
line 79:25: expecting PCDATA, found 'sref:service-ref'
line 85:27: expecting "<to>", found 'addr:ServiceName'
line 91:12: expecting EOF, found ''
--end--

Sample process: auction service of BPEL spec.
--end--

Original issue reported on code.google.com by oliver.k...@gmail.com on 28 Jan 2009 at 7:56

Attachments:

GoogleCodeExporter commented 9 years ago
Reasoning: BPELscript leaks support for Service Reference Schema of BPEL.
Solution: 
> QuickFix: use <![CDATA[ ... ]]> for short
> ClearFix: Add corresponding rules to grammar.

Original comment by mc.bisc...@googlemail.com on 7 Feb 2009 at 7:04