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

U+0000 NULL character in an attribute should fail HTML parsing

XMLWordPrintable

      There are three types of an HTML attribute paired with value: single-quoted, double-quoted, unquoted. Neither of those types allows NULL character:

      1. https://html.spec.whatwg.org/multipage/parsing.html#attribute-value-(single-quoted)-state
      2. https://html.spec.whatwg.org/multipage/parsing.html#attribute-value-(double-quoted)-state
      3. https://html.spec.whatwg.org/multipage/parsing.html#attribute-value-(unquoted)-state

      I know that this is likely a corner and mostly irrelevant to javadoc use case, but for the sake of HTML conformance we should consider it.

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

              Created:
              Updated:
              Resolved: