You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Luciano Resende (JIRA)" <de...@tuscany.apache.org> on 2009/02/12 21:50:59 UTC

[jira] Commented: (TUSCANY-2847) Tuscany Model loses AnyElements and AnyAttributes in the same namespace as the core sca namespace "http://www.osoa.org/xmlns/sca/1.0"

    [ https://issues.apache.org/jira/browse/TUSCANY-2847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673049#action_12673049 ] 

Luciano Resende commented on TUSCANY-2847:
------------------------------------------

I'd recommend using two different jiras, one for anyElement and one for anyAttribute as they have different behavior in this scenario.
Also, I have updated the following unitTest with the scenario you mentioned for anyElemtn (binding.new), and tests are still passing ok

https://svn.apache.org/repos/asf/tuscany/branches/sca-java-1.3.3/modules/assembly-xml/src/test/java/org/apache/tuscany/sca/assembly/xml/ReadWriteAnyElementTestCase.java

As for anyAttribute, our current Tuscany models does not have support for storing extra elements from same SCA NS.

> Tuscany Model loses AnyElements and AnyAttributes in the same namespace as the core sca namespace "http://www.osoa.org/xmlns/sca/1.0"
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2847
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2847
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Assembly Model
>    Affects Versions: Java-SCA-1.3
>            Reporter: Richard Mah
>
> Tuscany Model loses AnyElements and AnyAttributes in the same namespace as the core sca namespace "http://www.osoa.org/xmlns/sca/1.0".
> Below is an example composite with an unknown element <binding.new> in the same namespace as "http://www.osoa.org/xmlns/sca/1.0".  The example also contains an unkown attribute on the Service element.
> <?xml version="1.0" encoding="UTF-8"?>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0" autowire="false" name="comp" targetNamespace="http://temp">
>   <service name="service" unknownAttribute="value">
>     <binding.ws name="wsName"/>
>     <binding.new name="newName"/>
>   </service>
> </composite>

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