https://issues.apache.org/bugzilla/show_bug.cgi?id=48032
Summary: The intermediate file format has xml:space for every text element Product: Fop Version: 0.95 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: page-master/layout AssignedTo: fop-dev@xmlgraphics.apache.org ReportedBy: gobr...@obriensrus.co.uk The intermediate file format that is passed between the formatter and the renderer includes an xml:space=preserve attribute on every element. Which is wasting memory, and cpu time as this could be set at the page element level or higher, as the spec details (see below), all elements within the element that defines xml:space=preserver inherit the option, unless overridden. As for the other non text elements they don't care so we can save the processing and memory of the extra attrubute entries. ==== XML Spec ====== http://www.w3.org/TR/REC-xml/ >From Section 2.10 The value "default" signals that applications' default white-space processing modes are acceptable for this element; the value "preserve" indicates the intent that applications preserve all the white space. This declared intent is considered to apply to all elements within the content of the element where it is specified, unless overridden with another instance of the xml:space attribute. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.