Many thanks. 
CT

-----Original Message-----
From: Hussein Shafie [mailto:[email protected]] 
Sent: 07 January 2009 17:50
To: Chris Taylor
Cc: xmleditor-support at xmlmind.com
Subject: Re: [XXE] PDF output

Chris Taylor wrote:
> I have been trying out the pdf creation and downloaded the renderX and

> installed. If I look at the plug-in menu, it shows that the renderX in

> installed. However, the conversion comes up with 10 errors related to 
> pixel. I have a number of images linked in the xml file and I checked 
> through each on and could see no reference to pixel sizes. Is there 
> something else I should be looking at?
> 
> I have attached the screendumps of the plugin and the convert errors, 
> plus the xml file.
> 

holoSeisCTNov08.xml contains several imagedata elements having an empty
"depth" attribute and/or an empty "contentwidth" attribute. This is
allowed by the DocBook DTD, but does not make any sense: you probably
specified these attributes by mistake.

This causes the DocBook XSLT style sheets to generate an invalid XSL-FO
file. And of course, RenderX XEP cannot process such invalid XSL-FO
file.

The cure is very simple: locate all depth attributes (using the Find
Element dialog box -- don't remember where it is on your old 3.8
version) and all contentwidth attributes and remove these attributes
when they are empty.

To test this, I've removed *all* depth attributes (empty or not) using a
macro I've recorded and I've removed the empty contentwith attribute and
after that everything works fine.

Modified holoSeisCTNov08.xml is attached to this email.




This email and any files contained therein is confidential and may contain 
privileged information.  If you are not the named addressee(s) or you have 
otherwise received this in error, you should not distribute or copy this e-mail 
or use any of its content for any purpose. Please notify the sender immediately 
by e-mail if you have received this e-mail in error and delete it from your 
system

Reply via email to