[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [artikulate] /: Add phoneme test data and fix scheme.
From:       Andreas Cord-Landwehr <cola () uni-paderborn ! de>
Date:       2013-03-09 18:15:14
Message-ID: 20130309181514.A80CEA60C6 () git ! kde ! org
[Download RAW message or body]

Git commit 20eefa343b88114d0b78ecc4d7244fcb6c58f0bc by Andreas Cord-Landwehr.
Committed on 09/03/2013 at 14:16.
Pushed by cordlandwehr into branch 'master'.

Add phoneme test data and fix scheme.

The complete phoneme defintion is already done in the language
specification. The course file only has to provide IDs for the
corresponding phonemes.

M  +9    -0    data/courses/fr.xml
M  +1    -9    schemes/course.xsd

http://commits.kde.org/artikulate/20eefa343b88114d0b78ecc4d7244fcb6c58f0bc

diff --git a/data/courses/fr.xml b/data/courses/fr.xml
index 79c5592..61ea446 100644
--- a/data/courses/fr.xml
+++ b/data/courses/fr.xml
@@ -23,6 +23,15 @@
                     <type>sentence</type>
                     <phonemes></phonemes>
                 </phrase>
+                <phrase>
+                    <id>3</id>
+                    <text>eau</text>
+                    <soundFile></soundFile>
+                    <type>word</type>
+                    <phonemes>
+                        <phoneme>oh</phoneme>
+                    </phonemes>
+                </phrase>
             </phrases>
         </unit>
     </units>
diff --git a/schemes/course.xsd b/schemes/course.xsd
index 17e16ce..b0a2c05 100644
--- a/schemes/course.xsd
+++ b/schemes/course.xsd
@@ -44,18 +44,10 @@
 
   <xs:complexType name="phonemeList">
     <xs:sequence>
-      <xs:element name="phoneme" type="phoneme" minOccurs="0" maxOccurs="unbounded" />
+      <xs:element name="phoneme" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
     </xs:sequence>
   </xs:complexType>
 
-  <xs:complexType name="phoneme">
-    <xs:sequence>
-        <xs:element name="id" type="xs:string" />
-        <xs:element name="title" type="xs:string" />
-    </xs:sequence>
-  </xs:complexType>
-
-
 <!--
 kate: space-indent on; indent-width 2; mixedindent off; indent-mode xml;
 -->

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic