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

Reply via email to