Issue Details (XML | Word | Printable)

Key: XALANJ-2277
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Brian Minchau
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XalanJ2

Both ToXMLStream and its superclass SerializerBase define m_cdataTagOpen

Created: 08/Mar/06 11:35 AM   Updated: 12/Dec/07 03:34 AM
Return to search
Component/s: Serialization
Affects Version/s: 2.7
Fix Version/s: 2.7.1

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works patch1.txt 2006-03-08 11:47 AM Brian Minchau 1 kB
Text File Licensed for inclusion in ASF works patch2.txt 2006-03-10 12:13 AM Brian Minchau 2 kB

Xalan info: PatchAvailable
Reviewer: Yash Talwar
Resolution Date: 10/Mar/06 02:19 AM


 Description  « Hide
m_cdatatTagOpen is a flag to indicate if one is in the middle of writing out:
    <![CDATA[ ....
and aids in merging CDATA or in writing out a closing ]]>

It can't be good to have identical instance variables, but with the one in ToXMLStream hiding the one in its super class.
It just can't be good.

The fix is to remove the definition in ToXMLStream.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #384576 Thu Mar 09 18:19:00 UTC 2006 minchau Committing patch for XALANJ-2277, which removes a
duplicate definition of m_cdataTagOpen from ToXMLStream.java
(it was already defined in the base class).
Files Changed
MODIFY /xalan/java/trunk/src/org/apache/xml/serializer/ToXMLStream.java