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

Attribute corruption when dealing with converting attributes that include namespaces

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 1.0-beta-4
    • core / taglib.core
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment