Re: [ERROR] TrueType warning: Can't find cvt table

2006-03-28 Thread Jeremias Maerki

On 28.03.2006 23:19:48 Pardha Paruchuri wrote:
> I am getting following error in FOP 0.20.5 when I am trying to convert into 
> PDF. but It creates the PDF fine.
>
>   [ERROR] TrueType warning: Can't find cvt table
>   [ERROR] TrueType warning: Can't find prep table
>
>   what does this mean ? Can it be ignored ? Please help.

TrueType fonts consist of many different tables with different
information in each. Not every table can be found in every font. The
warnings above mean that the "cvt" and "prep" tables don't exist in your
font. If you still get the XML font metric file from the TrueType font
and the usage of the font in FOP works then yes, you can ignore it.
I'm not sure if the two tables are required for the font to work but I
think they are of only minor importance.

Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ERROR] TrueType warning: Can't find cvt table

2006-03-28 Thread Pardha Paruchuri
I am getting following error in FOP 0.20.5 when I am trying to convert into PDF. but It creates the PDF fine.     [ERROR] TrueType warning: Can't find cvt table  [ERROR] TrueType warning: Can't find prep table     what does this mean ? Can it be ignored ? Please help.     -Pardha
		New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.

Custom namespaces and/or document() function

2006-03-28 Thread Gosselin, Michael
I'm trying to get this document() problem to work, so I created a second
"namespace" so the document read in is available.  The original XSL file has
a custom namespace rr defined as such:

http://www.w3.org/1999/XSL/Format";
xmlns:rr="urn:Correlagen:RightReport"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>

When the transform processes, it looks for data in the original XML document
(input using fop.sh -xml filename ...) and gets it like this:



Now, using the document() function, would I just merge the files into the
rr: namespace, or should I use it to put data into a new custom namespace?
If the latter, how would I access the data?

Any help appreciated, as always.

Michael Gosselin
Athena Diagnostics, Inc.
(508) 756-2886 x3708
(800) 394-4493 x3708



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ANNOUNCE] Stylus Studio 2006 Release 2 Now Available

2006-03-28 Thread Stylus Studio
[announce] Hey Everyone,

Release 2 of Stylus Studio 2006 has just been released.  The following
are some of the highlights of Stylus Studio 2006 Release 2 XML
Enterprise Edition:

* Enhanced EDI Support: Stylus Studio's EDI-to-XML and XML-to-EDI
tools now support hundreds of  message and transaction set types of
EDIFACT and X12 - across dozens of versions - allowing EDI to be used
as easily as XML as input to XSLT and XQuery programs. And those same
programs can write output through the adapter, generating EDI
transparently and automatically.  Stylus Studio supports the newest
release of X12, 5030, keeping the tradition of providing comprehensive
support of available versions of X12. Preliminary versions of EDIFACT
are also supported.  Stylus Studio can now automatically convert to
and from EDIFACT versions from the prototype 88-1 to the present D05A
version.  The International Air Transport Association dialect of EDI,
IATA PADIS, an EDI standard for air transportation, is also supported.
Learn more at: http://www.stylusstudio.com/edi/

* Convert IATA to XML Schema: A new Document Wizard allows you to
convert an IATA documents to XML Schema, simplifying the verification
of IATA files converted to XML.

* Invoke Web Services from XQuery: Use the Stylus Studio Web Service
Call Composer to design and test any Web service invocation, then
generate the XQuery code needed to invoke the same SOAP request
directly in your XQuery application - Learn more at:
http://www.stylusstudio.com/xquery.html

* Integration with xqDoc: Generate user-friendly documentation of your
XQuery libraries and modules for reference purposes - learn more at:
http://www.stylusstudio.com/xquery/xqdoc.html

* Support for Saxon 8.7 XSLT and XQuery Processor: Updated support for
developing applications using the Saxon schema-aware XQuery and XSLT
processor - learn more at:
http://www.stylusstudio.com/saxon_xquery_processor.html

* Support for WSDL to Java Bindings: Integrated support for Apache
Axis Java code generation directly within the Stylus Studio Web
Service Call Composer - learn more at:
http://www.stylusstudio.com/web_services.html

* XML Adapter API Enhancements: Seamless access to relational
databases, EDI, flat files, and other legacy data from your XSLT
stylesheets or XQuery expressions can be done using Stylus Studio's
Java adapter components that are now easier to embed and offer even
faster streaming data performance - learn more at:
http://www.stylusstudio.com/deployment/

