XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Janice SantiagoSubject: Error when creating pdf file
Author: Janice Santiago
Date: 21 Jul 2008 07:41 AM
Hello, I get this error message when attempting any pdf file creation. It generates the xml code but bombs before creating the file:

XEP 4.11 build 20071214
[Fatal Error] xep.xml:956:39: The reference to entity "H.TTF" must end with the ';' delimiter.
Formatter initialization failed: com.renderx.xep.lib.ConfigurationException: Structure error in configuration file: org.xml.sax.SAXParseException: The reference to entity "H.TTF" must end with the ';' delimiter.

Postnext
(Deleted User) Subject: Error when creating pdf file
Author: (Deleted User)
Date: 21 Jul 2008 08:52 AM
Hi Janice,
could you open the <stylusdir>\bin\Plugins\renderx\xep.xml file and post the lines around line 956?

Thanks,
Alberto

Postnext
Janice SantiagoSubject: Error when creating pdf file
Author: Janice Santiago
Date: 21 Jul 2008 09:32 AM
Originally Posted: 21 Jul 2008 09:17 AM
Hi Alberto,
Here are lines 955 to 966:
<font-family name="Sports&#x0026;Hobbies" embed="true">
<font><font-data ttf="SPORTS&H.TTF"/></font>
</font-family>
<font-family name="MusicalSymbols" embed="true">
<font><font-data ttf="MUSICAL.TTF"/></font>
</font-family>
<font-family name="Business&#x0026;Government" embed="true">
<font><font-data ttf="BUSINESS.TTF"/></font>
</font-family>
<font-family name="Bullets 5&#x0028;Korean&#x0029;" embed="true">
<font><font-data ttf="Bullets5.ttf"/></font>
</font-family>

I changed SPORTS&H.TTF to SPORTS.TTF. It works now! I would have never found it without your help.

Thanks!!!

Postnext
(Deleted User) Subject: Error when creating pdf file
Author: (Deleted User)
Date: 21 Jul 2008 09:31 AM
Hi Janice,
you should change the line

<font><font-data ttf="SPORTS&H.TTF"/></font>

to say

<font><font-data ttf="SPORTS&amp;H.TTF"/></font>

We will fix the installation to avoid placing the wrong line in the file.

Thanks,
Alberto

Posttop
Denise IrwinSubject: Error when creating pdf file
Author: Denise Irwin
Date: 30 Jun 2011 03:42 AM
Originally Posted: 30 Jun 2011 03:40 AM
Thanks for this solution..




------------
CSS Training
http://www.developintelligence.com/catalog/web-development-training/css

 
Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.