1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152
|
found
<!-- minimal well-formed success case -->
<html><head><meta http-equiv="X-XRDS-Location" content="found"></head></html>
found
<!-- minimal well-formed success case, xhtml closing, whitespace -->
<html><head><meta http-equiv="X-XRDS-Location" content="found" /></head></html>
found
<!-- minimal well-formed success case, xhtml closing, no whitespace -->
<html><head><meta http-equiv="X-XRDS-Location" content="found"/></head></html>
found
<!-- minimal success case -->
<html><head><meta http-equiv="X-XRDS-Location" content="found">
found
<!-- ignore bogus top-level tags -->
</porky><html><head><meta http-equiv="X-XRDS-Location" content="found">
found
<!-- Case folding for header name -->
<html><head><meta http-equiv="x-xrds-location" content="found">
found
<!-- missing <html> tag -->
<head><meta http-equiv="X-XRDS-Location" content="found">
found
<!-- javascript in head -->
<html><head><script type="text/javascript">document.write("<body>");</script><META http-equiv="X-XRDS-Location" content="found">
None
<!-- no close script tag in head -->
<html><head><script type="text/javascript">document.write("<body>");<META http-equiv="X-XRDS-Location" content="found">
found
<!-- case folding for tag names -->
<html><head><META http-equiv="X-XRDS-Location" content="found">
found
<!-- Stop after first one found -->
<html><head>
<meta http-equiv="x-xrds-location" content="found">
<meta http-equiv="x-xrds-location" content="not-found">
&
<!-- standard entity -->
<head><meta http-equiv="X-XRDS-Location" content="&">
found
<!-- hex entity -->
<html>
<head>
<meta http-equiv="X-XRDS-Location" content="found">
</head>
</html>
found
<!-- decimal entity -->
<html>
<head>
<meta http-equiv="X-XRDS-Location" content="found">
</head>
</html>
/
<!-- hex entity -->
<html>
<head>
<meta http-equiv="X-XRDS-Location" content="/">
</head>
</html>
<!-- empty string -->
<html><head><meta http-equiv="X-XRDS-Location" content="">
EOF
<!-- No markup, except this comment -->
None
<!-- No meta, just standard HTML -->
<html>
<head>
<title>A boring document</title>
</head>
<body>
<h1>A boring document</h1>
<p>There's really nothing interesting about this</p>
</body>
</html>
EOF
<!-- No <html> or <head> -->
<meta http-equiv="X-XRDS-Location" content="found">
EOF
<!-- No <head> tag -->
<html><meta http-equiv="X-XRDS-Location" content="found">
None
<!-- No <html> or <head> and a <body> -->
<body><meta http-equiv="X-XRDS-Location" content="found">
None
<!-- <head> and <html> reversed -->
<head><html><meta http-equiv="X-XRDS-Location" content="found">
None
<!-- <meta> is inside of <body> -->
<html><head><body><meta http-equiv="X-XRDS-Location" content="found">
None
<!-- <meta> is inside comment -->
<html>
<head>
<!--<meta http-equiv="X-XRDS-Location" content="found">-->
</head>
</html>
None
<!-- <meta> is inside of <body> -->
<html>
<head>
<title>Someone's blog</title>
</head>
<body>
<h1>My blog</h1>
<p>This is my blog</p>
<h2>Comments</h2>
<p><meta http-equiv="X-XRDS-Location" content="found"></p>
</body>
</html>
None
<!-- short head tag -->
<html><head/>
<meta http-equiv="X-XRDS-Location" content="found">
None
<!-- <body> comes first -->
<body><html><head>
<meta http-equiv="X-XRDS-Location" content="found">
None
<!-- </body> comes first -->
</body><html><head>
<meta http-equiv="X-XRDS-Location" content="found">
None
<!bad processing instruction!>
|