You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ro...@apache.org on 2006/11/22 12:02:30 UTC

svn commit: r478124 - in /incubator/tuscany/cpp/sdo/runtime/core/test: cdata-in.xml cdata-out.xml cdata.xsd

Author: robbinspg
Date: Wed Nov 22 03:02:29 2006
New Revision: 478124

URL: http://svn.apache.org/viewvc?view=rev&rev=478124
Log:
TUSCANY-908 - Apply Simon Law's patch (re-factored by Geoff) - add missing test data

Added:
    incubator/tuscany/cpp/sdo/runtime/core/test/cdata-in.xml   (with props)
    incubator/tuscany/cpp/sdo/runtime/core/test/cdata-out.xml   (with props)
    incubator/tuscany/cpp/sdo/runtime/core/test/cdata.xsd   (with props)

Added: incubator/tuscany/cpp/sdo/runtime/core/test/cdata-in.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/runtime/core/test/cdata-in.xml?view=auto&rev=478124
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/test/cdata-in.xml (added)
+++ incubator/tuscany/cpp/sdo/runtime/core/test/cdata-in.xml Wed Nov 22 03:02:29 2006
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+     
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.
+-->
+<tns:test xmlns:tns="http://www.example.org/test" 
+          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+  <entry1>
+    <data>xxx<![CDATA[<?xml version="1.0"encoding="UTF-8"?><MOREXML>....</MOREXML>]]>aaaa<![CDATA[>>>>>>>>>]]></data>
+    <fred>abcdefg</fred>
+    <fred><![CDATA[>>>>>>>>>]]></fred>
+    <fred>xxx<![CDATA[<?xml version="1.0"encoding="UTF-8"?><MOREXML>....</MOREXML>]]>aaaa<![CDATA[>>>>>>>>>]]></fred>
+  </entry1>
+</tns:test>

Propchange: incubator/tuscany/cpp/sdo/runtime/core/test/cdata-in.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sdo/runtime/core/test/cdata-in.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sdo/runtime/core/test/cdata-out.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/runtime/core/test/cdata-out.xml?view=auto&rev=478124
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/test/cdata-out.xml (added)
+++ incubator/tuscany/cpp/sdo/runtime/core/test/cdata-out.xml Wed Nov 22 03:02:29 2006
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<test xmlns="http://www.example.org/test" xmlns:tns="http://www.example.org/test" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><entry1><data>xxx<![CDATA[<?xml version="1.0"encoding="UTF-8"?><MOREXML>....</MOREXML>]]>aaaa<![CDATA[>>>>>>>>>]]></data><fred>abcdefg</fred><fred><![CDATA[>>>>>>>>>]]></fred><fred>xxx<![CDATA[<?xml version="1.0"encoding="UTF-8"?><MOREXML>....</MOREXML>]]>aaaa<![CDATA[>>>>>>>>>]]></fred></entry1></test>

Propchange: incubator/tuscany/cpp/sdo/runtime/core/test/cdata-out.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sdo/runtime/core/test/cdata-out.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sdo/runtime/core/test/cdata.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/runtime/core/test/cdata.xsd?view=auto&rev=478124
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/test/cdata.xsd (added)
+++ incubator/tuscany/cpp/sdo/runtime/core/test/cdata.xsd Wed Nov 22 03:02:29 2006
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   
+     http://www.apache.org/licenses/LICENSE-2.0
+     
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.
+-->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" 
+        targetNamespace="http://www.example.org/test" 
+        xmlns:tns="http://www.example.org/test">
+
+    <complexType name="TestType">
+        <sequence>
+            <element name="entry1">
+                <complexType>
+                    <sequence>
+                        <element name="data" type="string"/>
+                        <element name="fred" type="string" maxOccurs="unbounded"/>
+                    </sequence>
+                </complexType>
+            </element>
+        </sequence>
+    </complexType>
+    
+    <element name="test" type="tns:TestType"/>        
+</schema>

Propchange: incubator/tuscany/cpp/sdo/runtime/core/test/cdata.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sdo/runtime/core/test/cdata.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org