<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-353</id>
	<title>Nabble - FOP - Users</title>
	<updated>2008-09-05T19:13:05Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/FOP---Users-f353.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/FOP---Users-f353.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-19342339</id>
	<title>Re: Trying to programmatically add fonts</title>
	<published>2008-09-05T19:13:05Z</published>
	<updated>2008-09-05T19:13:05Z</updated>
	<author>
		<name>eborisow</name>
	</author>
	<content type="html">&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Alias John Brown wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;According to the documentation at 
&lt;br&gt;&lt;a href=&quot;http://xmlgraphics.apache.org/fop/0.95/fonts.html#basics&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlgraphics.apache.org/fop/0.95/fonts.html#basics&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;quot;It is currently not possible to easily configure fonts from Java code.&amp;quot;
&lt;br&gt;&lt;br&gt;I assume that this means that it is not impossible, but I have no idea
&lt;br&gt;how. Hopefully an expert will turn up soon.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
John,
&lt;br&gt;&lt;br&gt;Thanks for the reply. &amp;nbsp;I have also tried specifying the config file using the method in the docs. &amp;nbsp;Here is what I tried:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DefaultConfigurationBuilder cfgBuilder = new DefaultConfigurationBuilder();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Configuration cfg = cfgBuilder.buildFromFile(new File(baseDir, &amp;quot;Local\\personal\\durkan\\projects\\fop\\new-font.conf.xml&amp;quot;));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fopFactory.setUserConfig(cfg);
&lt;br&gt;&lt;br&gt;This gives me the same result. &amp;nbsp;The fonts are not available. &amp;nbsp;So, I am probably doing something wrong.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Eric</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Trying-to-programmatically-add-fonts-tp19334713p19342339.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19340058</id>
	<title>Re: Trying to programmatically add fonts</title>
	<published>2008-09-05T14:42:35Z</published>
	<updated>2008-09-05T14:42:35Z</updated>
	<author>
		<name>Alias John Brown</name>
	</author>
	<content type="html">eborisow &amp;lt;eborisow &amp;lt;at&amp;gt; yahoo.com&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am trying to embed fonts in a program. &amp;nbsp;I was able to get my fonts to work
&lt;br&gt;&amp;gt; when I run fop.bat standalone. &amp;nbsp;Here were the relevant lines from the config
&lt;br&gt;&amp;gt; xml.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;lt;snip&amp;gt;
&lt;br&gt;Contents of config file
&lt;br&gt;&amp;lt;/snip&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;gt; Like I said, this one works. &amp;nbsp;Now, in an application, I am trying to do the
&lt;br&gt;&amp;gt; same using the API.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;lt;snip&amp;gt;
&lt;br&gt;Code to do above programatically
&lt;br&gt;&amp;lt;/snip&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;snip&amp;gt;
&lt;br&gt;Contents of log
&lt;br&gt;&amp;lt;/snip&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt; So, I am obviously doing something wrong. &amp;nbsp;Can someone see what the problem
&lt;br&gt;&amp;gt; is?
&lt;br&gt;&lt;br&gt;According to the documentation at 
&lt;br&gt;&lt;a href=&quot;http://xmlgraphics.apache.org/fop/0.95/fonts.html#basics&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlgraphics.apache.org/fop/0.95/fonts.html#basics&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;quot;It is currently not possible to easily configure fonts from Java code.&amp;quot;
&lt;br&gt;&lt;br&gt;I assume that this means that it is not impossible, but I have no idea
&lt;br&gt;how. Hopefully an expert will turn up soon.
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Eric
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19340058&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19340058&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Trying-to-programmatically-add-fonts-tp19334713p19340058.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19336595</id>
	<title>NPE when rendering fo:block-container inside fo:inline</title>
	<published>2008-09-05T10:09:48Z</published>
	<updated>2008-09-05T10:09:48Z</updated>
	<author>
		<name>Frank Worsley</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I am using the Antenna House XSL stylesheets to convert XHTML to
&lt;br&gt;XML-FO. This works very well in most cases. However, I have come
&lt;br&gt;across a problem where a fo:block-container inside a fo:inline will
&lt;br&gt;cause an NPE.
&lt;br&gt;&lt;br&gt;An example FO file that exhibits this problem is attached. The stack
&lt;br&gt;trace is also attached. If you remove the fo:inline that encloses the
&lt;br&gt;fo:block-container, then everything works fine.
&lt;br&gt;&lt;br&gt;I'm wondering, is it even legal to have fo:block-container inside a
&lt;br&gt;fo:inline? If it is legal, any chance that this problem has been fixed
&lt;br&gt;in 0.95?
&lt;br&gt;&lt;br&gt;Thank you for any insights.
&lt;br&gt;&lt;br&gt;- Frank
&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[test-minimal.fo]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;fo:root xmlns:fo=&amp;quot;http://www.w3.org/1999/XSL/Format&amp;quot; xmlns:html=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot; writing-mode=&amp;quot;lr-tb&amp;quot; hyphenate=&amp;quot;false&amp;quot; text-align=&amp;quot;start&amp;quot; role=&amp;quot;html:html&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;fo:layout-master-set&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;fo:simple-page-master page-width=&amp;quot;auto&amp;quot; page-height=&amp;quot;auto&amp;quot; master-name=&amp;quot;all-pages&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;fo:region-body column-gap=&amp;quot;12pt&amp;quot; column-count=&amp;quot;1&amp;quot; margin-left=&amp;quot;0.5in&amp;quot; margin-bottom=&amp;quot;0.75in&amp;quot; margin-right=&amp;quot;0.5in&amp;quot; margin-top=&amp;quot;0.75in&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/fo:simple-page-master&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/fo:layout-master-set&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;fo:page-sequence master-reference=&amp;quot;all-pages&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;fo:flow flow-name=&amp;quot;xsl-region-body&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;fo:block&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;fo:inline&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;fo:block-container width=&amp;quot;550px&amp;quot; border=&amp;quot;1px solid gray&amp;quot; color=&amp;quot;#FF2525&amp;quot; padding=&amp;quot;10px&amp;quot; text-align=&amp;quot;left&amp;quot; vertical-align=&amp;quot;top&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;fo:block end-indent=&amp;quot;0pt&amp;quot; start-indent=&amp;quot;0pt&amp;quot;&amp;gt;Test&amp;lt;/fo:block&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/fo:block-container&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/fo:inline&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/fo:block&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/fo:flow&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/fo:page-sequence&amp;gt;
&lt;br&gt;&amp;lt;/fo:root&amp;gt;
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;5-Sep-2008 10:07:34 AM org.apache.fop.cli.Main startFOP
&lt;br&gt;SEVERE: Exception
&lt;br&gt;java.lang.NullPointerException
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.cli.Main.startFOP(Main.java:166)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.cli.Main.main(Main.java:197)
&lt;br&gt;&lt;br&gt;---------
&lt;br&gt;&lt;br&gt;java.lang.NullPointerException
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.layoutmgr.BlockContainerLayoutManager.getNextKnuthElements(BlockContainerLayoutManager.java:200)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.layoutmgr.inline.InlineLayoutManager.getNextKnuthElements(InlineLayoutManager.java:303)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.layoutmgr.inline.LineLayoutManager.collectInlineKnuthElements(LineLayoutManager.java:654)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.layoutmgr.inline.LineLayoutManager.getNextKnuthElements(LineLayoutManager.java:590)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:284)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:113)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:106)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.layoutmgr.PageBreaker.getNextKnuthElements(PageBreaker.java:145)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBreaker.java:551)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:137)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:301)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:263)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:144)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:233)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:145)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:378)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1101)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:165)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.cli.Main.startFOP(Main.java:166)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.fop.cli.Main.main(Main.java:197)
&lt;br&gt;&lt;br /&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19336595&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19336595&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/NPE-when-rendering-fo%3Ablock-container-inside-fo%3Ainline-tp19336595p19336595.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19335349</id>
	<title>RE: FOP 0.94 : How to increase heap size</title>
	<published>2008-09-05T09:51:41Z</published>
	<updated>2008-09-05T09:51:41Z</updated>
	<author>
		<name>Amick, Eric</name>
	</author>
	<content type="html">There's a line in fop.bat that sets the variable JAVAOPTS; if you modify
&lt;br&gt;that line and put quotes around references to that variable in the rest
&lt;br&gt;of the file, it should work. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Eric Amick
&lt;br&gt;Legislative Computer Systems
&lt;br&gt;Office of the Clerk
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Newkid [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19335349&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shyamfrnd@...&lt;/a&gt;] 
&lt;br&gt;Sent: Friday, September 5, 2008 6:15
&lt;br&gt;To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19335349&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users@...&lt;/a&gt;
&lt;br&gt;Subject: RE: FOP 0.94 : How to increase heap size
&lt;br&gt;&lt;br&gt;&lt;br&gt;Hello Eric,
&lt;br&gt;&lt;br&gt;Thanks for URL.
&lt;br&gt;&lt;br&gt;I need to know how one can modify the FOP.BAT file. Is there any options
&lt;br&gt;thru which I can reset the heap size in FOP.BAT file.
&lt;br&gt;&lt;br&gt;With Thanks!
&lt;br&gt;Newkid
&lt;br&gt;&lt;br&gt;&lt;br&gt;Amick, Eric wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://xmlgraphics.apache.org/fop/0.94/running.html#memory&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlgraphics.apache.org/fop/0.94/running.html#memory&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Eric Amick
&lt;br&gt;&amp;gt; Legislative Computer Systems
&lt;br&gt;&amp;gt; Office of the Clerk
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Newkid [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19335349&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shyamfrnd@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Thursday, September 4, 2008 10:25
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19335349&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: FOP 0.94 : How to increase heap size
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi there!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Could you please assist me how can I increase JVM heap size? 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Please let me know what I have to modify in FOP.BAT file so that it 
&lt;br&gt;&amp;gt; can take automatically whenever I run FOP from command prompt.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; When I am trying to convert XML to PDF using FOP, it's showing 
&lt;br&gt;&amp;gt; java.lang:OutofMemory Java heap space error.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Would appreciate your prompt response!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; With Thanks!
&lt;br&gt;&amp;gt; Newkid
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/FOP-0.94-%3A-How-to-increase-heap-size-tp1930929&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/FOP-0.94-%3A-How-to-increase-heap-size-tp1930929&lt;/a&gt;&lt;br&gt;&amp;gt; 0p
&lt;br&gt;&amp;gt; 19309290.html
&lt;br&gt;&amp;gt; Sent from the FOP - Users mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19335349&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19335349&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19335349&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19335349&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;--
&lt;br&gt;View this message in context:
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/FOP-0.94-%3A-How-to-increase-heap-size-tp19309290p&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/FOP-0.94-%3A-How-to-increase-heap-size-tp19309290p&lt;/a&gt;&lt;br&gt;19328398.html
&lt;br&gt;Sent from the FOP - Users mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19335349&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19335349&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19335349&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19335349&amp;i=11&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/FOP-0.94-%3A-How-to-increase-heap-size-tp19309290p19335349.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19334713</id>
	<title>Trying to programmatically add fonts</title>
	<published>2008-09-05T09:19:23Z</published>
	<updated>2008-09-05T09:19:23Z</updated>
	<author>
		<name>eborisow</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I am trying to embed fonts in a program. &amp;nbsp;I was able to get my fonts to work when I run fop.bat standalone. &amp;nbsp;Here were the relevant lines from the config xml.
&lt;br&gt;&lt;br&gt;&amp;lt;font-base&amp;gt;file:///C:/programs/apache/fop-0.94-bin-jdk1.3/fonts/&amp;lt;/font-base&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;!-- not sure if font tags will display on web site --&amp;gt;
&lt;br&gt;&amp;lt;fonts&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;font metrics-url=&quot;verdana.xml&quot; kerning=&quot;yes&quot; embed-url=&quot;verdana.ttf&quot;&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;font-triplet name=&amp;quot;Verdana&amp;quot; style=&amp;quot;normal&amp;quot; weight=&amp;quot;normal&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/font&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;font metrics-url=&quot;verdanab.xml&quot; kerning=&quot;yes&quot; embed-url=&quot;verdanab.ttf&quot;&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;font-triplet name=&amp;quot;Verdana&amp;quot; style=&amp;quot;normal&amp;quot; weight=&amp;quot;bold&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/font&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;font metrics-url=&quot;verdanaz.xml&quot; kerning=&quot;yes&quot; embed-url=&quot;verdanaz.ttf&quot;&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;font-triplet name=&amp;quot;Verdana&amp;quot; style=&amp;quot;italic&amp;quot; weight=&amp;quot;bold&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/font&gt;&lt;br&gt;&amp;lt;/fonts&amp;gt;
&lt;br&gt;&lt;br&gt;Like I said, this one works. &amp;nbsp;Now, in an application, I am trying to do the same using the API.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Set the Font Base URL
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fopFactory.setFontBaseURL(&amp;quot;file:///C:/programs/apache/fop-0.94-bin-jdk1.3/fonts/&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String font1 = &amp;quot;verdana.xml&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String font1Url = &amp;quot;verdana.ttf&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String font2 = &amp;quot;verdanab.xml&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String font2Url = &amp;quot;verdanab.ttf&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String font3 = &amp;quot;verdanaz.xml&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String font3Url = &amp;quot;verdanaz.ttf&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FontTriplet fontTriplet1 = new FontTriplet(&amp;quot;Verdana&amp;quot;, Font.STYLE_NORMAL, Font.WEIGHT_NORMAL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FontTriplet fontTriplet2 = new FontTriplet(&amp;quot;Verdana&amp;quot;, Font.STYLE_NORMAL, Font.WEIGHT_BOLD);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FontTriplet fontTriplet3 = new FontTriplet(&amp;quot;Verdana&amp;quot;, Font.STYLE_ITALIC, Font.WEIGHT_BOLD);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; List fontTriplets1 = new ArrayList();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fontTriplets1.add(fontTriplet1);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; List fontTriplets2 = new ArrayList();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fontTriplets2.add(fontTriplet2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; List fontTriplets3 = new ArrayList();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fontTriplets3.add(fontTriplet3);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EmbedFontInfo verdanaFontInfo = new EmbedFontInfo(font1, true, fontTriplets1, font1Url);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EmbedFontInfo verdanaBoldFontInfo = new EmbedFontInfo(font2, true, fontTriplets2, font2Url);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EmbedFontInfo verdanaBoldItalicFontInfo = new EmbedFontInfo(font3, true, fontTriplets3, font3Url);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FontCache fontCache = fopFactory.getFontCache();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fontCache.addFont(verdanaFontInfo);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fontCache.addFont(verdanaBoldFontInfo);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fontCache.addFont(verdanaBoldItalicFontInfo);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fontCache.save();
&lt;br&gt;&lt;br&gt;I test the cache using the following:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log.debug(&amp;quot;Contains verdana font: &amp;quot; + fontCache.containsFont(verdanaFontInfo));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log.debug(&amp;quot;Verdana font info is: &amp;quot; + fontCache.getFont(&amp;quot;verdana.ttf&amp;quot;).toString());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log.debug(&amp;quot;Contains verdana-bold font: &amp;quot; + fontCache.containsFont(verdanaBoldFontInfo));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log.debug(&amp;quot;Verdana-bold font info is: &amp;quot; + fontCache.getFont(&amp;quot;verdanab.ttf&amp;quot;).toString());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log.debug(&amp;quot;Contains verdana-bold-italic font: &amp;quot; + fontCache.containsFont(verdanaBoldItalicFontInfo));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; log.debug(&amp;quot;Verdana-bold-italic font info is: &amp;quot; + fontCache.getFont(&amp;quot;verdanaz.ttf&amp;quot;).toString());
&lt;br&gt;&lt;br&gt;In the log, I get the following:
&lt;br&gt;&lt;br&gt;2008-09-05 12:05:12,014 [main] DEBUG embedding.ExampleXML2PDF(ExampleXML2PDF.java:153) &amp;nbsp;- Contains verdana font: true
&lt;br&gt;2008-09-05 12:05:12,014 [main] DEBUG embedding.ExampleXML2PDF(ExampleXML2PDF.java:154) &amp;nbsp;- Verdana font info is: metrics-url=verdana.xml,embed-url=verdana.ttf, kerning=true, font-triplet=[Verdana,normal,400], lastModified=-1
&lt;br&gt;2008-09-05 12:05:12,014 [main] DEBUG embedding.ExampleXML2PDF(ExampleXML2PDF.java:156) &amp;nbsp;- Contains verdana-bold font: true
&lt;br&gt;2008-09-05 12:05:12,014 [main] DEBUG embedding.ExampleXML2PDF(ExampleXML2PDF.java:157) &amp;nbsp;- Verdana-bold font info is: metrics-url=verdanab.xml,embed-url=verdanab.ttf, kerning=true, font-triplet=[Verdana,normal,700], lastModified=-1
&lt;br&gt;2008-09-05 12:05:12,014 [main] DEBUG embedding.ExampleXML2PDF(ExampleXML2PDF.java:159) &amp;nbsp;- Contains verdana-bold-italic font: true
&lt;br&gt;2008-09-05 12:05:12,014 [main] DEBUG embedding.ExampleXML2PDF(ExampleXML2PDF.java:160) &amp;nbsp;- Verdana-bold-italic font info is: metrics-url=verdanaz.xml,embed-url=verdanaz.ttf, kerning=true, font-triplet=[Verdana,italic,700], lastModified=-1
&lt;br&gt;&lt;br&gt;However, when it actually tries to convert the XML to PDF, I see the following message in the log:
&lt;br&gt;&lt;br&gt;2008-09-05 12:05:26,905 [main] DEBUG org.apache.fop.fonts.FontInfo(FontInfo.java:134) &amp;nbsp;- Font lookup: Verdana normal 400
&lt;br&gt;2008-09-05 12:05:26,905 [main] WARN &amp;nbsp;org.apache.fop.fonts.FontInfo(FontInfo.java:263) &amp;nbsp;- Font 'Verdana,normal,400' not found. Substituting with 'any,normal,400'.
&lt;br&gt;&lt;br&gt;So, I am obviously doing something wrong. &amp;nbsp;Can someone see what the problem is?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Eric</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Trying-to-programmatically-add-fonts-tp19334713p19334713.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19328398</id>
	<title>RE: FOP 0.94 : How to increase heap size</title>
	<published>2008-09-05T03:15:01Z</published>
	<updated>2008-09-05T03:15:01Z</updated>
	<author>
		<name>Newkid</name>
	</author>
	<content type="html">Hello Eric,
&lt;br&gt;&lt;br&gt;Thanks for URL.
&lt;br&gt;&lt;br&gt;I need to know how one can modify the FOP.BAT file. Is there any options thru which I can reset the heap size in FOP.BAT file.
&lt;br&gt;&lt;br&gt;With Thanks!
&lt;br&gt;Newkid
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Amick, Eric wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;&lt;a href=&quot;http://xmlgraphics.apache.org/fop/0.94/running.html#memory&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlgraphics.apache.org/fop/0.94/running.html#memory&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Eric Amick
&lt;br&gt;Legislative Computer Systems
&lt;br&gt;Office of the Clerk
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Newkid [mailto:shyamfrnd@yahoo.com] 
&lt;br&gt;Sent: Thursday, September 4, 2008 10:25
&lt;br&gt;To: fop-users@xmlgraphics.apache.org
&lt;br&gt;Subject: FOP 0.94 : How to increase heap size
&lt;br&gt;&lt;br&gt;&lt;br&gt;Hi there!
&lt;br&gt;&lt;br&gt;Could you please assist me how can I increase JVM heap size? 
&lt;br&gt;&lt;br&gt;Please let me know what I have to modify in FOP.BAT file so that it can
&lt;br&gt;take automatically whenever I run FOP from command prompt.
&lt;br&gt;&lt;br&gt;When I am trying to convert XML to PDF using FOP, it's showing
&lt;br&gt;java.lang:OutofMemory Java heap space error.
&lt;br&gt;&lt;br&gt;Would appreciate your prompt response!
&lt;br&gt;&lt;br&gt;With Thanks!
&lt;br&gt;Newkid
&lt;br&gt;--
&lt;br&gt;View this message in context:
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/FOP-0.94-%3A-How-to-increase-heap-size-tp19309290p&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/FOP-0.94-%3A-How-to-increase-heap-size-tp19309290p&lt;/a&gt;&lt;br&gt;19309290.html
&lt;br&gt;Sent from the FOP - Users mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
&lt;br&gt;For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
&lt;br&gt;For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/FOP-0.94-%3A-How-to-increase-heap-size-tp19309290p19328398.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19315528</id>
	<title>Re: Error when using XSL with French Characters</title>
	<published>2008-09-04T10:14:42Z</published>
	<updated>2008-09-04T10:14:42Z</updated>
	<author>
		<name>Andreas Delmelle-2</name>
	</author>
	<content type="html">On Sep 4, 2008, at 12:06, Vincent Hennebert wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;lt;snip /&amp;gt;
&lt;br&gt;&amp;gt; No, US-ASCII is a 7-bit character set, which means it can contain only
&lt;br&gt;&amp;gt; 128 characters, none of them being an accented letter [1].
&lt;br&gt;&lt;br&gt;Ouch! Indeed. I'm so used to the basic 7-bit set being extended...
&lt;br&gt;To think that I even tried it over here in an editor. If I had only &amp;nbsp;
&lt;br&gt;also tried to actually save the file, I would have noticed...
&lt;br&gt;&lt;br&gt;Sorry for the confusion, Jeff.
&lt;br&gt;&lt;br&gt;The conclusion is definitely the right one: if you can somehow manage &amp;nbsp;
&lt;br&gt;to have the BASIC code write the file as UTF-8, all the encoding &amp;nbsp;
&lt;br&gt;hassles disappear.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Andreas
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19315528&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19315528&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Error-when-using-XSL-with-French-Characters-tp19281845p19315528.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19314181</id>
	<title>error creating ttf metrics</title>
	<published>2008-09-04T09:13:59Z</published>
	<updated>2008-09-04T09:13:59Z</updated>
	<author>
		<name>solomailing</name>
	</author>
	<content type="html">ciao,
&lt;br&gt;&lt;br&gt;ttf reader give an error with a barmeno font...
&lt;br&gt;with all other fonts it works fine...
&lt;br&gt;the same ttf file works with TTFReader for fop 0.20.5
&lt;br&gt;any idea? here the debug info...
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;TTF Reader for Apache FOP 0.95
&lt;br&gt;&lt;br&gt;Parsing font...
&lt;br&gt;Reading Barmeno-Bold.ttf...
&lt;br&gt;sfnt version: OpenType 1.0
&lt;br&gt;Reading 14 dir tables
&lt;br&gt;dir tables: [loca, post, glyf, fpgm, kern, hmtx, hhea, prep, cvt , OS/2, 
&lt;br&gt;cmap, name, head, maxp]
&lt;br&gt;unit per em: 1000
&lt;br&gt;Number of glyphs in font: 399
&lt;br&gt;hhea.Ascender: 865 865
&lt;br&gt;hhea.Descender: -250 -250
&lt;br&gt;Number of horizontal metrics: 399
&lt;br&gt;PostScript format: 0x20000
&lt;br&gt;PostScript format 2
&lt;br&gt;Reading 396 glyphnames, that are not in the standard Macintosh set. 
&lt;br&gt;Total number of glyphs=399
&lt;br&gt;sTypoAscender: 776 776
&lt;br&gt;sTypoDescender: -243 -243
&lt;br&gt;sTypoLineGap: 150
&lt;br&gt;usWinAscent: 953 953
&lt;br&gt;usWinDescent: 250 250
&lt;br&gt;Error while building XML font metrics file.
&lt;br&gt;java.io.EOFException: Reached EOF, file size=88952 offset=88958
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at 
&lt;br&gt;org.apache.fop.fonts.truetype.FontFileReader.seekSet(FontFileReader.java:86)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at 
&lt;br&gt;org.apache.fop.fonts.truetype.FontFileReader.seekAdd(FontFileReader.java:99)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at 
&lt;br&gt;org.apache.fop.fonts.truetype.FontFileReader.skip(FontFileReader.java:109)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.fop.fonts.truetype.TTFFile.readOS2(TTFFile.java:1016)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.fop.fonts.truetype.TTFFile.readFont(TTFFile.java:495)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.fop.fonts.apps.TTFReader.loadTTF(TTFReader.java:209)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:164)
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19314181&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19314181&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/error-creating-ttf-metrics-tp19314181p19314181.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19311830</id>
	<title>RE: FOP 0.94 : How to increase heap size</title>
	<published>2008-09-04T07:30:20Z</published>
	<updated>2008-09-04T07:30:20Z</updated>
	<author>
		<name>Amick, Eric</name>
	</author>
	<content type="html">&lt;a href=&quot;http://xmlgraphics.apache.org/fop/0.94/running.html#memory&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlgraphics.apache.org/fop/0.94/running.html#memory&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Eric Amick
&lt;br&gt;Legislative Computer Systems
&lt;br&gt;Office of the Clerk
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Newkid [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19311830&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shyamfrnd@...&lt;/a&gt;] 
&lt;br&gt;Sent: Thursday, September 4, 2008 10:25
&lt;br&gt;To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19311830&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users@...&lt;/a&gt;
&lt;br&gt;Subject: FOP 0.94 : How to increase heap size
&lt;br&gt;&lt;br&gt;&lt;br&gt;Hi there!
&lt;br&gt;&lt;br&gt;Could you please assist me how can I increase JVM heap size? 
&lt;br&gt;&lt;br&gt;Please let me know what I have to modify in FOP.BAT file so that it can
&lt;br&gt;take automatically whenever I run FOP from command prompt.
&lt;br&gt;&lt;br&gt;When I am trying to convert XML to PDF using FOP, it's showing
&lt;br&gt;java.lang:OutofMemory Java heap space error.
&lt;br&gt;&lt;br&gt;Would appreciate your prompt response!
&lt;br&gt;&lt;br&gt;With Thanks!
&lt;br&gt;Newkid
&lt;br&gt;--
&lt;br&gt;View this message in context:
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/FOP-0.94-%3A-How-to-increase-heap-size-tp19309290p&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/FOP-0.94-%3A-How-to-increase-heap-size-tp19309290p&lt;/a&gt;&lt;br&gt;19309290.html
&lt;br&gt;Sent from the FOP - Users mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19311830&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19311830&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19311830&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19311830&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/FOP-0.94-%3A-How-to-increase-heap-size-tp19309290p19311830.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19309290</id>
	<title>FOP 0.94 : How to increase heap size</title>
	<published>2008-09-04T07:24:36Z</published>
	<updated>2008-09-04T07:24:36Z</updated>
	<author>
		<name>Newkid</name>
	</author>
	<content type="html">Hi there!
&lt;br&gt;&lt;br&gt;Could you please assist me how can I increase JVM heap size? 
&lt;br&gt;&lt;br&gt;Please let me know what I have to modify in FOP.BAT file so that it can take automatically whenever I run FOP from command prompt.
&lt;br&gt;&lt;br&gt;When I am trying to convert XML to PDF using FOP, it's showing java.lang:OutofMemory Java heap space error.
&lt;br&gt;&lt;br&gt;Would appreciate your prompt response!
&lt;br&gt;&lt;br&gt;With Thanks!
&lt;br&gt;Newkid </content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/FOP-0.94-%3A-How-to-increase-heap-size-tp19309290p19309290.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19307261</id>
	<title>Re: Error when using XSL with French Characters</title>
	<published>2008-09-04T03:06:04Z</published>
	<updated>2008-09-04T03:06:04Z</updated>
	<author>
		<name>Vincent Hennebert-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Andreas Delmelle wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sep 3, 2008, at 18:35, Steffanina, Jeff wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi Jeff
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; There is always one MORE option to consider!!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; What would you suggest as the best way to handle this?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I think I'd opt for using (N)umeric (C)haracter (R)eferences. Reasoning
&lt;br&gt;&amp;gt; would be that if one changes the BASIC code to emit the sequence
&lt;br&gt;&amp;gt; '&amp;#xE8;', this will never, ever have to be changed (unless Unicode would
&lt;br&gt;&amp;gt; somehow decide on altering the codepoints). You can change the encoding
&lt;br&gt;&amp;gt; in the XML header all you want, NCRs will always work.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On the other hand, if you have a LOT of those characters, using NCRs
&lt;br&gt;&amp;gt; could make your XML a bit bulky (instead of 1 byte/character, you
&lt;/div&gt;&lt;br&gt;Not mentioning the fact that this would make the document really tedious
&lt;br&gt;to type, and not very readable...
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; actually generate 6-8 bytes to represent one character in the final
&lt;br&gt;&amp;gt; result; the XML parser, instead of needing only one byte, has to parse
&lt;br&gt;&amp;gt; all bytes from '&amp;' up to and including ';').
&lt;br&gt;&amp;gt; The character code you mentioned earlier (130) is the decimal value for
&lt;br&gt;&amp;gt; 'é' in ASCII, so if you're concerned with the size of the XML and do not
&lt;br&gt;&amp;gt; want to generate 6 bytes for one character, try specifying &amp;quot;US-ASCII&amp;quot; as
&lt;br&gt;&amp;gt; encoding for the source XML.
&lt;br&gt;&lt;br&gt;No, US-ASCII is a 7-bit character set, which means it can contain only
&lt;br&gt;128 characters, none of them being an accented letter [1].
&lt;br&gt;&lt;br&gt;From your other message it looks like the default character set on your
&lt;br&gt;system is ISO-8859-15, which is ok for all of the western languages plus
&lt;br&gt;a few more [2]. Your BASIC program probably uses that character set, in
&lt;br&gt;which case you just have to change the header of your xml file:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-15&amp;quot;?&amp;gt;
&lt;br&gt;&lt;br&gt;As long as you put the right header in the XML file you can live with
&lt;br&gt;that setup. However, it is safer to switch to UTF-8 now, in order to
&lt;br&gt;avoid troubles in the future. Indeed, it’s probable that when you change
&lt;br&gt;your computer or upgrade your system the default character set will
&lt;br&gt;become UTF-8. Then if you re-edit that file on the new system, accented
&lt;br&gt;letters will be entered as UTF-8 sequences that are incompatible with
&lt;br&gt;ISO-8859-15, and you’ll basically see garbage in the result. Unless your
&lt;br&gt;editor is elaborate enough to recognize that the file is xml, and parses
&lt;br&gt;the header to get its encoding. But I doubt many editors do that...
&lt;br&gt;&lt;br&gt;You can choose to convert your files to UTF-8 later on, but that might
&lt;br&gt;represent a lot of work, plus you will have to edit every file to change
&lt;br&gt;the xml header to UTF-8. Since the use of UTF-8 as the default charset
&lt;br&gt;will happen sooner or later, you better do that now, when you don’t have
&lt;br&gt;too many files.
&lt;br&gt;&lt;br&gt;Changing the default character set is very system-dependent. Basically
&lt;br&gt;you have to play with the LOCALE variable. You can (may) get a list of
&lt;br&gt;available locales by typing the following command in a terminal:
&lt;br&gt;&amp;nbsp; &amp;nbsp; $ locale -a
&lt;br&gt;&amp;nbsp; &amp;nbsp; C
&lt;br&gt;&amp;nbsp; &amp;nbsp; en_US.iso885915
&lt;br&gt;&amp;nbsp; &amp;nbsp; en_US.utf8
&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&lt;br&gt;If no UTF-8 locale is available it must be generated. Try to find
&lt;br&gt;documentation for your system or ask the system administrator if
&lt;br&gt;applicable...
&lt;br&gt;&lt;br&gt;You find that complicated? It is, it has always been, and I’m afraid it
&lt;br&gt;may forever be. This is historical...
&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://en.wikipedia.org/wiki/Ascii&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://en.wikipedia.org/wiki/Ascii&lt;/a&gt;&lt;br&gt;[2] &lt;a href=&quot;http://en.wikipedia.org/wiki/ISO/IEC_8859-15&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://en.wikipedia.org/wiki/ISO/IEC_8859-15&lt;/a&gt;&lt;br&gt;&lt;br&gt;HTH,
&lt;br&gt;Vincent
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19307261&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19307261&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Error-when-using-XSL-with-French-Characters-tp19281845p19307261.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19295768</id>
	<title>File size when including SVGs</title>
	<published>2008-09-03T12:00:10Z</published>
	<updated>2008-09-03T12:00:10Z</updated>
	<author>
		<name>Samuel Penn</name>
	</author>
	<content type="html">&lt;br&gt;Hi all,
&lt;br&gt;&lt;br&gt;I'm currently using FOP 0.93, and I've just started looking at
&lt;br&gt;using SVG images in the rendered PDFs. One thing that I have
&lt;br&gt;noticed is that the image size of the resulting PDF grows
&lt;br&gt;considerably.
&lt;br&gt;&lt;br&gt;It would appear that if I import an SVG multiple times, the
&lt;br&gt;resulting PDF includes a new instance of the image. If I have
&lt;br&gt;a 20k SVG displayed in the header of a 20 page document, then
&lt;br&gt;it adds 400k to the PDF (before compression). Is this correct?
&lt;br&gt;&lt;br&gt;If so, is there a way around it? My plan is to use a small
&lt;br&gt;number of SVGs a large number of times, so being able to embed
&lt;br&gt;an image once, and simply reference it each time it is used in
&lt;br&gt;the PDF would greatly reduce space.
&lt;br&gt;&lt;br&gt;If this isn't the case, then I obviously need to try and
&lt;br&gt;figure out why my PDFs seem to grow considerably if I
&lt;br&gt;repeat the same image.
&lt;br&gt;&lt;br&gt;I'm mostly importing SVGs as background images, but some are
&lt;br&gt;inserted with &amp;lt;fop:external-graphic&amp;gt;
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Be seeing you, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.glendale.org.uk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.glendale.org.uk&lt;/a&gt;&lt;br&gt;Sam. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Mail/IM (Jabber): &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19295768&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sam@...&lt;/a&gt; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19295768&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19295768&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/File-size-when-including-SVGs-tp19295768p19295768.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19293815</id>
	<title>Re: Referenced pattern not applied when PDF is encrypted</title>
	<published>2008-09-03T10:17:04Z</published>
	<updated>2008-09-03T10:17:04Z</updated>
	<author>
		<name>Andreas Delmelle-2</name>
	</author>
	<content type="html">On Sep 3, 2008, at 14:02, Lea Thurman wrote:
&lt;br&gt;&lt;br&gt;Hi
&lt;br&gt;&lt;br&gt;&amp;gt; We am more than happy to spend time on this and hopefully fix and &amp;nbsp;
&lt;br&gt;&amp;gt; submit it
&lt;br&gt;&amp;gt; back. However having never filed a defect or committed to FOP &amp;nbsp;
&lt;br&gt;&amp;gt; before is
&lt;br&gt;&amp;gt; there are starter for 10 that tells me about servers/repositories/ 
&lt;br&gt;&amp;gt; locations
&lt;br&gt;&amp;gt; etc and the general process to be followed.
&lt;br&gt;&lt;br&gt;If you mean you potentially will do some development on the FOP &amp;nbsp;
&lt;br&gt;codebase, and want to donate it back, then the main 'Development' &amp;nbsp;
&lt;br&gt;page would be a good place to start:
&lt;br&gt;&lt;a href=&quot;http://xmlgraphics.apache.org/fop/dev/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlgraphics.apache.org/fop/dev/index.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;If OTOH, you simply want to log the issue, supply more info (and &amp;nbsp;
&lt;br&gt;preferably some FO/SVG samples as well), then this is where you need &amp;nbsp;
&lt;br&gt;to be:
&lt;br&gt;&lt;a href=&quot;http://xmlgraphics.apache.org/fop/bugs.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlgraphics.apache.org/fop/bugs.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Andreas
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19293815&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19293815&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Referenced-pattern-not-applied-when-PDF-is-encrypted-tp19197539p19293815.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19293550</id>
	<title>Re: Error when using XSL with French Characters</title>
	<published>2008-09-03T10:04:40Z</published>
	<updated>2008-09-03T10:04:40Z</updated>
	<author>
		<name>Andreas Delmelle-2</name>
	</author>
	<content type="html">On Sep 3, 2008, at 18:35, Steffanina, Jeff wrote:
&lt;br&gt;&lt;br&gt;Hi Jeff
&lt;br&gt;&lt;br&gt;&amp;gt; There is always one MORE option to consider!!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What would you suggest as the best way to handle this?
&lt;br&gt;&lt;br&gt;I think I'd opt for using (N)umeric (C)haracter (R)eferences. &amp;nbsp;
&lt;br&gt;Reasoning would be that if one changes the BASIC code to emit the &amp;nbsp;
&lt;br&gt;sequence '&amp;#xE8;', this will never, ever have to be changed (unless &amp;nbsp;
&lt;br&gt;Unicode would somehow decide on altering the codepoints). You can &amp;nbsp;
&lt;br&gt;change the encoding in the XML header all you want, NCRs will always &amp;nbsp;
&lt;br&gt;work.
&lt;br&gt;&lt;br&gt;On the other hand, if you have a LOT of those characters, using NCRs &amp;nbsp;
&lt;br&gt;could make your XML a bit bulky (instead of 1 byte/character, you &amp;nbsp;
&lt;br&gt;actually generate 6-8 bytes to represent one character in the final &amp;nbsp;
&lt;br&gt;result; the XML parser, instead of needing only one byte, has to &amp;nbsp;
&lt;br&gt;parse all bytes from '&amp;' up to and including ';').
&lt;br&gt;The character code you mentioned earlier (130) is the decimal value &amp;nbsp;
&lt;br&gt;for 'é' in ASCII, so if you're concerned with the size of the XML and &amp;nbsp;
&lt;br&gt;do not want to generate 6 bytes for one character, try specifying &amp;quot;US- 
&lt;br&gt;ASCII&amp;quot; as encoding for the source XML.
&lt;br&gt;&lt;br&gt;&lt;br&gt;HTH!
&lt;br&gt;&lt;br&gt;Andreas
&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19293550&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19293550&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Error-when-using-XSL-with-French-Characters-tp19281845p19293550.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19293063</id>
	<title>Re: Problem with inserting a PNG file</title>
	<published>2008-09-03T09:38:02Z</published>
	<updated>2008-09-03T09:38:02Z</updated>
	<author>
		<name>Jubal Kessler-2</name>
	</author>
	<content type="html">On 8/28/2008 9:34 AM, Jubal Kessler wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Aug 28, 2008 6:20:05 AM org.apache.fop.fo.flow.ExternalGraphic bind