You can download Stylus Studio(r) 2006 Release 2 today here:
http://www.stylusstudio.com/xml_download.html

Sincerely,
The Stylus Studio Team
http://www.stylusstudio.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: OT: moved from Tomcat 4.1, JDK 1.4, fop 0.20.5 to Tomcat 5.5, JDK 1.5 fop 0.20.5 and get problem with java external method call.. please help

2006-03-28 Thread David Gagnon

Hi,

Thanks it solve my problem.  I put Xerces and all Xml libraries in  
tomcat5\common\endorsed


I'm pretty sure it was a ClassLoader problem.  Since Xerces classes are 
in the JDK it use a classloader that don't see the classes in my web 
application.


Thanks for your help!

Best Regards
/David

Jeremias Maerki wrote:


On 28.03.2006 16:21:48 David Gagnon wrote:
 


Hi,

   


Well, it looks like there's something wrong with your CompanyReportWebosFacade
class. Maybe you changed the method signature of the featureContent()
method or you forgot to include that class in the classpath. 

 

I just updated my Tomcat and JDK it stops working ...  I know that FOP 
seems to use Xerces bundle with JDK1.5 is that can be the problem ?
   



Xerces and Xalan shipped with Apache FOP will only get activated in Java 1.4
or later if they are installed so that they override the implementations
embedded in the JRE (Endorsed standards override mechanism [1]).
Otherwise, they don't have an effect. In my experience, it is a very
good idea to replace the XML libraries bundled with the JRE with the
latest releases of Xerces-J and Xalan-J. But if it help your problem, I
don't know. I'd debug your stylesheet in a separate test class outside
Tomcat with your new JDK to more easily identify the problem. Other than
that, I have currently no idea what else you could do.

[1] http://java.sun.com/j2se/1.4.2/docs/guide/standards/





Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Unicode or font problem using Fop Trunk

2006-03-28 Thread Jeremias Maerki

On 28.03.2006 16:22:39 Benoit THIERRY wrote:
> Hi,
> Concerning my font problem (using jdk1.5 and fop trunk but I think it's the 
> same problem using 0.91beta):
> 
> My error message : 
> Font 'Arial,normal,400' not found. Substituting with default font.

Is that the only error message?

> 
> Here is a part of what I have in fop.xconf for the fonts section :
> 
> 
>   
>   
>   
>   
>   

Hmm, this seems right but without the larger context (i.e. seeing the
whole file) I cannot be sure.
> 
> Here is a part of my fo file :
> 
>  text-align="center">Προεπιλεγμένη Διαμόρφωση 
> Σταθμών
> 
> I don't know if that can help you.
> 
> Thanks in advance.
> 
> For information, what has changed from version 0.20.5 and 0.91beta on 
> configuration format ?

You can see for yourself:
0.20.5: 
http://xmlgraphics.apache.org/fop/0.20.5/configuration.html
http://svn.apache.org/repos/asf/xmlgraphics/fop/tags/fop-0_20_5/conf/userconfig.xml

0.91beta:
http://xmlgraphics.apache.org/fop/0.91/configuration.html
http://svn.apache.org/repos/asf/xmlgraphics/fop/tags/fop-0_91-beta/conf/fop.xconf


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: OT: moved from Tomcat 4.1, JDK 1.4, fop 0.20.5 to Tomcat 5.5, JDK 1.5 fop 0.20.5 and get problem with java external method call.. please help

2006-03-28 Thread Jeremias Maerki

On 28.03.2006 16:21:48 David Gagnon wrote:
> Hi,
> 
> >Well, it looks like there's something wrong with your 
> >CompanyReportWebosFacade
> >class. Maybe you changed the method signature of the featureContent()
> >method or you forgot to include that class in the classpath. 
> >
> I just updated my Tomcat and JDK it stops working ...  I know that FOP 
> seems to use Xerces bundle with JDK1.5 is that can be the problem ?

