[ http://issues.apache.org/jira/browse/TUSCANY-242?page=all ]
Jean-Sebastien Delfino updated TUSCANY-242: ------------------------------------------- Fix Version: 0.91 Version: 0.91 It is very likely that users are going to run into this issue if they use editors that format the XML documents. > 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: 0.91 > Reporter: Raymond Feng > Fix For: 0.91 > > 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