[ 
https://issues.apache.org/jira/browse/TUSCANY-242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simon Laws reassigned TUSCANY-242:
----------------------------------

    Assignee: Simon Laws  (was: Rick Rineholt)

> SCDL loader should trim the whitespaces when the element text is parsed
> -----------------------------------------------------------------------
>
>                 Key: TUSCANY-242
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-242
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Assembly Model
>    Affects Versions: Java-M1
>            Reporter: Raymond Feng
>            Assignee: Simon Laws
>             Fix For: Java-M1, Java-SCA-M2
>
>
> SCDL loader should trim the whitespaces when the element text is parsed.
> If I use the following SCDL section:
>       <entryPoint name="InteropDocService">
>               <interface.wsdl
>                       interface="http://soapinterop.org/#DocTestPortType"; />
>               <binding.ws port="http://soapinterop.org/#interopDocPort"; />
>               <reference>
>                       InteropDocServiceComponent/DocTestPortType
>               </reference>
>       </entryPoint>
> The \t, \n will show up as follows and the lookup will fail.
> targetURI= ServiceURIImpl  (id=119)
>       address= 
> "sca:////\n\t\t\tInteropDocServiceComponent/DocTestPortType\n\t\t"
>       isParsed= true
>       isSCAScheme= Boolean  (id=124)
>       moduleComponentName= ""
>       partName= "\n\t\t\tInteropDocServiceComponent"
>       serviceName= "DocTestPortType\n\t\t"
> Note:
> The following format works fine.
>       <reference>InteropDocServiceComponent/DocTestPortType</reference>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to