Test data changed to correnspond with validator.

This commit is contained in:
tomas 2005-03-02 02:15:44 +00:00
parent 34d370d716
commit 7a36930377
9 changed files with 91 additions and 103 deletions

View file

@ -1,35 +1,23 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<audioClip> <audioClip>
<metadata <metadata
xmlns="http://www.streamonthefly.org/" xmlns="http://mdlf.org/livesupport/elements/1.0/"
xmlns:ls="http://mdlf.org/livesupport/elements/1.0/"
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:xbmf="http://www.streamonthefly.org/xbmf" xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >
<dc:title>File Title txt</dc:title> <dc:title>File Title txt</dc:title>
<dcterms:alternative>Alternative File Title ín sőmé %$#@* LÁNGŰAGÉ</dcterms:alternative> <dcterms:alternative>Alternative File Title ín sőmé %$#@* LÁNGŰAGÉ</dcterms:alternative>
<dc:subject>Keywords: qwe, asd, zcx</dc:subject> <dc:subject>Keywords: qwe, asd, zcx</dc:subject>
<dc:description>Abstract txt</dc:description> <dc:description>Abstract txt</dc:description>
<dc:date>2004-05-21</dc:date> <dc:date>2004-05-21</dc:date>
<dcterms:available >2004-05-22</dcterms:available> <dc:format>audio/mpeg</dc:format>
<dcterms:issued >2004-05-23</dcterms:issued>
<dcterms:modified >2004-05-24</dcterms:modified>
<dcterms:valid >2004-05-25</dcterms:valid>
<dc:type xsi:type="dcterms:DCMIType" >Sound</dc:type>
<dc:format xsi:type="dcterms:IMT" >audio/mpeg</dc:format>
<dcterms:extent>00:00:03.000000</dcterms:extent> <dcterms:extent>00:00:03.000000</dcterms:extent>
<dcterms:medium >online</dcterms:medium> <!-- <dcterms:medium>online</dcterms:medium>-->
<dc:identifier >streamonthefly:</dc:identifier> <dc:identifier>gunid here</dc:identifier>
<dc:identifier >http://some.url.mdlf.org/</dc:identifier>
<dcterms:spatial>Spatial Coverage</dcterms:spatial> <dcterms:spatial>Spatial Coverage</dcterms:spatial>
<dcterms:temporal>Temporal Covarage</dcterms:temporal> <dcterms:temporal>Temporal Covarage</dcterms:temporal>
<xbmf:episodetitle >Episode Title txt</xbmf:episodetitle> <dc:creator>John X1</dc:creator>
<xbmf:episodesequence >Episode sequence</xbmf:episodesequence>
<xbmf:contributor>
<xbmf:role>Editor</xbmf:role>
<xbmf:name>John X1</xbmf:name>
<xbmf:phone>123456789</xbmf:phone>
</xbmf:contributor>
</metadata> </metadata>
</audioClip> </audioClip>

View file

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<audioClip> <audioClip>
<metadata <metadata
xmlns="http://www.streamonthefly.org/" xmlns="http://mdlf.org/livesupport/elements/1.0/"
xmlns:ls="http://mdlf.org/livesupport/elements/1.0/"
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:xbmf="http://www.streamonthefly.org/xbmf" xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >
<dc:title>one</dc:title> <dc:title>one</dc:title>
<dcterms:extent>01:00:00.000000</dcterms:extent> <dcterms:extent>01:00:00.000000</dcterms:extent>

View file

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<audioClip> <audioClip>
<metadata <metadata
xmlns="http://www.streamonthefly.org/" xmlns="http://mdlf.org/livesupport/elements/1.0/"
xmlns:ls="http://mdlf.org/livesupport/elements/1.0/"
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:xbmf="http://www.streamonthefly.org/xbmf" xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >
<dc:title >two</dc:title> <dc:title >two</dc:title>
<dcterms:extent >00:30:00.000000</dcterms:extent> <dcterms:extent >00:30:00.000000</dcterms:extent>

View file

