[
https://issues.apache.org/jira/browse/TUSCANY-242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840179#action_12840179
]
Simon Laws commented on TUSCANY-242:
------------------------------------
At revision: 918054 I've applied a similar change to our 2.x code base and
used the code to read in just the "composite service promotes" attribute. Will
check on the ML that there isn't an easy way to detect anyURI attributes before
changing the processors for all of the following attributes:
sca-binding-jms-1.1-cd04.xsd (5 matches)
36: <attribute name="initialContextFactory" type="anyURI"/>
37: <attribute name="jndiURL" type="anyURI"/>
58: <attribute name="jndiName" type="anyURI" use="required"/>
75: <attribute name="jndiName" type="anyURI" use="required"/>
85: <attribute name="jndiName" type="anyURI" use="required"/>
sca-binding-ws-1.1-cd04.xsd
30: <attribute name="wsdlElement" type="anyURI" use="optional"/>
sca-contribution-1.1-cd04.xsd
62: <attribute name="location" type="anyURI" use="optional"/>
sca-contribution-java-1.1-cd02.xsd
17: <attribute name="location" type="anyURI" use="optional"/>
sca-core-1.1-cd04.xsd (13 matches)
73: <attribute name="targetNamespace" type="anyURI" use="required"/>
112: <attribute name="promote" type="anyURI" use="required"/>
136: <attribute name="target" type="sca:listOfAnyURIs"
142: <attribute name="promote" type="sca:listOfAnyURIs"
205: <attribute name="file" type="anyURI" use="optional"/>
223: <attribute name="uri" type="anyURI" use="optional"/>
343: <attribute name="target" type="sca:listOfAnyURIs"
444: <attribute name="source" type="anyURI" use="required"/>
445: <attribute name="target" type="anyURI" use="required"/>
478: <attribute name="targetNamespace" type="anyURI"/>
489: <attribute name="callback" type="anyURI"/>
523: <simpleType name="listOfAnyURIs">
524: <list itemType="anyURI"/>
sca-definitions-1.1-cd04.xsd
26: <attribute name="targetNamespace" type="anyURI" use="required"/>
sca-implementation-spring-1.1-cd01.xsd
17: <attribute name="location" type="anyURI" use="required"/>
sca-interface-wsdl-1.1-cd04.xsd (2 matches)
21: <attribute name="interface" type="anyURI" use="required"/>
22: <attribute name="callbackInterface" type="anyURI"
tuscany-sca-1.1-implementation-widget.xsd
37: <attribute name="location" type="anyURI" use="required"/>
> 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.