DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14489>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14489

[PATCH] small workaround for outputHeader called two times

           Summary: [PATCH] small workaround for outputHeader called two
                    times
           Product: Fop
           Version: 0.20.4
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: pdf renderer
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When you use a Xalan transformer as a SaxReader, the SAX startDocument callback 
is called two times by Xalan. U just add a test on position value in the stream 
and a reset to 0 in the endDocument. When you use a XMLReader directly, the 
outputHeader is callend oly once. May be a Xalan Bug?

I add a small diff with also some Javadoc fixing.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to