<?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: 380 
	@author Zhiwei Shuang
	@version 1.1, 05/05/2009
-->


<conf:test xmlns:conf="http://www.w3.org/2002/ssml-conformance">
   
    <conf:instruction>
    
    	The end of rendering can be specified using the endmark. If the endmark is specified, then rendering ends at the endmark. 
    	If the endmark is not specified, rendering ends at the document end. 
    	In the reference case, you will hear a piece of music.
 	In the test case, listener should hear the music without the last part of the music. 
      
    </conf:instruction>
    
   <conf:reference_markup>
	 <speak version="1.1"
	         xmlns="http://www.w3.org/2001/10/synthesis"
	         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	         xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
	                   http://www.w3.org/TR/speech-synthesis11/synthesis.xsd"
	         xml:lang="en-US">
	   <audio src="first.wav"/>
	   <mark name="mark1"/>
	   <audio src="middle.wav"/>
	   <mark name="mark2"/>
	   <audio src="last.wav"/>
	</speak>
    </conf:reference_markup>
    
    <conf:test_markup>
	<speak endmark="mark2" version="1.1"
	         xmlns="http://www.w3.org/2001/10/synthesis"
	         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	         xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
	                   http://www.w3.org/TR/speech-synthesis11/synthesis.xsd"
	         xml:lang="en-US">
	   <audio src="first.wav"/>
	   <mark name="mark1"/>
	   <audio src="middle.wav"/>
	   <mark name="mark2"/>
	   <audio src="last.wav"/>
	</speak>
    </conf:test_markup>
    
</conf:test>