Xerces and Xalan shipped with Apache FOP will only get activated in Java 1.4
or later if they are installed so that they override the implementations
embedded in the JRE (Endorsed standards override mechanism [1]).
Otherwise, they don't have an effect. In my experience, it is a very
good idea to replace the XML libraries bundled with the JRE with the
latest releases of Xerces-J and Xalan-J. But if it help your problem, I
don't know. I'd debug your stylesheet in a separate test class outside
Tomcat with your new JDK to more easily identify the problem. Other than
that, I have currently no idea what else you could do.

[1] http://java.sun.com/j2se/1.4.2/docs/guide/standards/





Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: OMR codes

2006-03-28 Thread Karthik K
shalini reddy  yahoo.com> writes:

> 
> 
> Hi 
>  
> I am a new FOP user.
>  
> I have a requirement on OMR codes using FOP. 
> I know that Rob Stote has replied a great solution as to how to insert OMR 
codes in PDF document.
>  
> Rob,
> Could you please let me know your e-mail address because, I have the same 
requirement as you had some time earlier and I can ask further clarifications 
on OMR mark codes.
>  
> Thanks
> Shailaja.
> 
> Do you Yahoo!?
> Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
> 


Shailaja,
I am trying to insert OMR Codes in oracle reports. But I am trying to 
insert manually the OMR Codes. Please let me know the standard procedure 
available. It will be helpful.

Regards,
Karthik



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Unicode or font problem using Fop Trunk

2006-03-28 Thread Benoit THIERRY
Hi,
Concerning my font problem (using jdk1.5 and fop trunk but I think it's the 
same problem using 0.91beta):

My error message : 
Font 'Arial,normal,400' not found. Substituting with default font.

Here is a part of what I have in fop.xconf for the fonts section :








Here is a part of my fo file :

Προεπιλεγμένη Διαμόρφωση Σταθμών

I don't know if that can help you.

Thanks in advance.

For information, what has changed from version 0.20.5 and 0.91beta on 
configuration format ?

ben


-Message d'origine-
De : Chris Bowditch [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 27 mars 2006 17:22
À : fop-users@xmlgraphics.apache.org
Objet : Re: Unicode or font problem using Fop Trunk

Benoit THIERRY wrote:

> Hi,
> I am trying to generate a pdf file from a 'fo file' which content is in
> Greek.
> 
> This file was working using version 0.20.5 but is not working anymore.

So I guess you are using 0.91beta then?

> 
> Indeed, the greek characters are replaced by a "#" character except for
> the bookmarks which are displayed correctly.
> 
> Any advice or tip will be welcome ...

In order to help you we really need to see some snippets of your XSL-FO, 
and your font configuration in the fop.xconf file.

How did you generate the font metrics from TTF file or PFM? Which 
renderer are using? I might be that you need to use -enc ansi option 
when you generate the font metrics.

Chris



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





Re: OT: moved from Tomcat 4.1, JDK 1.4, fop 0.20.5 to Tomcat 5.5, JDK 1.5 fop 0.20.5 and get problem with java external method call.. please help

2006-03-28 Thread David Gagnon

Hi,


Well, it looks like there's something wrong with your CompanyReportWebosFacade
class. Maybe you changed the method signature of the featureContent()
method or you forgot to include that class in the classpath. 

I just updated my Tomcat and JDK it stops working ...  I know that FOP 
seems to use Xerces bundle with JDK1.5 is that can be the problem ?



Anyway,
it's not a FOP problem and a little off-topic here.
 


I know that why I put the OT.. just tought you guy will know :-)

Thanks
/David


Good luck!

On 28.03.2006 03:11:08 David Gagnon wrote:
 


Hi all,

 FOP stop working when I upgraded Tomcat and JDK. There a problem with 
java method call related to the 
com.davecorp.webos.report.CompanyReportWebosFacade object.


Here is my stylesheet:

http://www.w3.org/1999/XSL/Transform";
   xmlns:fo="http://www.w3.org/1999/XSL/Format";
   xmlns:fox="http://xml.apache.org/fop/extensions";
   
xmlns:webos="http://xml.apache.org/xalan/java/com.davecorp.webos.report.CompanyReportWebosFacade";>



   


   
   select="webos:featureContent($facade, 'module.production' )"/>




Here is the exception I got (Sorry for the french translation ...)


ERREUR :  'La méthode externe 
'com.davecorp.webos.report.CompanyReportWebosFacade.featureContent' est 
introuvable (doit être publique).'

ERREUR BLOQUANTE :  'Impossible de compiler la feuille de style'
ERROR [http-8080-Processor25] (ReportManagerImpl.java:349)  2006-03-27 
19:49:33,109 : Impossible de compiler la feuille de style
javax.xml.transform.TransformerConfigurationException: Impossible de 
compiler la feuille de style
   at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(Unknown 
Source)
   at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(Unknown 
Source)
   at 
com.davecorp.webos.reportManager.ReportManagerImpl.processReport(ReportManagerImpl.java:314)
   at 
com.davecorp.webos.reportManager.ReportManagerImpl.processReportPdf(ReportManagerImpl.java:254)
   at 
com.davecorp.webos.reportManager.ReportManager.processReportPdf(ReportManager.java:52)
   at 
com.davecorp.webos.servlet.ReportServlet.service(ReportServlet.java:149)

   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
   at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)


Any Idea what is the problem.  I search the web and haven't found a 
clue.  I pretty sure it`s a basic thing though ... please help!


Thanks
/David
   




Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: OT: moved from Tomcat 4.1, JDK 1.4, fop 0.20.5 to Tomcat 5.5, JDK 1.5 fop 0.20.5 and get problem with java external method call.. please help

2006-03-28 Thread Jeremias Maerki
Well, it looks like there's something wrong with your CompanyReportWebosFacade
class. Maybe you changed the method signature of the featureContent()
method or you forgot to include that class in the classpath. Anyway,
it's not a FOP problem and a little off-topic here.

Good luck!

On 28.03.2006 03:11:08 David Gagnon wrote:
> Hi all,
> 
>   FOP stop working when I upgraded Tomcat and JDK. There a problem with 
> java method call related to the 
> com.davecorp.webos.report.CompanyReportWebosFacade object.
> 
> Here is my stylesheet:
> 
>  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> xmlns:fo="http://www.w3.org/1999/XSL/Format";
> xmlns:fox="http://xml.apache.org/fop/extensions";
> 
> xmlns:webos="http://xml.apache.org/xalan/java/com.davecorp.webos.report.CompanyReportWebosFacade";>
> 
> 
> 
> 
>  
> 
>  select="webos:featureContent($facade, 'module.production' )"/>
> 
> 
> 
> Here is the exception I got (Sorry for the french translation ...)
> 
> 
> ERREUR :  'La méthode externe 
> 'com.davecorp.webos.report.CompanyReportWebosFacade.featureContent' est 
> introuvable (doit être publique).'
> ERREUR BLOQUANTE :  'Impossible de compiler la feuille de style'
> ERROR [http-8080-Processor25] (ReportManagerImpl.java:349)  2006-03-27 
> 19:49:33,109 : Impossible de compiler la feuille de style
> javax.xml.transform.TransformerConfigurationException: Impossible de 
> compiler la feuille de style
> at 
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(Unknown
>  
> Source)
> at 
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(Unknown
>  
> Source)
> at 
> com.davecorp.webos.reportManager.ReportManagerImpl.processReport(ReportManagerImpl.java:314)
> at 
> com.davecorp.webos.reportManager.ReportManagerImpl.processReportPdf(ReportManagerImpl.java:254)
> at 
> com.davecorp.webos.reportManager.ReportManager.processReportPdf(ReportManager.java:52)
> at 
> com.davecorp.webos.servlet.ReportServlet.service(ReportServlet.java:149)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> 
> Any Idea what is the problem.  I search the web and haven't found a 
> clue.  I pretty sure it`s a basic thing though ... please help!
> 
> Thanks
> /David


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Error checking out Trunk from subversion

2006-03-28 Thread Jeremias Maerki
If you're behind a proxy, this could help: 
http://subversion.tigris.org/faq.html#proxy
It could also just be a temporary glitch.

On 28.03.2006 00:06:27 Karl Roberts wrote:
> Hi, I'm using Tortoise subversion client "TortoiseSVN 1.2.6, Build 4786
> - 32 Bit"
>  
> I tried to check out the trunk as per instructions at
> http://xmlgraphics.apache.org/fop/dev/tools.html#svn
>  
> However I ge the following 500 error any ideas?
>  
> ActionPath
> ErrorPROPFIND request failed on
> '/repos/asf/xmlgraphics/fop/trunk'
> ErrorPROPFIND of '/repos/asf/xmlgraphics/fop/trunk': 500
> Server Error (http://svn.apache.org)


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]