root / drupal7 / sites / all / libraries / simplepie / tests / oldtests / first_item_title / SPtests / xmlbase / 1.php @ 41cc1b08
1 | 41cc1b08 | Assos Assos | <?php
|
---|---|---|---|
2 | |||
3 | class SimplePie_First_Item_Title_Test_Atom_10_Title_xmlbase_1 extends SimplePie_First_Item_Title_Test |
||
4 | { |
||
5 | function data() |
||
6 | { |
||
7 | $this->data =
|
||
8 | '<feed xmlns="http://www.w3.org/2005/Atom">
|
||
9 | <entry>
|
||
10 | <title type="xhtml" xml:base="http://example.com/"><div xmlns="http://www.w3.org/1999/xhtml"><p xml:base="/test/"><a href="bleh">Link</a></p></div></title>
|
||
11 | </entry>
|
||
12 | </feed>';
|
||
13 | } |
||
14 | |||
15 | function expected() |
||
16 | { |
||
17 | $this->expected = '<p><a href="http://example.com/bleh">Link</a></p>'; |
||
18 | } |
||
19 | } |
||
20 | |||
21 | ?> |