[xiph-commits] r12580 - trunk/xspf/testcase/for_version_1/fail

dllmain at svn.xiph.org dllmain at svn.xiph.org
Tue Feb 27 07:10:47 PST 2007


Author: dllmain
Date: 2007-02-27 07:10:44 -0800 (Tue, 27 Feb 2007)
New Revision: 12580

Added:
   trunk/xspf/testcase/for_version_1/fail/playlist-markup-meta.xspf
   trunk/xspf/testcase/for_version_1/fail/track-markup-meta.xspf
Log:
Two new testcases (fail on nested content in meta)

Added: trunk/xspf/testcase/for_version_1/fail/playlist-markup-meta.xspf
===================================================================
--- trunk/xspf/testcase/for_version_1/fail/playlist-markup-meta.xspf	2007-02-27 14:56:28 UTC (rev 12579)
+++ trunk/xspf/testcase/for_version_1/fail/playlist-markup-meta.xspf	2007-02-27 15:10:44 UTC (rev 12580)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+  Description: Element must not contain HTML
+  Expect:      ContainsHTML{element:meta,parent:playlist} 
+-->
+
+<playlist version="1" xmlns="http://xspf.org/ns/0/">
+
+  <meta rel="http://example.com/"><blink>This must not be markup.</blink></meta>
+
+  <trackList>
+  </trackList>
+
+</playlist>

Added: trunk/xspf/testcase/for_version_1/fail/track-markup-meta.xspf
===================================================================
--- trunk/xspf/testcase/for_version_1/fail/track-markup-meta.xspf	2007-02-27 14:56:28 UTC (rev 12579)
+++ trunk/xspf/testcase/for_version_1/fail/track-markup-meta.xspf	2007-02-27 15:10:44 UTC (rev 12580)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+  Description: meta must not contain HTML
+
+  Expect:      ContainsHTML{element:meta,parent:track}
+-->
+
+<playlist version="1" xmlns="http://xspf.org/ns/0/">
+
+  <trackList>
+    <track>
+
+      <meta rel="http://example.com/"><blink>My Way</blink></meta>
+
+    </track>
+  </trackList>
+
+</playlist>



More information about the commits mailing list