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

xml:file produces very bad output

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 1.0-beta-4
    • taglib.xml
    • None
    • Running the XML tag-library using org.apache.commons.jelly.Jelly command with XML content of any kind. Outputting in XML or HTML format.

    Description

      <xml:file> elements has the following two majors bugs:
      -> namespace declarations, at least at the end of an element declaration, have an opening quote but no closing one !
      -> when choosing the prettyPrint = "yes"... the words get cut in the middle!

      The work-around for the first is currently to run:
      sed 's/xmlns([^=])="([^>])>/xmlns\1="\2">/g' < bad > ok

      Is it a dom4j bug ?? Not sure !

      PS: don't trust my time estimate... I have not gone inside dom4j to know it.

      Attachments

        Activity

          People

            proyal Peter A Royal Jr.
            polx Paul Libbrecht
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified