You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Rick Rineholt (JIRA)" <tu...@ws.apache.org> on 2006/05/08 05:52:22 UTC

[jira] Resolved: (TUSCANY-242) SCDL loader should trim the whitespaces when the element text is parsed

     [ http://issues.apache.org/jira/browse/TUSCANY-242?page=all ]
     
Rick Rineholt resolved TUSCANY-242:
-----------------------------------

    Resolution: Fixed

http://svn.apache.org/viewcvs?rev=404910&view=rev

> SCDL loader should trim the whitespaces when the element text is parsed
> -----------------------------------------------------------------------
>
>          Key: TUSCANY-242
>          URL: http://issues.apache.org/jira/browse/TUSCANY-242
>      Project: Tuscany
>         Type: Bug

>   Components: Java SCA Model
>     Versions: M1
>     Reporter: Raymond Feng
>     Assignee: Rick Rineholt
>      Fix For: M1, Mx

>
> 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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira