[xep-support] Re: Spurious validation errors for Oxygen topic.fo files

Kevin Brown kevin at renderx.com
Thu May 12 13:55:19 PDT 2011


Patrick:

The SVG is surely just a pathing issue.

I would create a copy of xep.bat and call it xepnovalid.bat or something.
Set up a new transform in oXygen that calls this .bat file. In side this
.bat file, use:

"C:\Program Files\Java\jre6\bin\java" -classpath "%CP%"
com.renderx.xep.XSLDriver "-DCONFIG=C:\Program Files
(x86)\RenderX\XEP\xep.xml" -valid %*

Thus, forcing -valid to the command line.

Kevin Brown
RenderX

-----Original Message-----
From: Patrick Leevers [mailto:p.leevers at imperial.ac.uk] 
Sent: Thursday, May 12, 2011 1:11 PM
To: kevin at renderx.com; RenderX Community Support List
Subject: Re: [xep-support] Re: Spurious validation errors for Oxygen
topic.fo files

Thanks for this.  

Some progress -- I can now get results by rinning xep from the command line,
but:
-- svg graphics which previously rendered happily to pdf now don't;  and
-- I'll have to figure out from Syncrosoft why inserting "-valid" into
Oxygen's call to XEP (through the command string in Oxygen preferences)
doesn't seem to have any effect at all.

Pat Leevers

On 12 May 2011, at 20:23, Kevin Brown wrote:

> Java 1.6.0_24 and validation ... XEP uses James Clark's parser for
> validation and there seems to be a bug with this parser in this version of
> Java (possibly later also, not tested yet).
> 
> See previous posts:
> 
> http://services.renderx.com/lists/xep-support/6600.html
> 
> You can disable validation for successful production or if you wish to
> validate, follow the directions in the above link.
> 
> Kevin Brown
> RenderX
> 
> 
> -----Original Message-----
> From: xep-support-bounces at renderx.com
> [mailto:xep-support-bounces at renderx.com] On Behalf Of Patrick Leevers
> Sent: Thursday, May 12, 2011 10:50 AM
> To: xep-support at renderx.com
> Subject: [xep-support] Spurious validation errors for Oxygen topic.fo
files
> 
> For no apparent reason I'm seeing many spurious validation errors for
> largeish .fo files produced from DITA source by Oxygen.  The same sources
> were recently generating no errors. Transformation to PDF fails with error
> such as
> [java] ERROR: Attribute 'leader-length' cannot have a value of "".
> But the topic-fo file contains no such error.  To my unutotred eye it
looks
> fine.  Can anyone offer me any advice please?
> 
> Thanks
> Pat Leevers
> 
> --
> Eur Ing Dr Patrick Leevers
> Director of Courses
> Reader in Polymer Engineering
> ------------------------------------
> Department of Mechanical Engineering
> Imperial College London
> South Kensington Campus
> London SW7 2AZ
> ------------------------------------
> Tel:   +44 (0)20 75 94 70 88
> Fax:   +44 (0)20 75 94 70 17
> Email: p.leevers at imperial.ac.uk
> http://www.imperial.ac.uk/mepolymers
> 
> 
> 
> 
> 
> 
> !DSPAM:87,4dcc1dfa63731566316059!
> 
> 
> _______________________________________________
> (*) To unsubscribe, please visit
> http://lists.renderx.com/mailman/options/xep-support
> (*) By using the Service, you expressly agree to these Terms of Service
> http://w
> ww.renderx.com/terms-of-service.html
> 
> _______________________________________________
> (*) To unsubscribe, please visit
http://lists.renderx.com/mailman/options/xep-support
> (*) By using the Service, you expressly agree to these Terms of Service
http://w
> ww.renderx.com/terms-of-service.html

--
Eur Ing Dr Patrick Leevers
Director of Courses
Reader in Polymer Engineering
------------------------------------
Department of Mechanical Engineering
Imperial College London
South Kensington Campus
London SW7 2AZ
------------------------------------
Tel:   +44 (0)20 75 94 70 88
Fax:   +44 (0)20 75 94 70 17
Email: p.leevers at imperial.ac.uk
http://www.imperial.ac.uk/mepolymers









More information about the Xep-support mailing list