I am printing a image in the BIP report using fo:instream-foreign-object by passing the Base64 content of the image, it was working in the past but now I am getting "java.lang.StringIndexOutOfBoundsException: String index out of range: 9878" error.
Below is the xml tag I used to print the image
<?if:IMG_B64_TEXT!=''?><fo:instream-foreign-object content-type="image/jpg" height="1 in" width="1.3 in"><xsl:value-of select="IMG_B64_TEXT"/></fo:instream-foreign-object><?end if?>