@ -1,35 +1,23 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<audioClip> <audioClip>
<metadata <metadata
xmlns="http://www.streamonthefly.org/" xmlns="http://mdlf.org/livesupport/elements/1.0/"
xmlns:ls="http://mdlf.org/livesupport/elements/1.0/"
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:xbmf="http://www.streamonthefly.org/xbmf" xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >
<dc:title >File2 Title txt</dc:title> <dc:title >File2 Title txt</dc:title>
<dcterms:alternative >Alternative File2 Title txt</dcterms:alternative> <dcterms:alternative >Alternative File2 Title txt</dcterms:alternative>
<dc:subject >Keywords: qwe, asd, zcx</dc:subject> <dc:subject >Keywords: qwe, asd, zcx</dc:subject>
<dc:description >Abstract txt</dc:description> <dc:description >Abstract txt</dc:description>
<dc:date >2004-05-21</dc:date> <dc:date >2004-05-21</dc:date>
<dcterms:available >2004-05-22</dcterms:available> <dc:format>audio/mpeg</dc:format>
<dcterms:issued >2004-05-23</dcterms:issued>
<dcterms:modified >2004-05-24</dcterms:modified>
<dcterms:valid >2004-05-25</dcterms:valid>
<dc:type xsi:type="dcterms:DCMIType" >Sound</dc:type>
<dc:format xsi:type="dcterms:IMT" >audio/mpeg</dc:format>
<dcterms:extent >00:10:00.000000</dcterms:extent> <dcterms:extent >00:10:00.000000</dcterms:extent>
<dcterms:medium >online</dcterms:medium> <!-- <dcterms:medium >online</dcterms:medium>-->
<dc:identifier >streamonthefly:</dc:identifier> <dc:identifier >gunid here</dc:identifier>
<dc:identifier >http://some.url.mdlf.org/</dc:identifier>
<dcterms:spatial >Spatial Coverage</dcterms:spatial> <dcterms:spatial >Spatial Coverage</dcterms:spatial>
<dcterms:temporal >Temporal Covarage</dcterms:temporal> <dcterms:temporal >Temporal Covarage</dcterms:temporal>
<xbmf:episodetitle >Episode Title txt</xbmf:episodetitle> <dc:creator>John X2</dc:creator>
<xbmf:episodesequence >Episode sequence</xbmf:episodesequence>
<xbmf:contributor>
<xbmf:role>Author</xbmf:role>
<xbmf:name>John X2</xbmf:name>
<xbmf:phone>23456789</xbmf:phone>
</xbmf:contributor>
</metadata> </metadata>
</audioClip> </audioClip>

View file

@ -1,19 +1,15 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<audioClip> <audioClip>
<metadata <metadata
xmlns="http://www.streamonthefly.org/" xmlns="http://mdlf.org/livesupport/elements/1.0/"
xmlns:ls="http://mdlf.org/livesupport/elements/1.0/"
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:xbmf="http://www.streamonthefly.org/xbmf" xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >
<dc:title >Fil Title3 txt</dc:title> <dc:title >Fil Title3 txt</dc:title>
<dcterms:alternative >Alternative File Title txt</dcterms:alternative> <dcterms:alternative >Alternative File Title txt</dcterms:alternative>
<dcterms:extent >00:01:00.000000</dcterms:extent> <dcterms:extent >00:01:00.000000</dcterms:extent>
<xbmf:contributor> <dc:creator>John Y</dc:creator>
<xbmf:role>Author</xbmf:role>
<xbmf:name>John Y</xbmf:name>
<xbmf:phone>345</xbmf:phone>
</xbmf:contributor>
</metadata> </metadata>
</audioClip> </audioClip>

View file

