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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to