Uploaded image for project: 'Commons Jelly'
  1. Commons Jelly
  2. JELLY-47

Attribute corruption when dealing with converting attributes that include namespaces

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0-beta-4
    • Component/s: core / taglib.core
    • Labels:
      None

      Description

      It seems like there is attribute corruption when dealing with converting attributes that include namespaces.

      (It might be that my understanding on namespaces is a bit wrong, but I still think jelly is broken)

      Essentially, the script

      <j:jelly xmlns:j="jelly:core">
      <j:file name="target/testFileTag.tmp" outputMode="html">
      <html xmlns="http://www.w3.org/1999/xhtml"" xml:lang="en" lang="en">
      </html>
      </j:file>
      </j:jelly>

      is creating a file with the content (not even valid XML)

      <html xmlns="http://www.w3.org/1999/xhtml lang="en"></html>

      when I would expect it to produce something like

      <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"></html>

      I have included tests cases and scripts for this scenario

        Attachments

          Activity

            People

            • Assignee:
              diongillard dion gillard
              Reporter:
              bwalding Ben Walding
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: