aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/feed_language/SPtests/atom/0.3/xml_lang.php
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/feed_language/SPtests/atom/0.3/xml_lang.php')
-rw-r--r--simplepie/test/feed_language/SPtests/atom/0.3/xml_lang.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/simplepie/test/feed_language/SPtests/atom/0.3/xml_lang.php b/simplepie/test/feed_language/SPtests/atom/0.3/xml_lang.php
new file mode 100644
index 000000000..c8f16e586
--- /dev/null
+++ b/simplepie/test/feed_language/SPtests/atom/0.3/xml_lang.php
@@ -0,0 +1,19 @@
+<?php
+
+class SimplePie_Feed_Language_Test_Atom_03_xmllang extends SimplePie_Feed_Language_Test
+{
+ function data()
+ {
+ $this->data =
+'<feed version="0.3" xmlns="http://purl.org/atom/ns#" xml:lang="en-GB">
+ <title>Feed Title</title>
+</feed>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'en-GB';
+ }
+}
+
+?> \ No newline at end of file