OK, I just found out what is actually going on...<br>
<br>
I am processing the document in 2 phases: first I run xep to generate a
.xep file, then I tweak it (through a stylesheet) for achieving a few
fancy effects, and finally I run xep again to turn that into the final
PDF document.<br>
<br>
My actual sequence of commands is:<br>
<span style="font-family: courier new,monospace;">$ ~/usr/xep/xep -fo
index_tot.fo -xep index_tot.xep ; xsltproc postindex.xsl index_tot.xep
&gt; postindex_tot.xep ; ~/usr/xep/xep -xep postindex_tot.xep -pdf
index_tot.pdf</span><br style="font-family: courier new,monospace;">
<br>Looks like there might be some sort of bug when generating the
output of the first xep run (it is actually xep who is including those
&amp;apos; entities):<br>
<br>
<span style="font-family: courier new,monospace;">$ head -n3 index_tot.fo</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?&gt;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&lt;?xep-pdf-crop-offset
10mm?&gt;&lt;?xep-pdf-crop-mark-width 0.2mm?&gt;&lt;?xep-pdf-bleed
2mm?&gt;&lt;?xep-pdf-bleed-mark-width 0.2mm?&gt;&lt;?xep-pdf-pdf-x
pdf-x-3?&gt;&lt;?xep-pdf-icc-profile
url(color/icc/ISOcoated.icc)?&gt;&lt;fo:root
xmlns:fo=&quot;<a href="http://www.w3.org/1999/XSL/Format">http://www.w3.org/1999/XSL/Format</a>&quot;
xmlns:rx=&quot;<a href="http://www.renderx.com/XSL/Extensions">http://www.renderx.com/XSL/Extensions</a>&quot;&gt;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp; &lt;fo:layout-master-set&gt;</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">$ head index_tot.xep</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&lt;?xep-pdf-crop-offset 10mm?&gt;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&lt;?xep-pdf-crop-mark-width 0.2mm?&gt;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&lt;?xep-pdf-bleed 2mm?&gt;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&lt;?xep-pdf-bleed-mark-width 0.2mm?&gt;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&lt;?xep-pdf-pdf-x pdf-x-3?&gt;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&lt;?xep-pdf-icc-profile url(&amp;apos;file:/home/qf/Desktop/qf/dev/pruebas_v01/color/icc/ISOcoated.icc&amp;apos;)?&gt;</span><br style="font-family: courier new,monospace;">

<br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&lt;xep:document
xmlns:xep=&quot;<a href="http://www.renderx.com/XEP/xep">http://www.renderx.com/XEP/xep</a>&quot; producer=&quot;XEP 4.5 build
20060313&quot; creator=&quot;Unknown&quot; author=&quot;Unknown&quot; title=&quot;Untitled&quot;&gt;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&lt;xep:page width=&quot;470551&quot; height=&quot;623622&quot; page-number=&quot;1&quot; page-id=&quot;1325&quot;&gt;</span><br>
<br>
I just manually edited this .xep file, and everything else went on just fine.<br>
<br>
Thanks,<br>
JSO<br>
<br>
<br><div><span class="gmail_quote">On 3/18/06, <b class="gmail_sendername">David Tolpin</b> &lt;<a href="mailto:dvd@davidashen.net">dvd@davidashen.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>On 17/07/5766, at 18:41, Jose Maria Sanchez de Ocana wrote:<br><br>&gt; [error] Invalid URL or non-existent file: &amp;apos;file:/home/qf/<br>&gt; Desktop/qf/dev/pruebas_v01/color/icc/ISOcoated.icc&amp;apos;; setting<br>
&gt; ignored; PDF/X status revreted to 'none'.<br>&gt;<br>&gt; by the way, this file actually exists :) :<br>&gt;<br>&gt; qf@qfbox:~/Desktop/qf/dev/pruebas_v01$ ls -l /home/qf/Desktop/qf/<br>&gt; dev/pruebas_v01/color/icc/ISOcoated.icc
<br>&gt; -rw-r--r--&nbsp;&nbsp;1 qf qf 1526728 Mar 17 15:16 /home/qf/Desktop/qf/dev/<br>&gt; pruebas_v01/color/icc/ISOcoated.icc<br>&gt;<br>&gt; Actually, this message looks more like an error in the URI<br>&gt; specification, but I have tried all sorts of forms, without
<br>&gt; success. My fo file's head is:<br>&gt;<br>&gt; &lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?&gt;<br>&gt; &lt;?xep-pdf-crop-offset 10mm?&gt;&lt;?xep-pdf-crop-mark-width 0.2mm?&gt;&lt;?xep-<br>&gt; pdf-bleed 2mm?&gt;&lt;?xep-pdf-bleed-mark
<br>&gt; -width 0.2mm?&gt;&lt;?xep-pdf-pdf-x pdf-x-3?&gt;&lt;?xep-pdf-icc-profile url<br>&gt; (color/icc/ISOcoated.icc)?&gt;&lt;fo:root xm<br>&gt; lns:fo=&quot;<a href="http://www.w3.org/1999/XSL/Format">http://www.w3.org/1999/XSL/Format
</a>&quot; xmlns:rx=&quot;http://<br>&gt; <a href="http://www.renderx.com/XSL/Extensions">www.renderx.com/XSL/Extensions</a>&quot;&gt;<br><br>Hi Jose,<br><br>no, your FO file head does not look like this, but rather it contains
<br>the following line:<br><br>&lt;?xep-pdf-icc-profile url(&amp;apos;color/icc/ISOcoated.icc&amp;apos;)?&gt;<br><br>You either used quoted apostrophes in a processing instruction by<br>mistake, or a faulty editor did it for you -- what editor are you
<br>using? XML entities should not be used in processing instructions,<br>they will not be expanded there. If you write<br><br>&lt;?xep-pdf-icc-profile url('color/icc/ISOcoated.icc')?&gt;<br><br>or<br><br>&lt;?xep-pdf-icc-profile url(color/icc/ISOcoated.icc)?&gt;
<br><br>then XEP will find the file.<br><br>David Tolpin<br><br><br>-------------------<br>(*) To unsubscribe, send a message with words 'unsubscribe xep-support'<br>in the body of the message to <a href="mailto:majordomo@renderx.com">
majordomo@renderx.com</a> from the address<br>you are subscribed from.<br>(*) By using the Service, you expressly agree to these Terms of Service <a href="http://www.renderx.com/terms-of-service.html">http://www.renderx.com/terms-of-service.html
</a><br></blockquote></div><br>