You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2002/11/12 22:52:01 UTC
DO NOT REPLY [Bug 14489] New: -
[PATCH] small workaround for outputHeader called two times
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: fop-dev@xml.apache.org
ReportedBy: bdhaveos@wanadoo.be
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: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org