&lt;br&gt;&amp;gt; SEVERE: Image not available: No ImagePreloader found for
&lt;br&gt;&lt;br&gt;As closure, it turns out I had been staring too long at the same XSL-FO
&lt;br&gt;template, and the problem was a simple error in external-graphics usage.
&lt;br&gt;&lt;br&gt;My apologies to all, and thanks for the replies.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19293063&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19293063&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/left-and-right-padding-lost-on-fo%3Ainline-in-table-header-when-repeated-beyond-one-page-tp19182765p19293063.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19293017</id>
	<title>RE: Error when using XSL with French Characters</title>
	<published>2008-09-03T09:35:56Z</published>
	<updated>2008-09-03T09:35:56Z</updated>
	<author>
		<name>Steffanina, Jeff</name>
	</author>
	<content type="html">&lt;br&gt;There is always one MORE option to consider!!
&lt;br&gt;&lt;br&gt;What would you suggest as the best way to handle this? 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Jeff
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Andreas Delmelle [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19293017&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;andreas.delmelle@...&lt;/a&gt;] 
&lt;br&gt;Sent: Wednesday, September 03, 2008 12:32 PM
&lt;br&gt;To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19293017&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users@...&lt;/a&gt;
&lt;br&gt;Subject: Re: Error when using XSL with French Characters
&lt;br&gt;&lt;br&gt;On Sep 3, 2008, at 15:05, Steffanina, Jeff wrote:
&lt;br&gt;&lt;br&gt;Hi Jeff
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; fop-0.95
&lt;br&gt;&amp;gt; I am running Redhat Linux 2.4.21-47.0.1.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The letter I am referring to is: &amp;nbsp;é è
&lt;br&gt;&amp;gt; I assume I am having problems with any French character that &amp;nbsp;
&lt;br&gt;&amp;gt; includes a glyph.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What are you using for &amp;nbsp;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;XXXXXXXX&amp;quot;?&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I appreciate any suggestions. &amp;nbsp;I have not had to deal with &amp;nbsp;
&lt;br&gt;&amp;gt; international characters sets before.
&lt;/div&gt;&lt;br&gt;If all else fails, remember that XML *always* allows Numeric &amp;nbsp;
&lt;br&gt;Character References, like &amp;#x0A; or &amp;#10; for a linefeed (values are &amp;nbsp;
&lt;br&gt;always UTF-8 codepoints).
&lt;br&gt;&lt;br&gt;In UTF-8, the respective character codes are:
&lt;br&gt;&lt;br&gt;&amp;#xE8; -&amp;gt; è
&lt;br&gt;&amp;#xE9; -&amp;gt; é
&lt;br&gt;&lt;br&gt;If you output those sequences in the BASIC module, then it should &amp;nbsp;
&lt;br&gt;work, regardless of which encoding is specified in the XML header.
&lt;br&gt;&lt;br&gt;HTH!
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Andreas
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19293017&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19293017&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19293017&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19293017&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Error-when-using-XSL-with-French-Characters-tp19281845p19293017.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19292958</id>
	<title>Re: Error when using XSL with French Characters</title>
	<published>2008-09-03T09:32:01Z</published>
	<updated>2008-09-03T09:32:01Z</updated>
	<author>
		<name>Andreas Delmelle-2</name>
	</author>
	<content type="html">On Sep 3, 2008, at 15:05, Steffanina, Jeff wrote:
&lt;br&gt;&lt;br&gt;Hi Jeff
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; fop-0.95
&lt;br&gt;&amp;gt; I am running Redhat Linux 2.4.21-47.0.1.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The letter I am referring to is: &amp;nbsp;é è
&lt;br&gt;&amp;gt; I assume I am having problems with any French character that &amp;nbsp;
&lt;br&gt;&amp;gt; includes a glyph.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What are you using for &amp;nbsp;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;XXXXXXXX&amp;quot;?&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I appreciate any suggestions. &amp;nbsp;I have not had to deal with &amp;nbsp;
&lt;br&gt;&amp;gt; international characters sets before.
&lt;/div&gt;&lt;br&gt;If all else fails, remember that XML *always* allows Numeric &amp;nbsp;
&lt;br&gt;Character References, like &amp;#x0A; or &amp;#10; for a linefeed (values are &amp;nbsp;
&lt;br&gt;always UTF-8 codepoints).
&lt;br&gt;&lt;br&gt;In UTF-8, the respective character codes are:
&lt;br&gt;&lt;br&gt;&amp;#xE8; -&amp;gt; è
&lt;br&gt;&amp;#xE9; -&amp;gt; é
&lt;br&gt;&lt;br&gt;If you output those sequences in the BASIC module, then it should &amp;nbsp;
&lt;br&gt;work, regardless of which encoding is specified in the XML header.
&lt;br&gt;&lt;br&gt;HTH!
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Andreas
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19292958&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19292958&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Error-when-using-XSL-with-French-Characters-tp19281845p19292958.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19288865</id>
	<title>RE: Error when using XSL with French Characters</title>
	<published>2008-09-03T06:08:41Z</published>
	<updated>2008-09-03T06:08:41Z</updated>
	<author>
		<name>Steffanina, Jeff</name>
	</author>
	<content type="html">&lt;br&gt;Jean-Francois,
&lt;br&gt;On my Linux box I have this entry in: &amp;nbsp;/etc/sysconfig/i18n
&lt;br&gt;&lt;br&gt;LANG=&amp;quot;en_US.iso885915&amp;quot; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Jeff Steffanina
&lt;br&gt;FOSSE Development, &amp;nbsp;Bethesda, MD
&lt;br&gt;(301)380-2047
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288865&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jeff.steffanina@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; This communication contains information from Marriott International, Inc. that may be confidential. Except for personal use by the intended recipient, or as expressly authorized by the sender, any person who receives this information is prohibited from disclosing, copying, distributing, and/or using it. If you have received this communication in error, please immediately delete it and all copies, and promptly notify the sender. Nothing in this communication is intended as an electronic signature under applicable law.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Jean-François El Fouly [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288865&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jean-francois@...&lt;/a&gt;] 
&lt;br&gt;Sent: Wednesday, September 03, 2008 8:58 AM
&lt;br&gt;To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288865&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users@...&lt;/a&gt;
&lt;br&gt;Subject: Re: Error when using XSL with French Characters
&lt;br&gt;&lt;br&gt;There are four kinds of accent current in French (é è ê ë) so you should 
&lt;br&gt;be more precise.
&lt;br&gt;None of them can possibly correspond to CHR(130) neither in UTF-8 nor in 
&lt;br&gt;ISO-8859-1
&lt;br&gt;On what kind of system/platform/OS are you working ?
&lt;br&gt;Mentioning vi makes me guess it should be some kind of Unix but at the 
&lt;br&gt;same time the encoding used makes this improbable...
&lt;br&gt;I guess more information is needed here.
&lt;br&gt;&lt;br&gt;Steffanina, Jeff a écrit :
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Manuel,
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; We create the XML using a version of BASIC. &amp;nbsp;To create this particular 
&lt;br&gt;&amp;gt; character, we send &amp;nbsp;CHR(130) to the XML. &amp;nbsp;When I open the XML in &amp;quot;vi&amp;quot;, 
&lt;br&gt;&amp;gt; I see the proper FRENCH symbol.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; */Jeff /*
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *From:* Manuel Mall [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288865&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mm@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *Sent:* Tuesday, September 02, 2008 10:51 PM
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *To:* '&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288865&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users@...&lt;/a&gt;'
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *Subject:* RE: Error when using XSL with French Characters
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; I am suspicious that although you declare the XML file as being in
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; UTF-8 it actually isn't. How do you produce the XML file?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Manuel
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *From:* Steffanina, Jeff [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288865&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Jeff.Steffanina@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *Sent:* Wednesday, 3 September 2008 10:23 AM
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *To:* &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288865&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *Subject:* Error when using XSL with French Characters
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; My Friends,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Fop-0.95 &amp;nbsp; My style sheet has been working perfectly. &amp;nbsp;However,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; the user submitted some text in French. &amp;nbsp;In the text was a letter
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;quot;e&amp;quot; with an accent above it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; That character caused the following error:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Invalid byte 1 of 1-byte UTF-8 sequence.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; My .xml looks fine. &amp;nbsp; The &amp;nbsp;&amp;quot;e&amp;quot; with the accent above it is perfect.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; First line in my XML:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Here is the first line of my XSL:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; I am confused over why the UTF-8 for the XML understands the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; character but the UTF-8 in the XSL does not?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; I found an article that suggests that the problem would be solved
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; with:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;8859-1&amp;quot;?&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Would this be a viable/recommended solution? &amp;nbsp; Do you have a
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; better idea?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288865&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288865&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288865&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288865&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Error-when-using-XSL-with-French-Characters-tp19281845p19288865.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19288816</id>
	<title>RE: Error when using XSL with French Characters</title>
	<published>2008-09-03T06:05:35Z</published>
	<updated>2008-09-03T06:05:35Z</updated>
	<author>
		<name>Steffanina, Jeff</name>
	</author>
	<content type="html">Jean-Francois,
&lt;br&gt;&lt;br&gt;fop-0.95
&lt;br&gt;I am running Redhat Linux 2.4.21-47.0.1. 
&lt;br&gt;&lt;br&gt;The letter I am referring to is: &amp;nbsp;é è
&lt;br&gt;I assume I am having problems with any French character that includes a glyph.
&lt;br&gt;&lt;br&gt;What are you using for &amp;nbsp;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;XXXXXXXX&amp;quot;?&amp;gt;
&lt;br&gt;&lt;br&gt;I appreciate any suggestions. &amp;nbsp;I have not had to deal with international characters sets before.
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;&lt;br&gt;Jeff 
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Jean-François El Fouly [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288816&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jean-francois@...&lt;/a&gt;] 
&lt;br&gt;Sent: Wednesday, September 03, 2008 8:58 AM
&lt;br&gt;To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288816&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users@...&lt;/a&gt;
&lt;br&gt;Subject: Re: Error when using XSL with French Characters
&lt;br&gt;&lt;br&gt;There are four kinds of accent current in French (é è ê ë) so you should 
&lt;br&gt;be more precise.
&lt;br&gt;None of them can possibly correspond to CHR(130) neither in UTF-8 nor in 
&lt;br&gt;ISO-8859-1
&lt;br&gt;On what kind of system/platform/OS are you working ?
&lt;br&gt;Mentioning vi makes me guess it should be some kind of Unix but at the 
&lt;br&gt;same time the encoding used makes this improbable...
&lt;br&gt;I guess more information is needed here.
&lt;br&gt;&lt;br&gt;Steffanina, Jeff a écrit :
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Manuel,
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; We create the XML using a version of BASIC. &amp;nbsp;To create this particular 
&lt;br&gt;&amp;gt; character, we send &amp;nbsp;CHR(130) to the XML. &amp;nbsp;When I open the XML in &amp;quot;vi&amp;quot;, 
&lt;br&gt;&amp;gt; I see the proper FRENCH symbol.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; */Jeff /*
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *From:* Manuel Mall [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288816&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mm@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *Sent:* Tuesday, September 02, 2008 10:51 PM
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *To:* '&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288816&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users@...&lt;/a&gt;'
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *Subject:* RE: Error when using XSL with French Characters
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; I am suspicious that although you declare the XML file as being in
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; UTF-8 it actually isn't. How do you produce the XML file?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Manuel
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *From:* Steffanina, Jeff [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288816&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Jeff.Steffanina@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *Sent:* Wednesday, 3 September 2008 10:23 AM
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *To:* &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288816&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *Subject:* Error when using XSL with French Characters
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; My Friends,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Fop-0.95 &amp;nbsp; My style sheet has been working perfectly. &amp;nbsp;However,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; the user submitted some text in French. &amp;nbsp;In the text was a letter
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;quot;e&amp;quot; with an accent above it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; That character caused the following error:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Invalid byte 1 of 1-byte UTF-8 sequence.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; My .xml looks fine. &amp;nbsp; The &amp;nbsp;&amp;quot;e&amp;quot; with the accent above it is perfect.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; First line in my XML:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Here is the first line of my XSL:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; I am confused over why the UTF-8 for the XML understands the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; character but the UTF-8 in the XSL does not?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; I found an article that suggests that the problem would be solved
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; with:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;8859-1&amp;quot;?&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Would this be a viable/recommended solution? &amp;nbsp; Do you have a
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; better idea?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288816&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288816&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288816&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288816&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Error-when-using-XSL-with-French-Characters-tp19281845p19288816.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19288674</id>
	<title>Re: Error when using XSL with French Characters</title>
	<published>2008-09-03T05:57:37Z</published>
	<updated>2008-09-03T05:57:37Z</updated>
	<author>
		<name>Jean-François El Fouly</name>
	</author>
	<content type="html">There are four kinds of accent current in French (é è ê ë) so you should 
&lt;br&gt;be more precise.
&lt;br&gt;None of them can possibly correspond to CHR(130) neither in UTF-8 nor in 
&lt;br&gt;ISO-8859-1
&lt;br&gt;On what kind of system/platform/OS are you working ?
&lt;br&gt;Mentioning vi makes me guess it should be some kind of Unix but at the 
&lt;br&gt;same time the encoding used makes this improbable...
&lt;br&gt;I guess more information is needed here.
&lt;br&gt;&lt;br&gt;Steffanina, Jeff a écrit :
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Manuel,
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; We create the XML using a version of BASIC. &amp;nbsp;To create this particular 
&lt;br&gt;&amp;gt; character, we send &amp;nbsp;CHR(130) to the XML. &amp;nbsp;When I open the XML in &amp;quot;vi&amp;quot;, 
&lt;br&gt;&amp;gt; I see the proper FRENCH symbol.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; */Jeff /*
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *From:* Manuel Mall [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288674&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mm@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *Sent:* Tuesday, September 02, 2008 10:51 PM
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *To:* '&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288674&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users@...&lt;/a&gt;'
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *Subject:* RE: Error when using XSL with French Characters
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; I am suspicious that although you declare the XML file as being in
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; UTF-8 it actually isn't. How do you produce the XML file?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Manuel
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *From:* Steffanina, Jeff [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288674&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Jeff.Steffanina@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *Sent:* Wednesday, 3 September 2008 10:23 AM
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *To:* &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288674&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *Subject:* Error when using XSL with French Characters
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; My Friends,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Fop-0.95 &amp;nbsp; My style sheet has been working perfectly. &amp;nbsp;However,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; the user submitted some text in French. &amp;nbsp;In the text was a letter
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;quot;e&amp;quot; with an accent above it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; That character caused the following error:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Invalid byte 1 of 1-byte UTF-8 sequence.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; My .xml looks fine. &amp;nbsp; The &amp;nbsp;&amp;quot;e&amp;quot; with the accent above it is perfect.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; First line in my XML:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Here is the first line of my XSL:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; I am confused over why the UTF-8 for the XML understands the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; character but the UTF-8 in the XSL does not?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; I found an article that suggests that the problem would be solved
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; with:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;8859-1&amp;quot;?&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Would this be a viable/recommended solution? &amp;nbsp; Do you have a
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; better idea?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288674&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288674&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Error-when-using-XSL-with-French-Characters-tp19281845p19288674.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19288065</id>
	<title>RE: Error when using XSL with French Characters</title>
	<published>2008-09-03T05:16:39Z</published>
	<updated>2008-09-03T05:16:39Z</updated>
	<author>
		<name>Steffanina, Jeff</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML xmlns=&quot;http://www.w3.org/TR/REC-html40&quot; xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot;&gt;&lt;HEAD&gt;&lt;TITLE&gt;Error when using XSL with French Characters&lt;/TITLE&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.2900.3395&quot; name=GENERATOR&gt;&lt;!--[if !mso]&gt;
&lt;STYLE&gt;v\:* {
	BEHAVIOR: url(#default#VML)
}
o\:* {
	BEHAVIOR: url(#default#VML)
}
w\:* {
	BEHAVIOR: url(#default#VML)
}
.shape {
	BEHAVIOR: url(#default#VML)
}
&lt;/STYLE&gt;
&lt;![endif]--&gt;

&lt;/HEAD&gt;
&lt;BODY lang=EN-US vLink=purple link=blue&gt;
&lt;DIV dir=ltr align=left&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;&lt;SPAN class=444401412-03092008&gt;Manuel,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV dir=ltr align=left&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;&lt;SPAN class=444401412-03092008&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV dir=ltr align=left&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;&lt;SPAN class=444401412-03092008&gt;We create the XML using a version of BASIC.&amp;nbsp; To 
create this particular character, we send&amp;nbsp; CHR(130) to the XML.&amp;nbsp; When 
I open the XML in &quot;vi&quot;, I see the proper FRENCH symbol.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV dir=ltr align=left&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;&lt;SPAN class=444401412-03092008&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV dir=ltr align=left&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;&lt;SPAN class=444401412-03092008&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;&lt;SPAN class=444401412-03092008&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;&lt;SPAN class=444401412-03092008&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial color=#0000ff size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;!-- Converted from text/rtf format --&gt;
&lt;P&gt;&lt;B&gt;&lt;I&gt;&lt;SPAN lang=en-us&gt;&lt;FONT face=&quot;Century Schoolbook&quot; color=#0000ff&gt;Jeff 
&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/I&gt;&lt;/B&gt;&lt;BR&gt;&lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr style=&quot;MARGIN-RIGHT: 0px&quot;&gt;
  &lt;DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left&gt;
  &lt;HR tabIndex=-1&gt;
  &lt;FONT face=Tahoma size=2&gt;&lt;B&gt;From:&lt;/B&gt; Manuel Mall [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288065&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mm@...&lt;/a&gt;] 
  &lt;BR&gt;&lt;B&gt;Sent:&lt;/B&gt; Tuesday, September 02, 2008 10:51 PM&lt;BR&gt;&lt;B&gt;To:&lt;/B&gt; 
  '&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288065&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users@...&lt;/a&gt;'&lt;BR&gt;&lt;B&gt;Subject:&lt;/B&gt; RE: Error when using XSL 
  with French Characters&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;/DIV&gt;
  &lt;DIV&gt;&lt;/DIV&gt;
  &lt;DIV class=Section1&gt;
  &lt;P class=MsoNormal&gt;&lt;FONT face=Arial color=navy size=2&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial&quot;&gt;I am suspicious that 
  although you declare the XML file as being in UTF-8 it actually isn't. How do 
  you produce the XML file? &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
  &lt;P class=MsoNormal&gt;&lt;FONT face=Arial color=navy size=2&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
  &lt;P class=MsoNormal&gt;&lt;FONT face=Arial color=navy size=2&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial&quot;&gt;Manuel&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
  &lt;P class=MsoNormal&gt;&lt;FONT face=Arial color=navy size=2&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
  &lt;DIV style=&quot;BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none&quot;&gt;
  &lt;DIV&gt;
  &lt;DIV class=MsoNormal style=&quot;TEXT-ALIGN: center&quot; align=center&gt;&lt;FONT face=&quot;Times New Roman&quot; size=3&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;
  &lt;HR tabIndex=-1 align=center width=&quot;100%&quot; SIZE=2&gt;
  &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
  &lt;P class=MsoNormal&gt;&lt;B&gt;&lt;FONT face=Tahoma size=2&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma&quot;&gt;From:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;FONT face=Tahoma size=2&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt; FONT-FAMILY: Tahoma&quot;&gt; 
  Steffanina, Jeff [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288065&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Jeff.Steffanina@...&lt;/a&gt;] &lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Sent:&lt;/SPAN&gt;&lt;/B&gt; Wednesday, 3 September 2008 10:23 
  AM&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;To:&lt;/SPAN&gt;&lt;/B&gt; 
  &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19288065&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users@...&lt;/a&gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Subject:&lt;/SPAN&gt;&lt;/B&gt; Error when using XSL with French 
  Characters&lt;/SPAN&gt;&lt;/FONT&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/DIV&gt;
  &lt;P class=MsoNormal&gt;&lt;FONT face=&quot;Times New Roman&quot; size=3&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
  &lt;P class=MsoNormal&gt;&lt;FONT face=&quot;Times New Roman&quot; size=3&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
  &lt;P&gt;&lt;FONT face=Arial color=blue size=2&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial&quot;&gt;My 
  Friends,&lt;/SPAN&gt;&lt;/FONT&gt; &lt;BR&gt;&lt;FONT face=Arial color=blue size=2&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial&quot;&gt;Fop-0.95&amp;nbsp;&amp;nbsp; 
  My style sheet has been working perfectly.&amp;nbsp; However, the user submitted 
  some text in French.&amp;nbsp; In the text was a letter &quot;e&quot; with an accent above 
  it.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
  &lt;P&gt;&lt;FONT face=Arial color=blue size=2&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial&quot;&gt;That character caused 
  the following error:&lt;/SPAN&gt;&lt;/FONT&gt; 
  &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT face=Arial color=blue size=2&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial&quot;&gt;Invalid 
  byte 1 of 1-byte UTF-8 sequence.&lt;/SPAN&gt;&lt;/FONT&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
  &lt;P&gt;&lt;FONT face=Arial color=blue size=2&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial&quot;&gt;My .xml looks 
  fine.&amp;nbsp;&amp;nbsp; The&amp;nbsp; &quot;e&quot; with the accent above it is 
  perfect.&lt;/SPAN&gt;&lt;/FONT&gt; &lt;BR&gt;&lt;FONT face=Arial color=blue size=2&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial&quot;&gt;First line in my 
  XML:&lt;/SPAN&gt;&lt;/FONT&gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT face=Arial color=blue size=2&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial&quot;&gt;&amp;lt;?xml 
  version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;/SPAN&gt;&lt;/FONT&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
  &lt;P&gt;&lt;FONT face=Arial color=blue size=2&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial&quot;&gt;Here is the first 
  line of my XSL:&lt;/SPAN&gt;&lt;/FONT&gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
  &lt;FONT face=Arial color=blue size=2&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial&quot;&gt;&amp;lt;?xml 
  version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;/SPAN&gt;&lt;/FONT&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
  &lt;P&gt;&lt;FONT face=Arial color=blue size=2&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial&quot;&gt;I am confused over 
  why the UTF-8 for the XML understands the character but the UTF-8 in the XSL 
  does not?&lt;/SPAN&gt;&lt;/FONT&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
  &lt;P&gt;&lt;FONT face=Arial color=blue size=2&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial&quot;&gt;I found an article 
  that suggests that the problem would be solved with: 
  &lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT face=Arial color=blue size=2&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial&quot;&gt;&amp;lt;?xml 
  version=&quot;1.0&quot; encoding=&quot;&lt;/SPAN&gt;&lt;/FONT&gt;8859-1&lt;FONT face=Arial color=blue size=2&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial&quot;&gt;&quot;?&amp;gt;&lt;/SPAN&gt;&lt;/FONT&gt; 
  &lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
  &lt;P&gt;&lt;FONT face=Arial color=blue size=2&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial&quot;&gt;Would this be a 
  viable/recommended solution?&amp;nbsp;&amp;nbsp; Do you have a better 
  idea?&lt;/SPAN&gt;&lt;/FONT&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
  &lt;P class=MsoNormal&gt;&lt;FONT face=&quot;Times New Roman&quot; size=3&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Error-when-using-XSL-with-French-Characters-tp19281845p19288065.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19287849</id>
	<title>Re: Referenced pattern not applied when PDF is encrypted</title>
	<published>2008-09-03T05:02:15Z</published>
	<updated>2008-09-03T05:02:15Z</updated>
	<author>
		<name>Lea Thurman</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;We am more than happy to spend time on this and hopefully fix and submit it back. However having never filed a defect or committed to FOP before is there are starter for 10 that tells me about servers/repositories/locations etc and the general process to be followed.
&lt;br&gt;&lt;br&gt;Many Thanks
&lt;br&gt;Lea.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Jeremias Maerki-2 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Please file a bug in Bugzilla for this and add all the information here
&lt;br&gt;to the issue. Thanks.
&lt;br&gt;&lt;br&gt;Encryption is always a bit tricky and our PDF library has still a few
&lt;br&gt;messy parts which can lead to certain corner cases not to be handled
&lt;br&gt;correctly when encryption is present. Someone will have to fix it. Not
&lt;br&gt;sure if I'll have time and energy very soon. At least, with the Bugzilla
&lt;br&gt;entry it won't get forgotten.
&lt;br&gt;&lt;br&gt;On 28.08.2008 11:59:23 Lea Thurman wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; We are using FOP.0.95Beta on XP Pro and Mac OS X 10.5 and have encountered
&lt;br&gt;&amp;gt; the following problem when we encrypt our PDF's on both OS's.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; We are generating the following SVG and then using FOP to convert this into
&lt;br&gt;&amp;gt; a PDF. The PDF is rendered correctly and the referenced pattern applied if
&lt;br&gt;&amp;gt; we do not encrypt the PDF. As soon as we encrypt the PDF the pattern is not
&lt;br&gt;&amp;gt; applied. In both cases the SVG is identical.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;!DOCTYPE svg PUBLIC &amp;quot;-//W3C//DTD SVG 1.0//EN&amp;quot;
&lt;br&gt;&amp;gt; &amp;quot;&lt;a href=&quot;http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;svg xml:space=&amp;quot;preserve&amp;quot; height=&amp;quot;297mm&amp;quot; width=&amp;quot;210mm&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;defs&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;pattern width=&amp;quot;1&amp;quot; x=&amp;quot;0&amp;quot; height=&amp;quot;1&amp;quot; y=&amp;quot;0&amp;quot; id=&amp;quot;1219915834789&amp;quot;
&lt;br&gt;&amp;gt; patternUnits=&amp;quot;userSpaceOnUse&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;image width=&amp;quot;1&amp;quot; x=&amp;quot;0&amp;quot; height=&amp;quot;1&amp;quot; id=&amp;quot;img1&amp;quot; y=&amp;quot;0&amp;quot;
&lt;br&gt;&amp;gt; xlink:href=&amp;quot;file:/tmp/A12/89.png&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;/pattern&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;/defs&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;rect fill=&amp;quot;url(#1219915834789)&amp;quot; x=&amp;quot;1.0in&amp;quot; width=&amp;quot;1.0in&amp;quot; height=&amp;quot;1.0in&amp;quot;
&lt;br&gt;&amp;gt; y=&amp;quot;1.0in&amp;quot; stroke=&amp;quot;none&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/svg&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The code being used to encrypt the pdf is as follows: 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; userAgent.getRendererOptions().put(
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;quot;encryption-params&amp;quot;, 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;new PDFEncryptionParams(null, null, false, true, true, true)
&lt;br&gt;&amp;gt; );
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Apologies if this is overly wordy. I have tried to simplify the scenario as
&lt;br&gt;&amp;gt; much as possible.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Any help would be much appreciated.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt; Lea.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/Referenced-pattern-not-applied-when-PDF-is-encrypted-tp19197539p19197539.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Referenced-pattern-not-applied-when-PDF-is-encrypted-tp19197539p19197539.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the FOP - Users mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Jeremias Maerki
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
&lt;br&gt;For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Referenced-pattern-not-applied-when-PDF-is-encrypted-tp19197539p19287849.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19284998</id>
	<title>Re: Links in SVGs included into PDFs</title>
	<published>2008-09-03T01:26:38Z</published>
	<updated>2008-09-03T01:26:38Z</updated>
	<author>
		<name>Jeremias Maerki-2</name>
	</author>
	<content type="html">I have to call in sick today so this is my last message for now. Just to
&lt;br&gt;give you some feedback. BTW, I noticed this should move to fop-dev since
&lt;br&gt;we're discussion development. Please drop the fop-users CC in any
&lt;br&gt;follow-ups.
&lt;br&gt;&lt;br&gt;On 03.09.2008 10:00:59 Stefan Bund wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Jeremias Maerki &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19284998&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt; &amp;gt; It just occurred to me that as an alternative we could simply track all
&lt;br&gt;&amp;gt; &amp;gt; XSL-FO IDs unconditionally. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; That was, what I was thinking about. As a very first step, I want to
&lt;br&gt;&amp;gt; implement just the Renderer part: Resolve the internal id references
&lt;br&gt;&amp;gt; if and only if they have been registered with the IdTracker already. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If I have that, the next step is to get the target id's into the
&lt;br&gt;&amp;gt; IdTracker and it has already occured to me, why not just add all
&lt;br&gt;&amp;gt; id's, if that is not, what is already done (from your comments, it's
&lt;br&gt;&amp;gt; not).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; That would make scanning the SVG (or HTML or MathML) for links
&lt;br&gt;&amp;gt; &amp;gt; unnecessary. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Exactly. That would need an extension of Image and so on. I had
&lt;br&gt;&amp;gt; thought of giving Image (or a baseclass) a list of resolvables and
&lt;br&gt;&amp;gt; subclassing Image with a special SVGImage which would then do the
&lt;br&gt;&amp;gt; parsing and store the created SVG DOM Tree to be reused at render
&lt;br&gt;&amp;gt; time.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; However, this seems to be FAR more complicated then just registering
&lt;br&gt;&amp;gt; all id's ...
&lt;/div&gt;&lt;br&gt;Yes, and I wouldn't have like a SVG-specific solution.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; The overhead is probably even smaller and could actually have
&lt;br&gt;&amp;gt; &amp;gt; additional side-benefits for certain special use cases. For example,
&lt;br&gt;&amp;gt; &amp;gt; we could have an event that notifies the FOP-User which ID has its
&lt;br&gt;&amp;gt; &amp;gt; first (and last) area on which page. The area tree (and AT XML) size
&lt;br&gt;&amp;gt; &amp;gt; would increase a bit but I don't think by much (String plus
&lt;br&gt;&amp;gt; &amp;gt; PageViewport reference per destination).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Sounds reasonable :-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; On 03.09.2008 09:35:52 Jeremias Maerki wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Hmm, you're right. This is more complicated that I thought. Getting the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; actual position of a link destination on a page is easily done with
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; information from PDFRenderer. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This is, where I am standing currently. My problem is getting exactly
&lt;br&gt;&amp;gt; that information.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I can use PDFRenderer.getPDFGoToForID(targetID, pvKey), however, for
&lt;br&gt;&amp;gt; that I need to already know the pvKey. As far as I understand, I could
&lt;br&gt;&amp;gt; get that information form the IdTracker but after lot's of grepping
&lt;br&gt;&amp;gt; and reading through the source code I could not find a way to access
&lt;br&gt;&amp;gt; the AreaTreeManager from the PDFRenderer.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So my question at the moment is: a) How do I get at the page viewport
&lt;br&gt;&amp;gt; key given an id or more specifically b) How do I access the
&lt;br&gt;&amp;gt; AreaTreeManager from PDFRenderer.
&lt;/div&gt;&lt;br&gt;I don't think you should access the AreaTreeManager. The renderers are
&lt;br&gt;designed to be passive. I believe the Renderer should be informed by the
&lt;br&gt;AreaTreeHandler about any IDs it's managing. Not the other way around.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Maybe that helps. I hope I didn't scare you too much.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; No, you have cleared up lots of points which I guessed but was way from
&lt;br&gt;&amp;gt; sure about.
&lt;br&gt;&lt;br&gt;Cool.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I'd try to continue along the way assuming the register-all-id's stuff
&lt;br&gt;&amp;gt; could work. And even if that would NOT work (register-all-id's), I
&lt;br&gt;&amp;gt; think i would be MUCH farther ... as a last resort I can always hack
&lt;br&gt;&amp;gt; references into the surrounding code, if needed even using some xslt
&lt;br&gt;&amp;gt; to preprocess the fo+svg stuff (which is already generated from
&lt;br&gt;&amp;gt; docbook in my case so adding some more xslt is realtively straight
&lt;br&gt;&amp;gt; forward). Quite a hack and not a general solution but it could at
&lt;br&gt;&amp;gt; least work for the moment :-) and I'm at the point where I'd be
&lt;br&gt;&amp;gt; grateful for ANY working solution (I have not found ANY way to produce
&lt;br&gt;&amp;gt; a PDF file with embeded images containing links into the PDF ... that
&lt;br&gt;&amp;gt; is, using open source technology).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Many thanks for all your insight. I feel, this could even lead
&lt;br&gt;&amp;gt; somewhere :-)
&lt;/div&gt;&lt;br&gt;Good luck!
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Jeremias Maerki
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19284998&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19284998&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Links-in-SVGs-included-into-PDFs-tp19266609p19284998.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19284802</id>
	<title>Re: Links in SVGs included into PDFs</title>
	<published>2008-09-03T01:00:59Z</published>
	<updated>2008-09-03T01:00:59Z</updated>
	<author>
		<name>Stefan Bund-4</name>
	</author>
	<content type="html">Jeremias Maerki &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19284802&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt; It just occurred to me that as an alternative we could simply track all
&lt;br&gt;&amp;gt; XSL-FO IDs unconditionally. 
&lt;br&gt;&lt;br&gt;That was, what I was thinking about. As a very first step, I want to
&lt;br&gt;implement just the Renderer part: Resolve the internal id references
&lt;br&gt;if and only if they have been registered with the IdTracker already. 
&lt;br&gt;&lt;br&gt;If I have that, the next step is to get the target id's into the
&lt;br&gt;IdTracker and it has already occured to me, why not just add all
&lt;br&gt;id's, if that is not, what is already done (from your comments, it's
&lt;br&gt;not).
&lt;br&gt;&lt;br&gt;&amp;gt; That would make scanning the SVG (or HTML or MathML) for links
&lt;br&gt;&amp;gt; unnecessary. 
&lt;br&gt;&lt;br&gt;Exactly. That would need an extension of Image and so on. I had
&lt;br&gt;thought of giving Image (or a baseclass) a list of resolvables and
&lt;br&gt;subclassing Image with a special SVGImage which would then do the
&lt;br&gt;parsing and store the created SVG DOM Tree to be reused at render
&lt;br&gt;time.
&lt;br&gt;&lt;br&gt;However, this seems to be FAR more complicated then just registering
&lt;br&gt;all id's ...
&lt;br&gt;&lt;br&gt;&amp;gt; The overhead is probably even smaller and could actually have
&lt;br&gt;&amp;gt; additional side-benefits for certain special use cases. For example,
&lt;br&gt;&amp;gt; we could have an event that notifies the FOP-User which ID has its
&lt;br&gt;&amp;gt; first (and last) area on which page. The area tree (and AT XML) size
&lt;br&gt;&amp;gt; would increase a bit but I don't think by much (String plus
&lt;br&gt;&amp;gt; PageViewport reference per destination).
&lt;br&gt;&lt;br&gt;Sounds reasonable :-)
&lt;br&gt;&lt;br&gt;&amp;gt; On 03.09.2008 09:35:52 Jeremias Maerki wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hmm, you're right. This is more complicated that I thought. Getting the
&lt;br&gt;&amp;gt;&amp;gt; actual position of a link destination on a page is easily done with
&lt;br&gt;&amp;gt;&amp;gt; information from PDFRenderer. 
&lt;br&gt;&lt;br&gt;This is, where I am standing currently. My problem is getting exactly
&lt;br&gt;that information.
&lt;br&gt;&lt;br&gt;I can use PDFRenderer.getPDFGoToForID(targetID, pvKey), however, for
&lt;br&gt;that I need to already know the pvKey. As far as I understand, I could
&lt;br&gt;get that information form the IdTracker but after lot's of grepping
&lt;br&gt;and reading through the source code I could not find a way to access
&lt;br&gt;the AreaTreeManager from the PDFRenderer.
&lt;br&gt;&lt;br&gt;So my question at the moment is: a) How do I get at the page viewport
&lt;br&gt;key given an id or more specifically b) How do I access the
&lt;br&gt;AreaTreeManager from PDFRenderer.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; Maybe that helps. I hope I didn't scare you too much.
&lt;br&gt;&lt;br&gt;No, you have cleared up lots of points which I guessed but was way from
&lt;br&gt;sure about.
&lt;br&gt;&lt;br&gt;I'd try to continue along the way assuming the register-all-id's stuff
&lt;br&gt;could work. And even if that would NOT work (register-all-id's), I
&lt;br&gt;think i would be MUCH farther ... as a last resort I can always hack
&lt;br&gt;references into the surrounding code, if needed even using some xslt
&lt;br&gt;to preprocess the fo+svg stuff (which is already generated from
&lt;br&gt;docbook in my case so adding some more xslt is realtively straight
&lt;br&gt;forward). Quite a hack and not a general solution but it could at
&lt;br&gt;least work for the moment :-) and I'm at the point where I'd be
&lt;br&gt;grateful for ANY working solution (I have not found ANY way to produce
&lt;br&gt;a PDF file with embeded images containing links into the PDF ... that
&lt;br&gt;is, using open source technology).
&lt;br&gt;&lt;br&gt;Many thanks for all your insight. I feel, this could even lead
&lt;br&gt;somewhere :-)
&lt;br&gt;&lt;br&gt;stefan.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19284802&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19284802&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Links-in-SVGs-included-into-PDFs-tp19266609p19284802.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19284415</id>
	<title>Re: Links in SVGs included into PDFs</title>
	<published>2008-09-03T00:40:37Z</published>
	<updated>2008-09-03T00:40:37Z</updated>
	<author>
		<name>Jeremias Maerki-2</name>
	</author>
	<content type="html">It just occurred to me that as an alternative we could simply track all
&lt;br&gt;XSL-FO IDs unconditionally. That would make scanning the SVG (or HTML or
&lt;br&gt;MathML) for links unnecessary. The overhead is probably even smaller and
&lt;br&gt;could actually have additional side-benefits for certain special use
&lt;br&gt;cases. For example, we could have an event that notifies the FOP-User
&lt;br&gt;which ID has its first (and last) area on which page. The area tree (and
&lt;br&gt;AT XML) size would increase a bit but I don't think by much (String plus
&lt;br&gt;PageViewport reference per destination).
&lt;br&gt;&lt;br&gt;On 03.09.2008 09:35:52 Jeremias Maerki wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hmm, you're right. This is more complicated that I thought. Getting the
&lt;br&gt;&amp;gt; actual position of a link destination on a page is easily done with
&lt;br&gt;&amp;gt; information from PDFRenderer. But to know the actual page of the link
&lt;br&gt;&amp;gt; destionation requires the registration of the ID as an item of interest
&lt;br&gt;&amp;gt; at layout time. For basic-link this is a single INTERNAL_DESTINATION
&lt;br&gt;&amp;gt; trait that is set on the area tree object, resolved by a LinkResolver.
&lt;br&gt;&amp;gt; For an SVG, however, only a single area is created and you might have
&lt;br&gt;&amp;gt; multiple links from the SVG into areas created from XSL-FO. This would
&lt;br&gt;&amp;gt; require something slightly different from a LinkResolver, plus you'd
&lt;br&gt;&amp;gt; need to scan the SVG at layout time for any links into XSL-FO so their
&lt;br&gt;&amp;gt; page number is resolved during layout. That needs some additional
&lt;br&gt;&amp;gt; infrastructure (both Java classes and area tree XML). This should
&lt;br&gt;&amp;gt; probably be done by extending Image and ForeignObject (in the area
&lt;br&gt;&amp;gt; package) from a common superclass which can take a list of link
&lt;br&gt;&amp;gt; destinations. The LinkResolver probably can't be used for this, but
&lt;br&gt;&amp;gt; fortunately, it's just a matter of creating another Resolvable and
&lt;br&gt;&amp;gt; making sure it is used.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So in all, not trivial at all, but this could actually be used later
&lt;br&gt;&amp;gt; should anyone ever plug in (X)HTML support into FOP, too. Or JEuclid
&lt;br&gt;&amp;gt; could use something like that for XLinks in MathML back into XSL-FO.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Maybe that helps. I hope I didn't scare you too much.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On 02.09.2008 23:31:57 Stefan Bund wrote:
&lt;br&gt;&amp;gt; &amp;gt; Replying to my own post since I have gotten a little bit further.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Implementing internal links seems to be more complicated than I had
&lt;br&gt;&amp;gt; &amp;gt; expected. As far as I understand, internal links are resolved within
&lt;br&gt;&amp;gt; &amp;gt; the area tree before the tree is rendered. An (external) SVG image
&lt;br&gt;&amp;gt; &amp;gt; resource howvever is only parsed at the render stage. 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; However, I could get further if I could access the AreaTreeManager
&lt;br&gt;&amp;gt; &amp;gt; (and thereby its IdTracker) from the PDFANode. However, I could not
&lt;br&gt;&amp;gt; &amp;gt; find any way to get there (I have the PDFGraphics2D object and I can
&lt;br&gt;&amp;gt; &amp;gt; get the PDFDocument or RendererContext but I could not find a
&lt;br&gt;&amp;gt; &amp;gt; reference to the AreaTreeManager anywhere).
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I know, this is probably not the correct way to do this (I would need
&lt;br&gt;&amp;gt; &amp;gt; to somehow create a LinkResolver for every link in the SVG file while
&lt;br&gt;&amp;gt; &amp;gt; creating the area tree but at the moment that is way over my head). I
&lt;br&gt;&amp;gt; &amp;gt; hope, I can resolve the id's by just querying the IdTracker. This will
&lt;br&gt;&amp;gt; &amp;gt; possibly only work when the id is referenced from some other place,
&lt;br&gt;&amp;gt; &amp;gt; but it would be a start.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Any pointer how to proceed?
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; And maybe I got everything completely wrong. If so, could someone
&lt;br&gt;&amp;gt; &amp;gt; please set me right?
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; stefan.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Jeremias Maerki
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19284415&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19284415&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Links-in-SVGs-included-into-PDFs-tp19266609p19284415.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19284362</id>
	<title>Re: Links in SVGs included into PDFs</title>
	<published>2008-09-03T00:35:52Z</published>
	<updated>2008-09-03T00:35:52Z</updated>
	<author>
		<name>Jeremias Maerki-2</name>
	</author>
	<content type="html">Hmm, you're right. This is more complicated that I thought. Getting the
&lt;br&gt;actual position of a link destination on a page is easily done with
&lt;br&gt;information from PDFRenderer. But to know the actual page of the link
&lt;br&gt;destionation requires the registration of the ID as an item of interest
&lt;br&gt;at layout time. For basic-link this is a single INTERNAL_DESTINATION
&lt;br&gt;trait that is set on the area tree object, resolved by a LinkResolver.
&lt;br&gt;For an SVG, however, only a single area is created and you might have
&lt;br&gt;multiple links from the SVG into areas created from XSL-FO. This would
&lt;br&gt;require something slightly different from a LinkResolver, plus you'd
&lt;br&gt;need to scan the SVG at layout time for any links into XSL-FO so their
&lt;br&gt;page number is resolved during layout. That needs some additional
&lt;br&gt;infrastructure (both Java classes and area tree XML). This should
&lt;br&gt;probably be done by extending Image and ForeignObject (in the area
&lt;br&gt;package) from a common superclass which can take a list of link
&lt;br&gt;destinations. The LinkResolver probably can't be used for this, but
&lt;br&gt;fortunately, it's just a matter of creating another Resolvable and
&lt;br&gt;making sure it is used.
&lt;br&gt;&lt;br&gt;So in all, not trivial at all, but this could actually be used later
&lt;br&gt;should anyone ever plug in (X)HTML support into FOP, too. Or JEuclid
&lt;br&gt;could use something like that for XLinks in MathML back into XSL-FO.
&lt;br&gt;&lt;br&gt;Maybe that helps. I hope I didn't scare you too much.
&lt;br&gt;&lt;br&gt;On 02.09.2008 23:31:57 Stefan Bund wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Replying to my own post since I have gotten a little bit further.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Implementing internal links seems to be more complicated than I had
&lt;br&gt;&amp;gt; expected. As far as I understand, internal links are resolved within
&lt;br&gt;&amp;gt; the area tree before the tree is rendered. An (external) SVG image
&lt;br&gt;&amp;gt; resource howvever is only parsed at the render stage. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; However, I could get further if I could access the AreaTreeManager
&lt;br&gt;&amp;gt; (and thereby its IdTracker) from the PDFANode. However, I could not
&lt;br&gt;&amp;gt; find any way to get there (I have the PDFGraphics2D object and I can
&lt;br&gt;&amp;gt; get the PDFDocument or RendererContext but I could not find a
&lt;br&gt;&amp;gt; reference to the AreaTreeManager anywhere).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I know, this is probably not the correct way to do this (I would need
&lt;br&gt;&amp;gt; to somehow create a LinkResolver for every link in the SVG file while
&lt;br&gt;&amp;gt; creating the area tree but at the moment that is way over my head). I
&lt;br&gt;&amp;gt; hope, I can resolve the id's by just querying the IdTracker. This will
&lt;br&gt;&amp;gt; possibly only work when the id is referenced from some other place,
&lt;br&gt;&amp;gt; but it would be a start.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Any pointer how to proceed?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; And maybe I got everything completely wrong. If so, could someone
&lt;br&gt;&amp;gt; please set me right?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; stefan.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Jeremias Maerki
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19284362&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19284362&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Links-in-SVGs-included-into-PDFs-tp19266609p19284362.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19282067</id>
	<title>RE: Error when using XSL with French Characters</title>
	<published>2008-09-02T19:51:10Z</published>
	<updated>2008-09-02T19:51:10Z</updated>
	<author>
		<name>Manuel Mall-2</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=us-ascii&quot;&gt;


&lt;meta name=Generator content=&quot;Microsoft Word 11 (filtered medium)&quot;&gt;
&lt;!--[if !mso]&gt;
&lt;style&gt;
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;title&gt;Error when using XSL with French Characters&lt;/title&gt;


&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span style='font-size:
10.0pt;font-family:Arial;color:navy'&gt;I am suspicious that although you declare
the XML file as being in UTF-8 it actually isn't. How do you produce the
XML file? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span style='font-size:
10.0pt;font-family:Arial;color:navy'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span style='font-size:
10.0pt;font-family:Arial;color:navy'&gt;Manuel&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span style='font-size:
10.0pt;font-family:Arial;color:navy'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'&gt;

&lt;div&gt;

&lt;div class=MsoNormal align=center style='text-align:center'&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style='font-size:12.0pt'&gt;

&lt;hr size=2 width=&quot;100%&quot; align=center tabindex=-1&gt;

&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;font size=2 face=Tahoma&gt;&lt;span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'&gt;From:&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;font size=2 face=Tahoma&gt;&lt;span style='font-size:10.0pt;font-family:Tahoma'&gt; Steffanina, Jeff
[mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19282067&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Jeff.Steffanina@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;&lt;span style='font-weight:bold'&gt;Sent:&lt;/span&gt;&lt;/b&gt; Wednesday, 3 September 2008
10:23 AM&lt;br&gt;
&lt;b&gt;&lt;span style='font-weight:bold'&gt;To:&lt;/span&gt;&lt;/b&gt;
&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19282067&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fop-users@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;&lt;span style='font-weight:bold'&gt;Subject:&lt;/span&gt;&lt;/b&gt; Error when using XSL with
French Characters&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style='font-size:
12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style='font-size:
12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 color=blue face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:
Arial;color:blue'&gt;My Friends,&lt;/span&gt;&lt;/font&gt; &lt;br&gt;
&lt;font size=2 color=blue face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:
Arial;color:blue'&gt;Fop-0.95&amp;nbsp;&amp;nbsp; My style sheet has been working
perfectly.&amp;nbsp; However, the user submitted some text in French.&amp;nbsp; In the
text was a letter &amp;quot;e&amp;quot; with an accent above it.&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 color=blue face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:
Arial;color:blue'&gt;That character caused the following error:&lt;/span&gt;&lt;/font&gt; &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font size=2 color=blue face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial;color:blue'&gt;Invalid byte 1 of 1-byte
UTF-8 sequence.&lt;/span&gt;&lt;/font&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=2 color=blue face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:
Arial;color:blue'&gt;My .xml looks fine.&amp;nbsp;&amp;nbsp; The&amp;n