Num Tests: 73 OpenID link parsing test cases Copyright (C) 2005-2008, JanRain, Inc. See COPYING for license information. File format ----------- All text before the first triple-newline (this chunk) should be ignored. This file may be interpreted as Latin-1 or UTF-8. Test cases separated by three line separators (`\n\n\n'). The test cases consist of a headers section followed by a data block. These are separated by a double newline. The headers consist of the header name, followed by a colon, a space, the value, and a newline. There must be one, and only one, `Name' header for a test case. There may be zero or more link headers. The `Link' header consists of whitespace-separated attribute pairs. A link header with an empty string as a value indicates an empty but present link tag. The attribute pairs are `=' separated and not quoted. Optional Links and attributes have a trailing `*'. A compilant implementation may produce this as output or may not. A compliant implementation will not produce any output that is absent from this file. Name: Well-formed link rel (in CAPS) Link: rel=openid.server href=http://www.myopenid.com/server
Name: No link tag at all Name: Link element first Name: Link inside HTML, not head Name: Link inside head, not html Name: Link inside html, after head Name: Link inside html, before head Name: Link before html and head Name: Link after html document with head Name: Link inside html inside head, inside another html Name: Link inside html inside head Name: link inside body inside head inside html Name: Link inside head inside head inside html Name: Link inside script inside head inside html Name: Link inside comment inside head inside htmlName: Link inside of head after short head
Name: Plain vanilla Link:
Name: Ignore tags in the