File: atom10_arbitrary_element.xml

package info (click to toggle)
feedparser 6.0.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,540 kB
  • sloc: xml: 11,459; python: 4,575; makefile: 7
file content (18 lines) | stat: -rw-r--r-- 494 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!--
Description: The arbitrarily named node of the least depth should be preferred to those with the same name of greater depth.
Expect:      not bozo and entries[0]['abcdefg'] == entries[1]['abcdefg'] == 'Correct Value'
-->
<feed xmlns="http://www.w3.org/2005/Atom">
<entry>
  <abcdefg>Correct Value</abcdefg>
  <image>
	<abcdefg>Incorrect Value</abcdefg>
  </image>
</entry>
<entry>
  <image>
	<abcdefg>Incorrect Value</abcdefg>
  </image>
  <abcdefg>Correct Value</abcdefg>
</entry>
</feed>