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

LSSerializer docs have invalid character

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10
    • Component/s: xml
    • Subcomponent:
    • Resolved In Build:
      b15
    • Verification:
      Not verified

      Description

      The javadoc-generated file has an invalid character on line 236, in the sentence:

      An example would be serializing
       the element &lt;LaCa\F1ada/&gt; with <code>encoding="us-ascii"</code>.

      It shows up in the previous text as "\F1".

      It arises from this text in the source file:
      jaxp/src/java.xml/share/classes/org/w3c/dom/ls/LSSerializer.java

      An example would be serializing
       * the element &lt;LaCa\u00f1ada/&gt; with <code>encoding="us-ascii"</code>.

      javadoc should be better at handling characters like this (JDK-8183582) but it would also be better if the source used an entity here, instead of a direct Unicode character. Unicode f1 is "Latin Small Letter N with Tilde" so the appropriate entity is &ntilde;

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              joehw Joe Wang
              Reporter:
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: