http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2626 *** shadow/2626 Fri Jul 13 16:24:35 2001 --- shadow/2626.tmp.9219 Fri Jul 13 16:44:15 2001 *************** *** 2,9 **** | Embedded Transformation fails when input is the actual XML string! | +----------------------------------------------------------------------------+ | Bug #: 2626 Product: XalanJ2 | ! | Status: NEW Version: 2.1.0 | ! | Resolution: Platform: PC | | Severity: Major OS/Version: Windows NT/2K | | Priority: Other Component: org.apache.xalan.transf | +----------------------------------------------------------------------------+ --- 2,9 ---- | Embedded Transformation fails when input is the actual XML string! | +----------------------------------------------------------------------------+ | Bug #: 2626 Product: XalanJ2 | ! | Status: RESOLVED Version: 2.1.0 | ! | Resolution: INVALID Platform: PC | | Severity: Major OS/Version: Windows NT/2K | | Priority: Other Component: org.apache.xalan.transf | +----------------------------------------------------------------------------+ *************** *** 55,58 **** THE ABOVE PROGRAM FAILS WITH THE MESSAGE LIKE, "DOCUMENT MUST BE WELL- FORMED..." ! Thanks in advance... --- 55,70 ---- THE ABOVE PROGRAM FAILS WITH THE MESSAGE LIKE, "DOCUMENT MUST BE WELL- FORMED..." ! Thanks in advance... ! ! ------- Additional Comments From [EMAIL PROTECTED] 2001-07-13 16:44 ------- ! Once your ByteArrayInputStream is read trying to find the PI, it is no longer at ! the beginning. Insert ! ! isXML.reset(); ! ! after the line beginning ! ! Source stylesheet ... ! ! and all will be fine.
