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

Wrong media-type for a given serialization method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 13
    • 13
    • xml
    • b12
    • Verified

      According to https://www.w3.org/TR/2017/REC-xslt-30-20170608/#splitting,
      "The value of the media-type attribute provides the value of the media-type parameter to the serialization method. The default value is text/xml in the case of the xml output method, text/html in the case of the html and xhtml output methods, and text/plain in the case of the text output method. "

      The tests sets the serialization method to 'html' and expects the media-type to be text/html, but encounters 'text/xml' because of which the test fails.

        1. SimplifiedTest.java
          2 kB
          Prabushankar Chinnasamy

            joehw Joe Wang
            pchinnasamy Prabushankar Chinnasamy
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: