PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2807 *** shadow/2807 Wed Jul 25 15:49:43 2001 --- shadow/2807.tmp.7815 Wed Jul 25 15:49:43 2001 *************** *** 0 **** --- 1,29 ---- + +============================================================================+ + | Exception thrown when no CDATA section present | + +----------------------------------------------------------------------------+ + | Bug #: 2807 Product: XalanJ2 | + | Status: NEW Version: 2.2.x | + | Resolution: Platform: All | + | Severity: Major OS/Version: Other | + | Priority: Other Component: Xalan-Xsltc | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + TextOutput.startElement should test the _cdata Hashtable for null before + calling get(). + + From: + + if (_cdata.get(elementName) != null) + _cdataStack.push(new Integer(_depth)); + + To: + if (_cdata != null) { + if (_cdata.get(elementName) != null) + _cdataStack.push(new Integer(_depth)); + }
