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/07 20:53:21 UTC

[jira] Closed: (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 closed TUSCANY-242:
---------------------------------

    Fix Version: Mx
     Resolution: Won't Fix

I understand that this would be a nice useablity feature.  However it's not clear from what I could find in the specification if ignoring the white space and crl/lf is proper behavior.  I would prefer to stay more conservative about what we accept in the SCDL than accept things we may later need to reject.  I would like to see in the SCA specification make it clear that this ok before we do this.

> 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