@ -1,10 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<audioClip> <audioClip>
<metadata <metadata
xmlns="http://www.streamonthefly.org/" xmlns="http://mdlf.org/livesupport/elements/1.0/"
xmlns:ls="http://mdlf.org/livesupport/elements/1.0/"
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xml="http://www.w3.org/XML/1998/namespace"
> >
<dc:title>File Title4 utf-8</dc:title> <dc:title>File Title4 utf-8</dc:title>
<dcterms:alternative>ěščřžýáíé ĚŠČŘŽÝÁÍÉ úůÚŮ ďťňĎŤŇ é</dcterms:alternative> <dcterms:alternative>ěščřžýáíé ĚŠČŘŽÝÁÍÉ úůÚŮ ďťňĎŤŇ é</dcterms:alternative>

View file

@ -4,17 +4,19 @@
<playlistElement id="0000000000000101" relativeOffset="0" > <playlistElement id="0000000000000101" relativeOffset="0" >
<audioClip id="0000000000010001" playlength="01:00:00.000000" <audioClip id="0000000000010001" playlength="01:00:00.000000"
title="one"/> title="one"/>
<fadeinfo fadein="02.000000" fadeout="03.000000"
id="15015b4b70a054f1" />
</playlistElement> </playlistElement>
<playlistElement id="0000000000000102" relativeOffset="01:00:00.000000" > <playlistElement id="0000000000000102" relativeOffset="01:00:00.000000" >
<audioClip id="0000000000010002" playlength="00:30:00.000000" <audioClip id="0000000000010002" playlength="00:30:00.000000"
title="two"/> title="two"/>
</playlistElement> </playlistElement>
<metadata <metadata
xmlns="http://www.streamonthefly.org/" xmlns="http://mdlf.org/livesupport/elements/1.0/"
xmlns:ls="http://mdlf.org/livesupport/elements/1.0/"
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:xbmf="http://www.streamonthefly.org/xbmf" xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >
<dc:title>My First Playlist</dc:title> <dc:title>My First Playlist</dc:title>
<dc:creator>Me, myself and I</dc:creator> <dc:creator>Me, myself and I</dc:creator>

View file

@ -1,5 +1,14 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<audioclip> <audioclip>
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:ls="http://mdlf.org/livesupport/elements/1.0/" xmlns:xml="http://www.w3.org/XML/1998/namespace" /> <metadata
xmlns="http://mdlf.org/livesupport/elements/1.0/"
xmlns:ls="http://mdlf.org/livesupport/elements/1.0/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
>
<dc:title>Webstream test 1</dc:title>
<dcterms:extent>01:30:00.000000</dcterms:extent>
</metadata>
<ls:url>http://localhost/y</ls:url> <ls:url>http://localhost/y</ls:url>
</audioclip> </audioclip>

View file

@ -23,7 +23,7 @@
# #
# #
# Author : $Author: tomas $ # Author : $Author: tomas $
# Version : $Revision: 1.24 $ # Version : $Revision: 1.25 $
# Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/testRunner.sh,v $ # Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/testRunner.sh,v $
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
@ -34,15 +34,19 @@ COMM=$1
shift shift
GUNID=$1 GUNID=$1
#METADATA="<?xml version=\"1.0\" encoding=\"UTF-8\"?>
#<metadata><title>ěščřžé</title></metadata>"
METADATA="<?xml version=\"1.0\"?> METADATA="<?xml version=\"1.0\"?>
<audioClip><metadata xmlns=\"http://www.streamonthefly.org/\" <audioClip>
<metadata
xmlns=\"http://mdlf.org/livesupport/elements/1.0/\"
xmlns:ls=\"http://mdlf.org/livesupport/elements/1.0/\"
xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\"
xmlns:dcterms=\"http://purl.org/dc/terms/\"> xmlns:dcterms=\"http://purl.org/dc/terms/\"
xmlns:xml=\"http://www.w3.org/XML/1998/namespace\"
>
<dc:title>Media title testRunner</dc:title> <dc:title>Media title testRunner</dc:title>
<dcterms:extent>00:00:11</dcterms:extent> <dcterms:extent>00:00:03.000000</dcterms:extent>
</metadata></audioClip>" </metadata>
</audioClip>"
echo "" echo ""
XRDIR=`dirname $0` XRDIR=`dirname $0`