Dear FOP developers,
I sent a message to this list last week describing various problems that I've encountered with FOP (look for "Probs with underline, background, hyphenation, svg and more"). No-one has replied :-( It would be really good to get someone's opinion, especially with these two which I don't have a work-around for: Hyphenation: ------------ Hyphenation works when there is more than one word in the block. If there is only one word in the block, it is not hyphenated. I think it should be. If I have one word in the block and the source has whitespace before and after it, I get a run-time error. Here's the example: <?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master margin-right="25mm" margin-left="25mm" margin-bottom="20mm" margin-top="15mm" page-height="297mm" page-width="210mm" master-name="a4"> <fo:region-before extent="10mm"/> <fo:region-after extent="10mm"/> <fo:region-body margin-bottom="15mm" margin-top="15mm"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-name="a4"> <fo:flow flow-name="xsl-region-body"> <fo:block language="en" hyphenate="true"> Thisparagraphwillbehyphenated becauseithasmorethanonewordinit andthisseemstoworkok. Theseverylongwords existonlysothat thereisahighprobability thathyphenationwillberequired. </fo:block> <!-- Uncommenting this block gives "ERROR: null". This is identical to the next block apart from white space before and after the single very-long word. <fo:block language="en" hyphenate="true"> ThisparagraphwillnotbehyphenatedbecauseitcontainsonlyoneextreemelylongwordandthisdoesnotseemtoworkIwasoriginallysufferingfromthisproblemintableswithnarrowcolumnsandwiththingslikeURLsthatareoftenverylongwithnospacesinthem. </fo:block> --> <!-- there should be no line breaks in the following; watch out if they have been added "in the post". --> <fo:block language="en" hyphenate="true">ThisparagraphwillnotbehyphenatedbecauseitcontainsonlyoneextreemelylongwordandthisdoesnotseemtoworkIwasoriginallysufferingfromthisproblemintableswithnarrowcolumnsandwiththingslikeURLsthatareoftenverylongwithnospacesinthem.</fo:block> </fo:flow> </fo:page-sequence> </fo:root> Links: ------ When I try this code, containing a basic-link and a break-before="page": <?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master margin-right="25mm" margin-left="25mm" margin-bottom="20mm" margin-top="15mm" page-height="297mm" page-width="210mm" master-name="a4"> <fo:region-body margin-bottom="15mm" margin-top="15mm"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-name="a4"> <fo:flow flow-name="xsl-region-body"> <fo:block> <fo:basic-link internal-destination="Y"> X </fo:basic-link> </fo:block> <fo:block break-before="page"/> <fo:block id="Y"/> </fo:flow> </fo:page-sequence> </fo:root> I get this output: FOP 0.20.1 using SAX parser org.apache.xerces.parsers.SAXParser building formatting object tree setting up fonts [1] [2ERROR: The id "Y" already exists in this document Any help very, very much appreciated. --Phil. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]