AW: [xep-support] 3.8 to 4.2 (FO as InputStream) external graphic problem

Kurt Spescha kurt.spescha at consor.ch
Tue Feb 22 05:42:16 PST 2005


The problem has been solved with setting the systemid of the InputSource
to the path of the graphic files. In the JavaDoc of the package
org.xml.sax.InputSource was mentioned that the systemid of the
InputSource is optional for InputStreams but useful. DOM is working too.

rgrds

Kurt Spescha
Consor AG, CH-8006 Zürich
+41 (0)44 368 35 44
+41 (0)76 560 66 89
kurt.spescha at consor.ch

************ BITTE BEACHTEN ************

Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter
Ausschluss jeder Reproduktion zu zerstören und die absendende Person
umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.



-----Ursprüngliche Nachricht-----
Von: owner-xep-support at renderx.com
[mailto:owner-xep-support at renderx.com] Im Auftrag von Kurt Spescha
Gesendet: Dienstag, 22. Februar 2005 11:03
An: xep-support at renderx.com
Betreff: [xep-support] 3.8 to 4.2 (FO as InputStream) external graphic
problem


We use the renderer with 3 different versions of fo input
1. as a file (OK)
2. as inputstream (see below)
3. as DOM (in test now, some problem also in 3.8)

with 3.8 there was no problem with external graphics. with 4.2 i've
problem with case 2. with 1. there is no problem with absolute urls.
with 2. i got problem with the absolute url

Inside FO as Stream
(document 
  (validate [validation OK])
  (compile 
    [warning] Null system ID: relative URLs may behave badly
    ...
      (static-content [flow-name xsl-region-after]2005-02-22
10:42:12.150000000 - rendering failed: attribute 'image-base-url' is
required but missing

until now i've got no idea how to set the systemid. using the fo as File
the systemid is the fo-file itself. then it works. my question to the
supporters is if the fo-file (the Inputsource) always have to be a file
on the filesystem? has the systemid to be the fo-file? 

rgrds

Kurt Spescha
Consor AG, CH-8006 Zürich
+41 (0)44 368 35 44
+41 (0)76 560 66 89
kurt.spescha at consor.ch

************ BITTE BEACHTEN ************

Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter
Ausschluss jeder Reproduktion zu zerstören und die absendende Person
umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.



-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address you
are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
http://www.renderx.com/tos.html


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list