You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by pb...@apache.org on 2004/01/21 08:03:23 UTC

cvs commit: xml-fop/src/java/org/apache/fop/fo/flow FoPageSequence.java

pbwest      2004/01/20 23:03:23

  Modified:    src/java/org/apache/fop/fo/flow Tag: FOP_0-20-0_Alt-Design
                        FoPageSequence.java
  Log:
  Fixed count of static-cotent elements.
  Modified for static-content subtree event buffering.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.7   +3 -4      xml-fop/src/java/org/apache/fop/fo/flow/Attic/FoPageSequence.java
  
  Index: FoPageSequence.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/flow/Attic/FoPageSequence.java,v
  retrieving revision 1.1.2.6
  retrieving revision 1.1.2.7
  diff -u -r1.1.2.6 -r1.1.2.7
  --- FoPageSequence.java	20 Jan 2004 05:57:07 -0000	1.1.2.6
  +++ FoPageSequence.java	21 Jan 2004 07:03:23 -0000	1.1.2.7
  @@ -162,10 +162,9 @@
                       (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);
               }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org