I tried your below suggestion. Still image is not rendering in the document.
<fo:external-graphic border="2px solid"
src="url('http://document.int.next.demo.westlaw.com/Blob/V1/If8fcb18f3d2211e598dc8b09b4f043e0.jpg?originationContext=document')"
content-width="127px" content-height="67px" role="html:img"
content-type="content-type:image/jpeg">
Let me know if I need to change anything?
Thanks,
Suresh
-----Original Message-----
From: Hussein Shafie [mailto:[email protected]]
Sent: Saturday, September 12, 2015 12:31 AM
To: Ramareddy, Suresh (TR Technology)
Cc: [email protected]
Subject: Re: [XFC] FW: Edgar content delivery issue - images in RTF
On 09/11/2015 03:42 PM, [email protected] wrote:
>
> We got below query from one of the partner that blob image is not
> rendering in some of the XMLMIND RTF documents. Getting broken image
> after rendering the document.
>
> Image looks to be fine, Attached the FO and image as part of this email.
>
> File0.jpg is mapped to below src url (highlighted).
>
> <fo:inline role="html:span"><fo:basic-link text-decoration="underline"
> color="blue" role="html:a"
> external-destination="url('http://wwwtest.int.westlaw.com/Link/Documen
> t/Blob/If8fcb18f3d2211e598dc8b09b4f043e0.jpg?originationContext=docume
> nt&vr=3.0&rs=cblt1.0&transitionType=DocumentImage&cont
> extData=(sc.History*oc.Search)')"><fo:external-graphic
> border="2px solid"
> src="url('http://document.int.next.demo.westlaw.com/Blob/V1/If8fcb18f3d2211e598dc8b09b4f043e0.jpg?originationContext=document')"
> content-width="127px
					"
> content-height="67px
					"
> role="html:img"></fo:external-graphic></fo:basic-link></fo:inline>
>
> Please check and let us know.
>
XMLmind XSL Utility which embeds the XMLmind XSL-FO Converter engine reports
these warnings (among other warnings):
---
XFC warning: bad property value content-width="127px
"
(file:/home/hussein/tmp/ViewDeliveryDocument_brkn2.xml, line #36, column #632)
XFC warning: bad property value content-height="67px
"
(file:/home/hussein/tmp/ViewDeliveryDocument_brkn2.xml, line #36, column #632)
XFC warning: unknown graphic format
(src="http://document.int.next.demo.westlaw.com/Blob/V1/If8fcb18f3d2211e598dc8b09b4f043e0.jpg?originationContext=document")
(file:/home/hussein/tmp/ViewDeliveryDocument_brkn2.xml, line #36, column
#632)
---
After replacing:
---
<fo:external-graphic border="2px solid"
src="url('http://document.int.next.demo.westlaw.com/Blob/V1/If8fcb18f3d2211e598dc8b09b4f043e0.jpg?originationContext=document')"
content-width="127px
					"
content-height="67px
					" role="html:img">
---
by:
---
<fo:external-graphic border="2px solid"
src="url('http://document.int.next.demo.westlaw.com/Blob/V1/If8fcb18f3d2211e598dc8b09b4f043e0.jpg?originationContext=document')"
content-width="127px" content-height="67px" role="html:img"
content-type="content-type:image/jpeg">
---
you should be OK.
Cannot test it as
http://document.int.next.demo.westlaw.com/Blob/V1/If8fcb18f3d2211e598dc8b09b4f043e0.jpg?originationContext=document
says "Server not found".
---
PS: Your attachment was huge despite the fact that the only meaningful line
being the above <fo:external-graphic>. You sent 2.8Mb of attachments to a
*public* mailing list causing the email software of hundreds of persons to hang
for a couple of minutes. In the future, please be more careful.
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support