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

Doccheck: the jpackage command page doesn't show the correct command-line options

XMLWordPrintable

    • b25

      In an attempt to make our documentation HTML5 compliant, we are running some HTML checking tools on our documentation.


      In https://docs.oracle.com/en/java/javase/22/docs/specs/man/jpackage.html , look for "Group value of the RPM".
      You will find the text "Group value of the RPM /.spec file or Section value of DEB control file" when the HTML for it is "<p>Group value of the RPM /<name>.spec file or Section value of DEB
      control file</name></p>"

      I believe there is an error here, maybe because `<` is not correctly escaped in "<names>" for example and should be "&lt;names>"

      The tidy tool reported a few more problems in the jpackage.html man page

       ---- begin processing ./specs/man/jpackage.html
      ./specs/man/jpackage.html:523:28: Error: <name> is not recognized!
      ./specs/man/jpackage.html:523:28: Warning: discarding unexpected <name>
      This document has errors that must be fixed before
      using HTML Tidy to generate a tidied up version.

            asemenyuk Alexey Semenyuk
            nbenalla Nizar Benalla
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: