Patches item #2945430, was opened at 2010-02-03 11:10 Message generated for change (Tracker Item Submitted) made by mindless You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=316035&aid=2945430&group_id=16035
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Alan Harder (mindless) Assigned to: Nobody/Anonymous (nobody) Summary: Support short close tags in XMLWriter ContentHandler Initial Comment: XMLWriter.endElement() has "hadContent" hardcoded to true, so when using the ContentHandler interface methods it always writes a long closing tag for empty elements (looks like going through writeElement() does support short close). This patch tracks whether tags are empty so it can use the right closing method. Patch is from dom4j 1.6.1, but hopefully still applies w/o much rework in 2.0 alpha. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=316035&aid=2945430&group_id=16035 ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ dom4j-dev mailing list dom4j-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-dev