diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-17 05:47:58 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-17 05:47:58 +0000 |
commit | 0985e653a9a0e72a400c77a73503e1406d673011 (patch) | |
tree | 9addff72545c8c58f5c9f2469a0d71bc63936ed5 /branches/sca-equinox/modules/assembly-xml/src/test/resources/org/apache/tuscany | |
parent | 2e35d1e1585b28d2b5acf08b1d87daee67bf2d94 (diff) |
TUSCANY-2538 - Adding default processor to handle unknown contents in composite file
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@696162 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-equinox/modules/assembly-xml/src/test/resources/org/apache/tuscany')
-rw-r--r-- | branches/sca-equinox/modules/assembly-xml/src/test/resources/org/apache/tuscany/sca/assembly/xml/Calculator.composite | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/branches/sca-equinox/modules/assembly-xml/src/test/resources/org/apache/tuscany/sca/assembly/xml/Calculator.composite b/branches/sca-equinox/modules/assembly-xml/src/test/resources/org/apache/tuscany/sca/assembly/xml/Calculator.composite index 4546fddb2d..85f6a39243 100644 --- a/branches/sca-equinox/modules/assembly-xml/src/test/resources/org/apache/tuscany/sca/assembly/xml/Calculator.composite +++ b/branches/sca-equinox/modules/assembly-xml/src/test/resources/org/apache/tuscany/sca/assembly/xml/Calculator.composite @@ -18,6 +18,7 @@ * under the License.
-->
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+ xmlns:x="http://x"
xmlns:calc="http://calc" targetNamespace="http://calc"
name="Calculator">
@@ -25,7 +26,6 @@ <service name="CalculatorService" promote="CalculatorServiceComponent">
<interface.java interface="calculator.CalculatorService"/>
</service>
-
<component name="CalculatorServiceComponent">
<implementation.java class="calculator.CalculatorServiceImpl"/>
<reference name="addService" target="AddServiceComponent"/>
@@ -49,5 +49,11 @@ <component name="DivideServiceComponent">
<implementation.java class="calculator.DivideServiceImpl"/>
</component>
+
+ <x:unknownElement uknAttr="attribute1">
+ <x:subUnknownElement1 uknAttr1="attribute1"/>
+ <x:subUnknownElement2/>
+ </x:unknownElement>
+
</composite>
|