aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/feed_title/SPtests/bugs/20.2.php
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/feed_title/SPtests/bugs/20.2.php')
-rw-r--r--simplepie/test/feed_title/SPtests/bugs/20.2.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/simplepie/test/feed_title/SPtests/bugs/20.2.php b/simplepie/test/feed_title/SPtests/bugs/20.2.php
new file mode 100644
index 000000000..ed7d75e42
--- /dev/null
+++ b/simplepie/test/feed_title/SPtests/bugs/20.2.php
@@ -0,0 +1,19 @@
+<?php
+
+class SimplePie_Feed_Title_Test_Bug_20_Test_2 extends SimplePie_Feed_Title_Test
+{
+ function data()
+ {
+ $this->data =
+'<feed xmlns="http://www.w3.org/2005/Atom" xmlns:h="http://www.w3.org/1999/xhtml">
+ <title type="xhtml"><h:div>Non-default namespace</h:div></title>
+</feed>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Non-default namespace';
+ }
+}
+
+?> \ No newline at end of file