<?xml version="1.1"?>
<!--
Copyright: Copyright 1998-2008  W3C (MIT, ERCIM, Keio), All Rights Reserved. See http://www.w3.org/Consortium/Legal/2008/04-testsuite-license.
Author: Jack Jansen (CWI)
Version: January 22, 2008
Chapter: SMIL 3.0 State
Module: StateTest
Feature: expr attribute
File Name: test-08-language.smil
Description: Tests for user language preference equality and inequality.
Expected Behavior: You should see one 5 second statement about english
	being one of your preferred languages (or not), another 5 second statement
	about french. These statements should be correct.
	
-->
<smil xmlns="http://www.w3.org/ns/SMIL" version="3.0" baseProfile="Language">
  <head>
    <layout>
      <root-layout width="400" height="100" backgroundColor="white"/>
    </layout>
    <state language="http://www.w3.org/TR/1999/REC-xpath-19991116">
     <data xmlns="">
      <foo>42</foo>
     </data>
    </state>
  </head>
  <body>
   <seq>
    <text dur="5s" expr="smil-language('en')" src="data:,you%20should%20see%20this%20if%20you%20speak%20english" />
    <text dur="5s" expr="not(smil-language('en'))" src="data:,you%20should%20not%20see%20this%20if%20you%20speak%20english" />
    <text dur="5s" expr="smil-language('fr')" src="data:,you%20should%20see%20this%20if%20you%20speak%20french" />
    <text dur="5s" expr="not(smil-language('fr'))" src="data:,you%20should%20not%20see%20this%20if%20you%20speak%20french" />
   </seq>
  </body>
</smil>
