Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8273247

Missing space between quoted value and the subsequent attribute name should fail HTML parsing

XMLWordPrintable

      There's no space between "x" and href here, resulting in "glued" attributes:

      <a id="x"href="example.com"></a>

      According to the HTML spec, a situation such as this should cause a special kind of parsing error:
      https://html.spec.whatwg.org/multipage/parsing.html#after-attribute-value-(quoted)-state

      DocCommentParser is forgiving and parses that string as if there were whitespace between "x" and href.

            prappo Pavel Rappo (Inactive)
            prappo Pavel Rappo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: