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

Premature ">" should fail HTML parsing

XMLWordPrintable

      According to the rules of HTML parsing described in https://html.spec.whatwg.org/multipage/parsing.html#before-attribute-value-state , encountering the ">" character in the "before attribute value" state should cause a parse error:

          <element ... attribute-name=>

      However, DocCommentParser treats such input effectively as if the attribute had an empty value:

          <element ... attribute-name="">

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

              Created:
              Updated:
              Resolved: