xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: differnece between fop and xep: which is right?
Date Mon, 13 Feb 2006 08:08:16 GMT
I think XEP is wrong if it reports an error. XSL-FO 1.0 says in "5.9
Expressions": "All property value specifications in attributes within an
XSL stylesheet can be expressions."

IMO, your expression for start-indent is valid.

On 13.02.2006 04:59:48 Paul Tremblay wrote:
> I have the following line in my of.xml file:
> 
> 
>     <fo:list-item space-before="12pt">
>     	<fo:list-item-label end-indent="label-end()">
> 		<fo:block></fo:block>
> 	</fo:list-item-label>
> 	<fo:list-item-body start-indent="body-start() + 12pt"
> 	text-indent="-12pt">
> 	   <fo:block>In late winter</fo:block></fo:list-item-body></fo:list-item>
> 
> I want to create a hanging indents for long lines of poetry. When I
> run this document through xep's processor, I get the following error:
> 
>  [warning] Bad attribute start-indent: Cannot add type Word to type
>  Length
> 
> However, when I run it through fop .91 beta, it works exactly like I
> want it to.
> 
> Is xep correct in reporting an error? Is fop cheating? Of course, I am
> glad that fop processes the document the way I want!


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message