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

tag library xml does not correctly parse body

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • taglib.xml
    • None

    Description

      If I invoke some Jelly script within an xml tag this "body" will not be parsed
      correctly. As far as I understand the code the sequence

      handler.startDocument();
      invokeBody( newOutput);
      handler.endDocument();

      will always create an empty document since no tag will ever be reported and thus
      all writes will be ignored.

      The whole code in the body of the parseBody method in ParseTagSupport.java
      should be replaced by

      protected Document parseBody(XMLOutput output) throws JellyTagException

      { return parseText(getBodyText(false)); }

      Attachments

        Activity

          People

            Unassigned Unassigned
            diongillard dion gillard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: