Atom autodiscovery test suite

Each of these tests is a complete HTML or XHTML document. Each document contains an Atom autodiscovery link to exactly one Atom feed. Once you think you've found the feed, retrieve it and verify that the feed contains a link to the document you started from. If so, you have passed the test.

If you can't find the autodiscovery link, you have failed the test. If you think you've found more than one autodiscovery link, you have failed the test. If you think you've found the autodiscovery link but can't retrieve the feed, you have failed the test. If you retrieve the feed but it does not contain a link back to the document you started from, you have failed the test.

From each document, you can follow the <link rel="next" ...> link to get to the next test. I recommend doing this, rather than hardcoding the list of test URLs, since it is likely that I will add more tests in the future.

XHTML 1.1 documents are always served with the application/xhtml+xml media type. If you wish to view these tests, you will need a standards-compliant browser such as Mozilla Firefox, Opera, or Safari.

atomautodiscovery.py passes this test suite.

This test suite is copyright © 2003-7 by Mark Pilgrim. It is free for commercial or non-commercial use for the purpose of testing interoperability of Atom autodiscovery clients, but it may not be republished or used to create derivative works.

This test suite is also available in Spanish.

  1. html4-001.html - HTML 4, absolute URI
  2. html4-002.html - HTML 4, relative URI
  3. html4-003.html - HTML 4, relative URI relative to top of domain
  4. html4-004.html - HTML 4, unquoted rel attribute
  5. html4-005.html - HTML 4, id attribute distraction
  6. html4-006.html - HTML 4, unquoted href attribute
  7. html4-007.html - HTML 4, single-quoted rel attribute
  8. html4-008.html - HTML 4, single-quoted type attribute
  9. html4-009.html - HTML 4, single-quoted href attribute
  10. html4-010.html - HTML 4, attributes separated by carriage returns
  11. html4-011.html - HTML 4, uppercase rel value
  12. html4-012.html - HTML 4, capitalized rel value
  13. html4-013.html - HTML 4, mixed case rel value
  14. html4-014.html - HTML 4, uppercase type value
  15. html4-015.html - HTML 4, capitalized type value
  16. html4-016.html - HTML 4, capitalized type value #2
  17. html4-017.html - HTML 4, capitalized type value #3
  18. html4-018.html - HTML 4, mixed case type value
  19. html4-019.html - HTML 4, uppercase link element
  20. html4-020.html - HTML 4, uppercase rel attribute
  21. html4-021.html - HTML 4, uppercase type attribute
  22. html4-022.html - HTML 4, uppercase href attribute
  23. html4-023.html - HTML 4, uppercase head element
  24. html4-024.html - HTML 4, all uppercase elements and attributes
  25. html4-025.html - HTML 4, extra rel value before alternate
  26. html4-026.html - HTML 4, extra rel value after alternate
  27. html4-027.html - HTML 4, extra rel values before and after alternate
  28. html4-028.html - HTML 4, extra rel values before and after alternate, uppercase alternate
  29. html4-029.html - HTML 4, attributes in different order
  30. html4-030.html - HTML 4, unknown rel value distraction
  31. html4-031.html - HTML 4, unknown rel value distraction #2
  32. html4-032.html - HTML 4, rev attribute distraction
  33. html4-033.html - HTML 4, title attribute distraction
  34. html4-034.html - HTML 4, type attribute distraction
  35. html4-035.html - HTML 4, trailing space in rel value
  36. html4-036.html - HTML 4, leading space in rel value
  37. html4-037.html - HTML 4, leading and trailing spaces in rel value
  38. html4-038.html - HTML 4, trailing space in type value
  39. html4-039.html - HTML 4, leading space in type value
  40. html4-040.html - HTML 4, leading and trailing spaces in type value
  41. html4-041.html - HTML 4, trailing space in href value
  42. html4-042.html - HTML 4, leading space in href value
  43. html4-043.html - HTML 4, leading and trailing spaces in href value
  44. html4-044.html - HTML 4, leading and trailing spaces in href value, relative URI
  45. html4-045.html - HTML 4, relative URI relative to declared base URI
  46. html4-046.html - HTML 4, relative URI relative to declared base URI #2
  47. html4-047.html - HTML 4, relative URI relative to declared base URI on another server
  48. html4-048.html - HTML 4, relative URI relative to declared base URI on another server #2
  49. html4-049.html - HTML 4, relative URI relative to declared base URI on another server #3
  50. html4-050.html - HTML 4, relative URI relative to declared base URI on another server, uppercase base element
  51. html4-051.html - HTML 4, base URI distraction
  52. html4-052.html - HTML 4, base URI declared after link should be ignored
  53. html4-053.html - HTML 4, numeric entity for A in rel value
  54. html4-054.html - HTML 4, numeric entity for a in rel value
  55. html4-055.html - HTML 4, numeric entity for I in type value
  56. html4-056.html - HTML 4, numeric entity for + in type value
  57. html4-057.html - HTML 4, UTF-16 encoding
  58. xhtml10-001.html - XHTML 1.0, absolute URI
  59. xhtml10-002.html - XHTML 1.0, relative URI
  60. xhtml10-003.html - XHTML 1.0, relative URI relative to top of domain
  61. xhtml10-007.html - XHTML 1.0, single-quoted rel attribute
  62. xhtml10-008.html - XHTML 1.0, single-quoted type attribute
  63. xhtml10-009.html - XHTML 1.0, single-quoted href attribute
  64. xhtml10-010.html - XHTML 1.0, attributes separated by carriage returns
  65. xhtml10-011.html - XHTML 1.0, uppercase rel value
  66. xhtml10-012.html - XHTML 1.0, capitalized rel value
  67. xhtml10-013.html - XHTML 1.0, mixed case rel value
  68. xhtml10-014.html - XHTML 1.0, uppercase type value
  69. xhtml10-015.html - XHTML 1.0, capitalized type value
  70. xhtml10-016.html - XHTML 1.0, capitalized type value #2
  71. xhtml10-017.html - XHTML 1.0, capitalized type value #3
  72. xhtml10-018.html - XHTML 1.0, mixed case type value
  73. xhtml10-025.html - XHTML 1.0, extra rel value before alternate
  74. xhtml10-026.html - XHTML 1.0, extra rel value after alternate
  75. xhtml10-027.html - XHTML 1.0, extra rel values before and after alternate
  76. xhtml10-028.html - XHTML 1.0, extra rel values before and after alternate, uppercase alternate
  77. xhtml10-029.html - XHTML 1.0, attributes in different order
  78. xhtml10-030.html - XHTML 1.0, unknown rel value distraction
  79. xhtml10-031.html - XHTML 1.0, unknown rel value distraction #2
  80. xhtml10-032.html - XHTML 1.0, rev attribute distraction
  81. xhtml10-033.html - XHTML 1.0, title attribute distraction
  82. xhtml10-034.html - XHTML 1.0, type attribute distraction
  83. xhtml10-035.html - XHTML 1.0, trailing space in rel value
  84. xhtml10-036.html - XHTML 1.0, leading space in rel value
  85. xhtml10-037.html - XHTML 1.0, leading and trailing spaces in rel value
  86. xhtml10-038.html - XHTML 1.0, trailing space in type value
  87. xhtml10-039.html - XHTML 1.0, leading space in type value
  88. xhtml10-040.html - XHTML 1.0, leading and trailing spaces in type value
  89. xhtml10-041.html - XHTML 1.0, trailing space in href value
  90. xhtml10-042.html - XHTML 1.0, leading space in href value
  91. xhtml10-043.html - XHTML 1.0, leading and trailing spaces in href value
  92. xhtml10-044.html - XHTML 1.0, leading and trailing spaces in href value, relative URI
  93. xhtml10-045.html - XHTML 1.0, relative URI relative to declared base URI
  94. xhtml10-046.html - XHTML 1.0, relative URI relative to declared base URI #2
  95. xhtml10-047.html - XHTML 1.0, relative URI relative to declared base URI on another server
  96. xhtml10-048.html - XHTML 1.0, relative URI relative to declared base URI on another server #2
  97. xhtml10-049.html - XHTML 1.0, relative URI relative to declared base URI on another server #3
  98. xhtml10-051.html - XHTML 1.0, base URI distraction
  99. xhtml10-052.html - XHTML 1.0, base URI declared after link should be ignored
  100. xhtml10-053.html - XHTML 1.0, numeric entity for A in rel value
  101. xhtml10-054.html - XHTML 1.0, numeric entity for a in rel value
  102. xhtml10-055.html - XHTML 1.0, numeric entity for I in type value
  103. xhtml10-056.html - XHTML 1.0, numeric entity for + in type value
  104. xhtml11-001.xhtml - XHTML 1.1, absolute URI
  105. xhtml11-002.xhtml - XHTML 1.1, relative URI
  106. xhtml11-003.xhtml - XHTML 1.1, relative URI relative to top of domain
  107. xhtml11-007.xhtml - XHTML 1.1, single-quoted rel attribute
  108. xhtml11-008.xhtml - XHTML 1.1, single-quoted type attribute
  109. xhtml11-009.xhtml - XHTML 1.1, single-quoted href attribute
  110. xhtml11-010.xhtml - XHTML 1.1, attributes separated by carriage returns
  111. xhtml11-011.xhtml - XHTML 1.1, uppercase rel value
  112. xhtml11-012.xhtml - XHTML 1.1, capitalized rel value
  113. xhtml11-013.xhtml - XHTML 1.1, mixed case rel value
  114. xhtml11-014.xhtml - XHTML 1.1, uppercase type value
  115. xhtml11-015.xhtml - XHTML 1.1, capitalized type value
  116. xhtml11-016.xhtml - XHTML 1.1, capitalized type value #2
  117. xhtml11-017.xhtml - XHTML 1.1, capitalized type value #3
  118. xhtml11-018.xhtml - XHTML 1.1, mixed case type value
  119. xhtml11-025.xhtml - XHTML 1.1, extra rel value before alternate
  120. xhtml11-026.xhtml - XHTML 1.1, extra rel value after alternate
  121. xhtml11-027.xhtml - XHTML 1.1, extra rel values before and after alternate
  122. xhtml11-028.xhtml - XHTML 1.1, extra rel values before and after alternate, uppercase alternate
  123. xhtml11-029.xhtml - XHTML 1.1, attributes in different order
  124. xhtml11-030.xhtml - XHTML 1.1, unknown rel value distraction
  125. xhtml11-031.xhtml - XHTML 1.1, unknown rel value distraction #2
  126. xhtml11-032.xhtml - XHTML 1.1, rev attribute distraction
  127. xhtml11-033.xhtml - XHTML 1.1, title attribute distraction
  128. xhtml11-034.xhtml - XHTML 1.1, type attribute distraction
  129. xhtml11-035.xhtml - XHTML 1.1, trailing space in rel value
  130. xhtml11-036.xhtml - XHTML 1.1, leading space in rel value
  131. xhtml11-037.xhtml - XHTML 1.1, leading and trailing spaces in rel value
  132. xhtml11-038.xhtml - XHTML 1.1, trailing space in type value
  133. xhtml11-039.xhtml - XHTML 1.1, leading space in type value
  134. xhtml11-040.xhtml - XHTML 1.1, leading and trailing spaces in type value
  135. xhtml11-041.xhtml - XHTML 1.1, trailing space in href value
  136. xhtml11-042.xhtml - XHTML 1.1, leading space in href value
  137. xhtml11-043.xhtml - XHTML 1.1, leading and trailing spaces in href value
  138. xhtml11-044.xhtml - XHTML 1.1, leading and trailing spaces in href value, relative URI
  139. xhtml11-045.xhtml - XHTML 1.1, relative URI relative to declared base URI
  140. xhtml11-046.xhtml - XHTML 1.1, relative URI relative to declared base URI #2
  141. xhtml11-047.xhtml - XHTML 1.1, relative URI relative to declared base URI on another server
  142. xhtml11-048.xhtml - XHTML 1.1, relative URI relative to declared base URI on another server #2
  143. xhtml11-049.xhtml - XHTML 1.1, relative URI relative to declared base URI on another server #3
  144. xhtml11-051.xhtml - XHTML 1.1, base URI distraction
  145. xhtml11-052.xhtml - XHTML 1.1, base URI declared after link should be ignored
  146. xhtml11-053.xhtml - XHTML 1.1, numeric entity for A in rel value
  147. xhtml11-054.xhtml - XHTML 1.1, numeric entity for a in rel value
  148. xhtml11-055.xhtml - XHTML 1.1, numeric entity for I in type value
  149. xhtml11-056.xhtml - XHTML 1.1, numeric entity for + in type value

Revision history: