You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2001/07/10 11:16:02 UTC

[Bug 2530] New: - New method BaseMarkupSerializer.processingInstructionIO breaks existing derived classes

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

*** shadow/2530	Tue Jul 10 02:16:02 2001
--- shadow/2530.tmp.21690	Tue Jul 10 02:16:02 2001
***************
*** 0 ****
--- 1,31 ----
+ +============================================================================+
+ | New method BaseMarkupSerializer.processingInstructionIO breaks existing de |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2530                        Product: Xerces-J                |
+ |       Status: NEW                         Version: 1.4.1                   |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Normal                   OS/Version: All                     |
+ |     Priority: Other                     Component: Serialization           |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: xerces-j-dev@xml.apache.org                                  |
+ |  Reported By: Jochen.Schwarze@cit.de                                       |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ Suppose you have a derived class of org.apache.xml.serialize.HTMLSerializer 
+ that overrides the processingInstruction method of BaseMarkupSerializer to do 
+ some magic with processing instructions when writing an HTML file.
+ 
+ When upgrading to Xerces 1.4.1 (from 1.3, supposedly) that method in the 
+ derived class is no longer called.
+ 
+ Reason: There is a new method processingInstructionIO, and 
+ BaseMarkupSerializer.serializeNode no longer calls processingInstruction, but 
+ the new method.
+ 
+ Fix: Implement processingInstructionIO in the derived class 
+ 
+ As an API change that breaks existing code, this should be noted in the class 
+ documentation.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org