gecko/toolkit/components/feeds/test/xml/rfc4287/feed_roleatt.xml

50 lines
1.9 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="iso-8859-1"?>
<!--
Description: atom entry with many funky namespaces
Expect: var content = feed.items.queryElementAt(0, Components.interfaces.nsIFeedEntry).content; ((content.text.indexOf("xhtml2:role='wwwwwww") > -1) && (content.text.indexOf("xmlns:wwwwwww='http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#'") > -1) && (content.text.indexOf("xmlns:xhtml20='http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#'") > -1));
-->
<feed xmlns="http://www.w3.org/2005/Atom"
xmlns:p="http://www.w3.org/2005/07/aaa"
xmlns:r="http://www.w3.org/TR/xhtml2"
xmlns:wwwwwww="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#">
<id>tag:example.com,2006:/atom/conformance/linktest/</id>
<title>Atom Link Tests</title>
<updated>2005-06-18T6:23:00Z</updated>
<link href="http://www.example.org" />
<entry xml:base="http://www.example.org">
<id>tag:example.org,2006:/linkreltest/1</id>
<title>Does your reader support xml:base properly? </title>
<updated>2006-06-23T12:12:12Z</updated>
<link href="foo"/>
<content type="xhtml">
<div
xmlns:aaa="http://www.w3.org/2005/07/aaa"
xmlns="http://www.w3.org/1999/xhtml">
<p xmlns:foo="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#"
p:checked="true"
aaa:iconed="true" p:disabled="true">
<b r:role="asdf" aaa:iconed="true" p:disabled="true">hmm</b>
<i foo:role="asdf">hmm</i>
<h4 aaa:checked="true"></h4>
</p>
<p xmlns:foo="http://www.w3.org/2005/07/aaa">
<h2 foo:checked="true">hmm</h2>
<h6 xml:base="http://www.google.com">hmm</h6>
<h3 r:role="wwwwwww:checkboxtristate">hmm</h3>
<!-- Really abusive namespace clash -->
<!-- Don't mess with this test case -->
<div xmlns:xhtml2="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#">
<p r:role="xhtml2:checkboxtristate">hmm</p>
</div>
</p>
</div>
</content>
</entry>
</feed>