<?xml version="1.0" encoding="UTF-8" ?>
<!-- @ Copyright 2003 W3C (MIT, ERCIM, Keio), All Rights Reserved.
     See http://www.w3.org/Consortium/Legal/. @ -->

<!--
	Test Assertion: 277
	@author Zhiwei Shuang
	@version 1.1, 28/06/2008
-->

<conf:test xmlns:conf="http://www.w3.org/2002/ssml-conformance" >


    <conf:instruction>
        This is a test of the languages attribute of the &lt;voice&gt; element.
        A voice that can speak English and Chinese should be selected.   
        This test can be manually changed to your supported two languages.     
        For example, a languages value of "en zh" can legally be matched by any voice that can both read English  and read Chinese. Thus, a voice that only supports "en-US" and "zh-CN" would match. 
        If we have a languages value of "en zh"and there is no voice that supports English and Chinese, then a voice selection failure will occur. 
        Note that if no accent indication is given for a language, then any voice that speaks the language is acceptable, regardless of accent. Also, note that author control over language support during voice selection is independent of any value of xml:lang in the text. 

    </conf:instruction>


    <conf:test_markup>
        <speak version="1.1" xml:lang="en-US" xmlns="http://www.w3.org/2001/10/synthesis" >
            <voice languages="en zh">I come from <lang xml:lang="zh-CN">中国</lang>.</voice>
        </speak>
    </conf:test_markup>
    
</conf:test>
