Uploaded image for project: 'XalanC'
  1. XalanC
  2. XALANC-519

HTML serialization should reduce "boolean attributes" regardless of how created

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • CurrentCVS
    • XalanC
    • None

    Description

      The situation illustrated in test case attribset17...
      <Input Type="checkbox">
      <xsl:attribute name="CHECKED">CHECKED</xsl:attribute>
      </Input>
      should be emitted as
      <Input Type="checkbox" CHECKED>
      and there is an output test (34, IIRC) that shows the same thing for LREs. We don't (yet) have a test for xsl:copy-of, which failed for me on <td nowrap>. I think one of the XalanC commiters should advise about whether xsl:copy or xsl:element use-attribute-sets="foo" or any other case is a separate code path that needs separate testing.

      Brian Minchau and Henry Z. think that the set of attributes requiring this treatment is: checked, compact, declare, defer, disabled, ismap, multiple, nohref, noresize, noshade, nowrap, readonly, selected.

      Attachments

        1. test1.xsl
          1 kB
          David N Bertoni
        2. test1.xml
          0.8 kB
          David N Bertoni
        3. patch.txt
          4 kB
          David N Bertoni

        Activity

          People

            dbertoni David N Bertoni
            david_marston@us.ibm.com David Marston
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: