Re: [xep-support] Re: PDF/X-3 compliance error

From: Jose Maria Sanchez de Ocana <jsandeo@gmail.com>
Date: Mon Mar 20 2006 - 02:23:12 PST

OK, I just found out what is actually going on...

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.

My actual sequence of commands is:
$ ~/usr/xep/xep -fo index_tot.fo -xep index_tot.xep ; xsltproc
postindex.xslindex_tot.xep > postindex_tot.xep ; ~/usr/xep/xep -xep
postindex_tot.xep
-pdf index_tot.pdf

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 &apos; entities):

$ head -n3 index_tot.fo
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xep-pdf-crop-offset 10mm?><?xep-pdf-crop-mark-width 0.2mm?><?xep-pdf-bleed
2mm?><?xep-pdf-bleed-mark-width 0.2mm?><?xep-pdf-pdf-x
pdf-x-3?><?xep-pdf-icc-profile url(color/icc/ISOcoated.icc)?><fo:root
xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:rx="
http://www.renderx.com/XSL/Extensions">
  <fo:layout-master-set>

$ head index_tot.xep
<?xml version="1.0" encoding="UTF-8"?>
<?xep-pdf-crop-offset 10mm?>
<?xep-pdf-crop-mark-width 0.2mm?>
<?xep-pdf-bleed 2mm?>
<?xep-pdf-bleed-mark-width 0.2mm?>
<?xep-pdf-pdf-x pdf-x-3?>
<?xep-pdf-icc-profile
url(&apos;file:/home/qf/Desktop/qf/dev/pruebas_v01/color/icc/ISOcoated.icc&apos;)?>

<xep:document xmlns:xep="http://www.renderx.com/XEP/xep" producer="XEP
4.5build 20060313" creator="Unknown" author="Unknown"
title="Untitled">
<xep:page width="470551" height="623622" page-number="1" page-id="1325">

I just manually edited this .xep file, and everything else went on just
fine.

Thanks,
JSO

On 3/18/06, David Tolpin <dvd@davidashen.net> wrote:
>
>
> On 17/07/5766, at 18:41, Jose Maria Sanchez de Ocana wrote:
>
> > [error] Invalid URL or non-existent file: &apos;file:/home/qf/
> > Desktop/qf/dev/pruebas_v01/color/icc/ISOcoated.icc&apos;; setting
> > ignored; PDF/X status revreted to 'none'.
> >
> > by the way, this file actually exists :) :
> >
> > qf@qfbox:~/Desktop/qf/dev/pruebas_v01$ ls -l /home/qf/Desktop/qf/
> > dev/pruebas_v01/color/icc/ISOcoated.icc
> > -rw-r--r-- 1 qf qf 1526728 Mar 17 15:16 /home/qf/Desktop/qf/dev/
> > pruebas_v01/color/icc/ISOcoated.icc
> >
> > Actually, this message looks more like an error in the URI
> > specification, but I have tried all sorts of forms, without
> > success. My fo file's head is:
> >
> > <?xml version="1.0" encoding="ISO-8859-1"?>
> > <?xep-pdf-crop-offset 10mm?><?xep-pdf-crop-mark-width 0.2mm?><?xep-
> > pdf-bleed 2mm?><?xep-pdf-bleed-mark
> > -width 0.2mm?><?xep-pdf-pdf-x pdf-x-3?><?xep-pdf-icc-profile url
> > (color/icc/ISOcoated.icc)?><fo:root xm
> > lns:fo="http://www.w3.org/1999/XSL/Format" xmlns:rx="http://
> > www.renderx.com/XSL/Extensions">
>
> Hi Jose,
>
> no, your FO file head does not look like this, but rather it contains
> the following line:
>
> <?xep-pdf-icc-profile url(&apos;color/icc/ISOcoated.icc&apos;)?>
>
> You either used quoted apostrophes in a processing instruction by
> mistake, or a faulty editor did it for you -- what editor are you
> using? XML entities should not be used in processing instructions,
> they will not be expanded there. If you write
>
> <?xep-pdf-icc-profile url('color/icc/ISOcoated.icc')?>
>
> or
>
> <?xep-pdf-icc-profile url(color/icc/ISOcoated.icc)?>
>
> then XEP will find the file.
>
> David Tolpin
>
>
> -------------------
> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
> in the body of the message to majordomo@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/terms-of-service.html
>

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@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/terms-of-service.html
Received on Mon Mar 20 02:52:02 2006

This archive was generated by hypermail 2.1.8 : Mon Mar 20 2006 - 02:52:02 PST