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 Mon, 23 Jun 2003 02:42:59 GMT
Message:

   The following issue has been closed.

   Resolver: peter royal
       Date: Sun, 22 Jun 2003 9:41 PM

dom4j has been upgraded to 1.4, but this really is an issue with dom4j anyways
---------------------------------------------------------------------
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: WON'T FIX

 Time Spent: Unknown
   Estimate: 0 minutes

    Project: jelly

   Assignee: peter royal
   Reporter: Brian Leonard

    Created: Wed, 11 Dec 2002 5:32 PM
    Updated: Sun, 22 Jun 2003 9:41 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/Administrators.jspa

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message