commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@codehaus.org
Subject [jira] Closed: (JELLY-18) XMLOutput with OutputFormat.setExpandEmptyElements(false) still expands empty elements
Date Thu, 04 Sep 2003 21:24:29 GMT
Message:

   The following issue has been closed.

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=JELLY-18


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JELLY-18
    Summary: XMLOutput with OutputFormat.setExpandEmptyElements(false) still expands empty
elements
       Type: Bug

     Status: Closed
   Priority: Minor
 Resolution: FIXED

 Time Spent: Unknown
  Remaining: Unknown

    Project: jelly
 Components: 
             core / taglib.core

   Assignee: peter royal
   Reporter: Brian Leonard

    Created: Wed, 11 Dec 2002 5:32 PM
    Updated: Thu, 4 Sep 2003 4:23 PM
Environment: Solaris/sparc with jdk 1.4.1

Description:
         // here we're creating an XMLOutput that doesn't
         // expand <element/> to <element></element>
         OutputStream out = new FileOutputStream(outFile);
         OutputFormat format = OutputFormat.createPrettyPrint();
         format.setExpandEmptyElements(false);
         XMLWriter xmlWriter = new XMLWriter(out, format);
         XMLOutput xmlOutput = new XMLOutput(xmlWriter);
        
         context.runScript(templateFile, xmlOutput);
         xmlOutput.flush();
         out.close();

The above code expands empty elements when it shouldn't.



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message