Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-784

Xalan XHTML output lacks space before the closing />

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.3
    • Fix Version/s: None
    • Component/s: Serialization
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All
    • Bugzilla Id:
      5992

      Description

      W3C recommends that empty XHTML tags using the minimized syntax should be
      created in the form <tag ... /> where the space before the closing /> is
      required to ensure correct interpretation of the tag on legacy browsers. The
      minimised form must be used (so sayeth the W3C) for all tags that were formerly
      used without closing tags in HTML.

      The XHTML output method should generate tags matching this format.
      The minimised form should not be used for elements which have a non-empty
      context model but happen to be empty, like empty paragraph elements <p>.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              klausrusch@atmedia.net Klaus Johannes Rusch
            • Votes:
              2 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: