[xiph-commits] r12610 - in trunk/xspf/testcase/for_version_1: fail
pass
dllmain at svn.xiph.org
dllmain at svn.xiph.org
Fri Mar 2 15:57:19 PST 2007
Author: dllmain
Date: 2007-03-02 15:57:15 -0800 (Fri, 02 Mar 2007)
New Revision: 12610
Added:
trunk/xspf/testcase/for_version_1/fail/playlist-namespace-nested-broken.xspf
trunk/xspf/testcase/for_version_1/fail/playlist-namespace-wrong-string.xspf
trunk/xspf/testcase/for_version_1/pass/playlist-namespace-nested-proper.xspf
trunk/xspf/testcase/for_version_1/pass/playlist-namespace-nondefault.xspf
trunk/xspf/testcase/for_version_1/pass/playlist-namespace-two-additions.xspf
Log:
5 new namespace testcases
Added: trunk/xspf/testcase/for_version_1/fail/playlist-namespace-nested-broken.xspf
===================================================================
--- trunk/xspf/testcase/for_version_1/fail/playlist-namespace-nested-broken.xspf 2007-03-02 22:49:25 UTC (rev 12609)
+++ trunk/xspf/testcase/for_version_1/fail/playlist-namespace-nested-broken.xspf 2007-03-02 23:57:15 UTC (rev 12610)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<playlist version="1" xmlns="http://xspf.org/ns/0/">
+ <trackList />
+ <extension application="http://example.com/" xmlns="http://site/namespace/">
+ <!-- <extension> already is in the _new_ default namespace! -->
+ <three />
+ </extension>
+</playlist>
Added: trunk/xspf/testcase/for_version_1/fail/playlist-namespace-wrong-string.xspf
===================================================================
--- trunk/xspf/testcase/for_version_1/fail/playlist-namespace-wrong-string.xspf 2007-03-02 22:49:25 UTC (rev 12609)
+++ trunk/xspf/testcase/for_version_1/fail/playlist-namespace-wrong-string.xspf 2007-03-02 23:57:15 UTC (rev 12610)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Definition: The two URIs are treated as strings,
+ and they are identical if and only if the strings
+ are identical, that is, if they are the same
+ sequence of characters.
+
+ For more info see:
+ http://www.w3.org/TR/REC-xml-names/#NSNameComparison
+-->
+<playlist version="1" xmlns="http://xspf.org/ns/../ns/0/">
+ <trackList />
+</playlist>
Added: trunk/xspf/testcase/for_version_1/pass/playlist-namespace-nested-proper.xspf
===================================================================
--- trunk/xspf/testcase/for_version_1/pass/playlist-namespace-nested-proper.xspf 2007-03-02 22:49:25 UTC (rev 12609)
+++ trunk/xspf/testcase/for_version_1/pass/playlist-namespace-nested-proper.xspf 2007-03-02 23:57:15 UTC (rev 12610)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<playlist version="1" xmlns="http://xspf.org/ns/0/">
+ <trackList />
+ <extension application="http://example.com/" xmlns:another="http://site/namespace/">
+ <three />
+ <another:four />
+ </extension>
+</playlist>
Added: trunk/xspf/testcase/for_version_1/pass/playlist-namespace-nondefault.xspf
===================================================================
--- trunk/xspf/testcase/for_version_1/pass/playlist-namespace-nondefault.xspf 2007-03-02 22:49:25 UTC (rev 12609)
+++ trunk/xspf/testcase/for_version_1/pass/playlist-namespace-nondefault.xspf 2007-03-02 23:57:15 UTC (rev 12610)
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<myns:playlist version="1" xmlns:myns="http://xspf.org/ns/0/">
+ <myns:trackList />
+</myns:playlist>
Added: trunk/xspf/testcase/for_version_1/pass/playlist-namespace-two-additions.xspf
===================================================================
--- trunk/xspf/testcase/for_version_1/pass/playlist-namespace-two-additions.xspf 2007-03-02 22:49:25 UTC (rev 12609)
+++ trunk/xspf/testcase/for_version_1/pass/playlist-namespace-two-additions.xspf 2007-03-02 23:57:15 UTC (rev 12610)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<playlist version="1" xmlns="http://xspf.org/ns/0/"
+ xmlns:first="http://example.com/first/">
+ xmlns:second="http://example.com/second/">
+ <trackList />
+</playlist>
More information about the commits
mailing list