Modified for static-content subtree event buffering.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197231
13f79535-47bb-0310-9956-
ffa450edef68
(FObjectNames.STATIC_CONTENT, XmlEvent.DISCARD_W_SPACE))
!= null) {
// Loop over remaining fo:static-content
- if (firstStaticContent != -1)
+ if (firstStaticContent == -1)
firstStaticContent = numChildren();
new FoStaticContent(getFOTree(), this, (FoXmlEvent)ev);
- ev = xmlevents.getEndElement(XmlEventReader.DISCARD_EV, ev);
namespaces.relinquishEvent(ev);
}