You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Cristian Ferrero <cr...@hotmail.com> on 2008/02/07 12:57:50 UTC

Apache errors

Hi again...i can' t complete my xsl - fo conversion because a couple of 
errors that i can't get wich is the reason, i made my xsl with XSL FAST, 
then i fix a few things that Apache fop needs , by still have a couple of 
errors and i can't get the reason...
 first  is a warning :

ADVERTENCIA: Mismatch: table-cell (http://www.w3.org/1999/XSL/Format) vs. 
root (
http://www.w3.org/1999/XSL/Format)


another is an error :

GRAVE: Exception
javax.xml.transform.TransformerException: 
org.apache.fop.fo.ValidationException:
 Error(Unknown location): fo:table-cell is missing child elements.
Required Content Model: marker* (%block;)+
        at 
org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
        at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
        at org.apache.fop.cli.Main.startFOP(Main.java:166)
        at org.apache.fop.cli.Main.main(Main.java:197)

i attach my xsl...really thanks... 

Re: Apache errors

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
FOP doesn't support breaking absolutely positioned block-containers over
different pages. Furthermore, span="all" doesn't have an effect if used
inside a block-container. That only works on block that are direct
children of fo:flow.

Well, the spec says for fo:block-container that it "generates one or
more viewport/reference pairs".
http://www.w3.org/TR/xsl11/#fo_block-container

But I don't know what that means exactly for absolutely positioned
block-containers because the spec doesn't say anything about it. Anyway,
you'll have to find a different way to place the table at the place
where you want it, i.e. using margins on the page master.

On 11.02.2008 12:44:00 Cristian Ferrero wrote:
> Jeremias  i did what you wrote, also i tried inserting a block with 
> span="all", but the problem is that the table don't show all the 
> information, it doesn't continue in other page, if i dont write 
> position="absolute" it works good (the table continues in another page), but 
> the table appears in the left side of the page automatically, not in the 
> possition i want...
> 
> fo:block-container position="absolute" top="15cm" left="10cm" >
> 
> <fo:block span="all" >
> 
> <fo:table table-layout="fixed" width="100%">
> 
> ................
> 
> 
> thank you very much
> 
> ----- Original Message ----- 
> From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
> To: <fo...@xmlgraphics.apache.org>
> Sent: Monday, February 11, 2008 5:11 AM
> Subject: Re: Apache errors
> 
> 
> height="100%" on a block-container may not work correctly (absolute
> values work fine, of course). I've noticed some strange behaviour there
> but have never investigated, yet. Furthermore, height="100%" sets:
> block-progression-dimension.minimum="100%"
> block-progression-dimension.optimum="100%"
> block-progression-dimension.maximum="100%"
> 
> Setting block-progression-dimension.maximum="auto" afterwards may not
> have any affect at all. I'm not sure if the spec says anything what
> happens in such a case. And how FOP reacts is a different question.
> 
> As if this isn't enough, there's still a restriction on block-container
> that it doesn't evaluate a min/opt/max value for
> block-progression-dimension. Only .optimum is used.
> 
> But if you want the block-container to automatically grow based on the
> height of it's content, just leave height and
> block-progression-dimension away which leaves the default ("auto").
> 
> HTH
> 
> On 08.02.2008 20:49:00 Cristian Ferrero wrote:
> > Tks  Jeremias....the last for today ... i  fixed all my problems but the
> > only that couldn't is to positionate a table in a fixed place, i mean i 
> > did,
> > but it didn't show all the rows, it doesn't expand... i did this (put the
> > table inside a block-containert)
> >
> > <fo:block-container position="absolute"   top="15cm" left="10cm"
> > height="100%" width="100%" block-progression-dimension.maximum="auto">
> > <fo:table table-layout="fixed" width="100%">........
> >
> > is the last question for this week..is my promise !!!! (i couldn't pot the
> > question because the mail server is giving me an error)
> >
> > thanks !!!!!
> >
> <snip/>
> 
> 
> 
> Jeremias Maerki
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org




Jeremias Maerki


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


Re: Apache errors

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
No, unfortunately not. I see it on the radar, yet.

On 21.04.2008 13:36:24 Cristian Ferrero wrote:
> Jeremias, does 0.95 version  work with XSL 1.1 features like flow-map 
> support and multiple fo:region-body elements.?
> 
> tks
> 
> ----- Original Message ----- 
> From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
> To: <fo...@xmlgraphics.apache.org>
> Sent: Monday, February 11, 2008 10:20 AM
> Subject: Re: Apache errors
> 
> 
> What you want to do is currently not possible with FOP. FOP would need
> to implement XSL 1.1 features like flow-map support and multiple
> fo:region-body elements.
> 
> On 11.02.2008 14:01:25 Cristian Ferrero wrote:
> > Chris, Jeremias  thank you bouth...but the only way to positioning a table
> > that expands in several pages is whith this kind of tips ? i mean 
> > inserting
> > a column after or adjusting page margins or something like that ? i
> > suppoused there was a qualifiers for tables that could position them 
> > keeping
> > all the properties as if we don't specify the position...my problem is 
> > that
> > bouth solutions could give me problems because i have to positionate two
> > tables (one beside another)...
> >
> > page 1 :
> >
> > table 1                                     table 2
> >
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> >
> > page 2 :
> >
> >
> > table 1                                     table 2
> >
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> >                                            xxxxxxxxxxxx
> >                                            xxxxxxxxxxxx
> >                                            xxxxxxxxxxxx
> >
> >
> >   thank you bouth i am very appreciatte of your help..sorry because my 
> > poor
> > knowledge..im trying to learn....
> >
> >
> >
> > ----- Original Message ----- 
> > From: "Chris Bowditch" <bo...@hotmail.com>
> > To: <fo...@xmlgraphics.apache.org>
> > Sent: Monday, February 11, 2008 8:55 AM
> > Subject: Re: Apache errors
> >
> >
> > > Cristian Ferrero wrote:
> > >
> > >> Jeremias  i did what you wrote, also i tried inserting a block with
> > >> span="all", but the problem is that the table don't show all the
> > >> information, it doesn't continue in other page, if i dont write
> > >> position="absolute" it works good (the table continues in another 
> > >> page),
> > >> but the table appears in the left side of the page automatically, not 
> > >> in
> > >> the possition i want...
> > >
> > > Absolutely positioned block containers are supposed to be limited to a
> > > single page. They do not flow like regular blocks. You could try using
> > > relative positioning. However, I think the block-container would start 
> > > at
> > > the top left of the second page it flows onto.
> > >
> > > If you want a flowing table positioned at (x,y) on each page then you
> > > might need an alternative approach. Something like a fixed height header
> > > row (to achieve y) and an extra blank column at the left of the table.
> > >
> > >>
> > >> fo:block-container position="absolute" top="15cm" left="10cm" >
> > >>
> > >> <fo:block span="all" >
> > >
> > > This only has meaning for regions with a column-count > 1 and I don't
> > > believe it will help you here.
> > >
> > > <snip/>
> > >
> > > Chris
> > >
> > >
> 
> 
> Jeremias Maerki
> 



Jeremias Maerki


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


Re: Apache errors

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
http://xmlgraphics.apache.org/fop/faq.html#when

On 11.02.2008 14:33:18 Cristian Ferrero wrote:
> ught..you just killed me.......any idea when those features could it be 
> implemented ?
> 
> ----- Original Message ----- 
> From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
> To: <fo...@xmlgraphics.apache.org>
> Sent: Monday, February 11, 2008 10:20 AM
> Subject: Re: Apache errors
> 
> 
> What you want to do is currently not possible with FOP. FOP would need
> to implement XSL 1.1 features like flow-map support and multiple
> fo:region-body elements.
> 
> On 11.02.2008 14:01:25 Cristian Ferrero wrote:
> > Chris, Jeremias  thank you bouth...but the only way to positioning a table
> > that expands in several pages is whith this kind of tips ? i mean 
> > inserting
> > a column after or adjusting page margins or something like that ? i
> > suppoused there was a qualifiers for tables that could position them 
> > keeping
> > all the properties as if we don't specify the position...my problem is 
> > that
> > bouth solutions could give me problems because i have to positionate two
> > tables (one beside another)...
> >
> > page 1 :
> >
> > table 1                                     table 2
> >
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> >
> > page 2 :
> >
> >
> > table 1                                     table 2
> >
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> > xxxxxxxxxxx                        xxxxxxxxxxxx
> >                                            xxxxxxxxxxxx
> >                                            xxxxxxxxxxxx
> >                                            xxxxxxxxxxxx
> >
> >
> >   thank you bouth i am very appreciatte of your help..sorry because my 
> > poor
> > knowledge..im trying to learn....
> >
> >
> >
> > ----- Original Message ----- 
> > From: "Chris Bowditch" <bo...@hotmail.com>
> > To: <fo...@xmlgraphics.apache.org>
> > Sent: Monday, February 11, 2008 8:55 AM
> > Subject: Re: Apache errors
> >
> >
> > > Cristian Ferrero wrote:
> > >
> > >> Jeremias  i did what you wrote, also i tried inserting a block with
> > >> span="all", but the problem is that the table don't show all the
> > >> information, it doesn't continue in other page, if i dont write
> > >> position="absolute" it works good (the table continues in another 
> > >> page),
> > >> but the table appears in the left side of the page automatically, not 
> > >> in
> > >> the possition i want...
> > >
> > > Absolutely positioned block containers are supposed to be limited to a
> > > single page. They do not flow like regular blocks. You could try using
> > > relative positioning. However, I think the block-container would start 
> > > at
> > > the top left of the second page it flows onto.
> > >
> > > If you want a flowing table positioned at (x,y) on each page then you
> > > might need an alternative approach. Something like a fixed height header
> > > row (to achieve y) and an extra blank column at the left of the table.
> > >
> > >>
> > >> fo:block-container position="absolute" top="15cm" left="10cm" >
> > >>
> > >> <fo:block span="all" >
> > >
> > > This only has meaning for regions with a column-count > 1 and I don't
> > > believe it will help you here.
> > >
> > > <snip/>
> > >
> > > Chris
> > >
> > >
> 
> 
> Jeremias Maerki
> 




Jeremias Maerki


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


Re: Apache errors

Posted by Cristian Ferrero <cr...@hotmail.com>.
Jeremias, does 0.95 version  work with XSL 1.1 features like flow-map 
support and multiple fo:region-body elements.?

tks

----- Original Message ----- 
From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
To: <fo...@xmlgraphics.apache.org>
Sent: Monday, February 11, 2008 10:20 AM
Subject: Re: Apache errors


What you want to do is currently not possible with FOP. FOP would need
to implement XSL 1.1 features like flow-map support and multiple
fo:region-body elements.

On 11.02.2008 14:01:25 Cristian Ferrero wrote:
> Chris, Jeremias  thank you bouth...but the only way to positioning a table
> that expands in several pages is whith this kind of tips ? i mean 
> inserting
> a column after or adjusting page margins or something like that ? i
> suppoused there was a qualifiers for tables that could position them 
> keeping
> all the properties as if we don't specify the position...my problem is 
> that
> bouth solutions could give me problems because i have to positionate two
> tables (one beside another)...
>
> page 1 :
>
> table 1                                     table 2
>
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
>
> page 2 :
>
>
> table 1                                     table 2
>
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
>                                            xxxxxxxxxxxx
>                                            xxxxxxxxxxxx
>                                            xxxxxxxxxxxx
>
>
>   thank you bouth i am very appreciatte of your help..sorry because my 
> poor
> knowledge..im trying to learn....
>
>
>
> ----- Original Message ----- 
> From: "Chris Bowditch" <bo...@hotmail.com>
> To: <fo...@xmlgraphics.apache.org>
> Sent: Monday, February 11, 2008 8:55 AM
> Subject: Re: Apache errors
>
>
> > Cristian Ferrero wrote:
> >
> >> Jeremias  i did what you wrote, also i tried inserting a block with
> >> span="all", but the problem is that the table don't show all the
> >> information, it doesn't continue in other page, if i dont write
> >> position="absolute" it works good (the table continues in another 
> >> page),
> >> but the table appears in the left side of the page automatically, not 
> >> in
> >> the possition i want...
> >
> > Absolutely positioned block containers are supposed to be limited to a
> > single page. They do not flow like regular blocks. You could try using
> > relative positioning. However, I think the block-container would start 
> > at
> > the top left of the second page it flows onto.
> >
> > If you want a flowing table positioned at (x,y) on each page then you
> > might need an alternative approach. Something like a fixed height header
> > row (to achieve y) and an extra blank column at the left of the table.
> >
> >>
> >> fo:block-container position="absolute" top="15cm" left="10cm" >
> >>
> >> <fo:block span="all" >
> >
> > This only has meaning for regions with a column-count > 1 and I don't
> > believe it will help you here.
> >
> > <snip/>
> >
> > Chris
> >
> >


Jeremias Maerki


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



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


Re: Apache errors

Posted by Cristian Ferrero <cr...@hotmail.com>.
ught..you just killed me.......any idea when those features could it be 
implemented ?

----- Original Message ----- 
From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
To: <fo...@xmlgraphics.apache.org>
Sent: Monday, February 11, 2008 10:20 AM
Subject: Re: Apache errors


What you want to do is currently not possible with FOP. FOP would need
to implement XSL 1.1 features like flow-map support and multiple
fo:region-body elements.

On 11.02.2008 14:01:25 Cristian Ferrero wrote:
> Chris, Jeremias  thank you bouth...but the only way to positioning a table
> that expands in several pages is whith this kind of tips ? i mean 
> inserting
> a column after or adjusting page margins or something like that ? i
> suppoused there was a qualifiers for tables that could position them 
> keeping
> all the properties as if we don't specify the position...my problem is 
> that
> bouth solutions could give me problems because i have to positionate two
> tables (one beside another)...
>
> page 1 :
>
> table 1                                     table 2
>
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
>
> page 2 :
>
>
> table 1                                     table 2
>
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
>                                            xxxxxxxxxxxx
>                                            xxxxxxxxxxxx
>                                            xxxxxxxxxxxx
>
>
>   thank you bouth i am very appreciatte of your help..sorry because my 
> poor
> knowledge..im trying to learn....
>
>
>
> ----- Original Message ----- 
> From: "Chris Bowditch" <bo...@hotmail.com>
> To: <fo...@xmlgraphics.apache.org>
> Sent: Monday, February 11, 2008 8:55 AM
> Subject: Re: Apache errors
>
>
> > Cristian Ferrero wrote:
> >
> >> Jeremias  i did what you wrote, also i tried inserting a block with
> >> span="all", but the problem is that the table don't show all the
> >> information, it doesn't continue in other page, if i dont write
> >> position="absolute" it works good (the table continues in another 
> >> page),
> >> but the table appears in the left side of the page automatically, not 
> >> in
> >> the possition i want...
> >
> > Absolutely positioned block containers are supposed to be limited to a
> > single page. They do not flow like regular blocks. You could try using
> > relative positioning. However, I think the block-container would start 
> > at
> > the top left of the second page it flows onto.
> >
> > If you want a flowing table positioned at (x,y) on each page then you
> > might need an alternative approach. Something like a fixed height header
> > row (to achieve y) and an extra blank column at the left of the table.
> >
> >>
> >> fo:block-container position="absolute" top="15cm" left="10cm" >
> >>
> >> <fo:block span="all" >
> >
> > This only has meaning for regions with a column-count > 1 and I don't
> > believe it will help you here.
> >
> > <snip/>
> >
> > Chris
> >
> >


Jeremias Maerki


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



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


Re: Apache errors

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
What you want to do is currently not possible with FOP. FOP would need
to implement XSL 1.1 features like flow-map support and multiple
fo:region-body elements.

On 11.02.2008 14:01:25 Cristian Ferrero wrote:
> Chris, Jeremias  thank you bouth...but the only way to positioning a table 
> that expands in several pages is whith this kind of tips ? i mean inserting 
> a column after or adjusting page margins or something like that ? i 
> suppoused there was a qualifiers for tables that could position them keeping 
> all the properties as if we don't specify the position...my problem is that 
> bouth solutions could give me problems because i have to positionate two 
> tables (one beside another)...
> 
> page 1 :
> 
> table 1                                     table 2
> 
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
> 
> page 2 :
> 
> 
> table 1                                     table 2
> 
> xxxxxxxxxxx                        xxxxxxxxxxxx
> xxxxxxxxxxx                        xxxxxxxxxxxx
>                                            xxxxxxxxxxxx
>                                            xxxxxxxxxxxx
>                                            xxxxxxxxxxxx
> 
> 
>   thank you bouth i am very appreciatte of your help..sorry because my poor 
> knowledge..im trying to learn....
> 
> 
> 
> ----- Original Message ----- 
> From: "Chris Bowditch" <bo...@hotmail.com>
> To: <fo...@xmlgraphics.apache.org>
> Sent: Monday, February 11, 2008 8:55 AM
> Subject: Re: Apache errors
> 
> 
> > Cristian Ferrero wrote:
> >
> >> Jeremias  i did what you wrote, also i tried inserting a block with 
> >> span="all", but the problem is that the table don't show all the 
> >> information, it doesn't continue in other page, if i dont write 
> >> position="absolute" it works good (the table continues in another page), 
> >> but the table appears in the left side of the page automatically, not in 
> >> the possition i want...
> >
> > Absolutely positioned block containers are supposed to be limited to a 
> > single page. They do not flow like regular blocks. You could try using 
> > relative positioning. However, I think the block-container would start at 
> > the top left of the second page it flows onto.
> >
> > If you want a flowing table positioned at (x,y) on each page then you 
> > might need an alternative approach. Something like a fixed height header 
> > row (to achieve y) and an extra blank column at the left of the table.
> >
> >>
> >> fo:block-container position="absolute" top="15cm" left="10cm" >
> >>
> >> <fo:block span="all" >
> >
> > This only has meaning for regions with a column-count > 1 and I don't 
> > believe it will help you here.
> >
> > <snip/>
> >
> > Chris
> >
> >


Jeremias Maerki


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


Re: Apache errors

Posted by Cristian Ferrero <cr...@hotmail.com>.
Chris, Jeremias  thank you bouth...but the only way to positioning a table 
that expands in several pages is whith this kind of tips ? i mean inserting 
a column after or adjusting page margins or something like that ? i 
suppoused there was a qualifiers for tables that could position them keeping 
all the properties as if we don't specify the position...my problem is that 
bouth solutions could give me problems because i have to positionate two 
tables (one beside another)...

page 1 :

table 1                                     table 2

xxxxxxxxxxx                        xxxxxxxxxxxx
xxxxxxxxxxx                        xxxxxxxxxxxx
xxxxxxxxxxx                        xxxxxxxxxxxx
xxxxxxxxxxx                        xxxxxxxxxxxx

page 2 :


table 1                                     table 2

xxxxxxxxxxx                        xxxxxxxxxxxx
xxxxxxxxxxx                        xxxxxxxxxxxx
                                           xxxxxxxxxxxx
                                           xxxxxxxxxxxx
                                           xxxxxxxxxxxx


  thank you bouth i am very appreciatte of your help..sorry because my poor 
knowledge..im trying to learn....



----- Original Message ----- 
From: "Chris Bowditch" <bo...@hotmail.com>
To: <fo...@xmlgraphics.apache.org>
Sent: Monday, February 11, 2008 8:55 AM
Subject: Re: Apache errors


> Cristian Ferrero wrote:
>
>> Jeremias  i did what you wrote, also i tried inserting a block with 
>> span="all", but the problem is that the table don't show all the 
>> information, it doesn't continue in other page, if i dont write 
>> position="absolute" it works good (the table continues in another page), 
>> but the table appears in the left side of the page automatically, not in 
>> the possition i want...
>
> Absolutely positioned block containers are supposed to be limited to a 
> single page. They do not flow like regular blocks. You could try using 
> relative positioning. However, I think the block-container would start at 
> the top left of the second page it flows onto.
>
> If you want a flowing table positioned at (x,y) on each page then you 
> might need an alternative approach. Something like a fixed height header 
> row (to achieve y) and an extra blank column at the left of the table.
>
>>
>> fo:block-container position="absolute" top="15cm" left="10cm" >
>>
>> <fo:block span="all" >
>
> This only has meaning for regions with a column-count > 1 and I don't 
> believe it will help you here.
>
> <snip/>
>
> Chris
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
> 


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


Re: Apache errors

Posted by Chris Bowditch <bo...@hotmail.com>.
Cristian Ferrero wrote:

> Jeremias  i did what you wrote, also i tried inserting a block with 
> span="all", but the problem is that the table don't show all the 
> information, it doesn't continue in other page, if i dont write 
> position="absolute" it works good (the table continues in another page), 
> but the table appears in the left side of the page automatically, not in 
> the possition i want...

Absolutely positioned block containers are supposed to be limited to a 
single page. They do not flow like regular blocks. You could try using 
relative positioning. However, I think the block-container would start 
at the top left of the second page it flows onto.

If you want a flowing table positioned at (x,y) on each page then you 
might need an alternative approach. Something like a fixed height header 
row (to achieve y) and an extra blank column at the left of the table.

> 
> fo:block-container position="absolute" top="15cm" left="10cm" >
> 
> <fo:block span="all" >

This only has meaning for regions with a column-count > 1 and I don't 
believe it will help you here.

<snip/>

Chris



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


Re: Apache errors

Posted by Cristian Ferrero <cr...@hotmail.com>.
Jeremias  i did what you wrote, also i tried inserting a block with 
span="all", but the problem is that the table don't show all the 
information, it doesn't continue in other page, if i dont write 
position="absolute" it works good (the table continues in another page), but 
the table appears in the left side of the page automatically, not in the 
possition i want...

fo:block-container position="absolute" top="15cm" left="10cm" >

<fo:block span="all" >

<fo:table table-layout="fixed" width="100%">

................


thank you very much

----- Original Message ----- 
From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
To: <fo...@xmlgraphics.apache.org>
Sent: Monday, February 11, 2008 5:11 AM
Subject: Re: Apache errors


height="100%" on a block-container may not work correctly (absolute
values work fine, of course). I've noticed some strange behaviour there
but have never investigated, yet. Furthermore, height="100%" sets:
block-progression-dimension.minimum="100%"
block-progression-dimension.optimum="100%"
block-progression-dimension.maximum="100%"

Setting block-progression-dimension.maximum="auto" afterwards may not
have any affect at all. I'm not sure if the spec says anything what
happens in such a case. And how FOP reacts is a different question.

As if this isn't enough, there's still a restriction on block-container
that it doesn't evaluate a min/opt/max value for
block-progression-dimension. Only .optimum is used.

But if you want the block-container to automatically grow based on the
height of it's content, just leave height and
block-progression-dimension away which leaves the default ("auto").

HTH

On 08.02.2008 20:49:00 Cristian Ferrero wrote:
> Tks  Jeremias....the last for today ... i  fixed all my problems but the
> only that couldn't is to positionate a table in a fixed place, i mean i 
> did,
> but it didn't show all the rows, it doesn't expand... i did this (put the
> table inside a block-containert)
>
> <fo:block-container position="absolute"   top="15cm" left="10cm"
> height="100%" width="100%" block-progression-dimension.maximum="auto">
> <fo:table table-layout="fixed" width="100%">........
>
> is the last question for this week..is my promise !!!! (i couldn't pot the
> question because the mail server is giving me an error)
>
> thanks !!!!!
>
<snip/>



Jeremias Maerki


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



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


Re: Apache errors

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
height="100%" on a block-container may not work correctly (absolute
values work fine, of course). I've noticed some strange behaviour there
but have never investigated, yet. Furthermore, height="100%" sets:
block-progression-dimension.minimum="100%"
block-progression-dimension.optimum="100%"
block-progression-dimension.maximum="100%"

Setting block-progression-dimension.maximum="auto" afterwards may not
have any affect at all. I'm not sure if the spec says anything what
happens in such a case. And how FOP reacts is a different question.

As if this isn't enough, there's still a restriction on block-container
that it doesn't evaluate a min/opt/max value for
block-progression-dimension. Only .optimum is used.

But if you want the block-container to automatically grow based on the
height of it's content, just leave height and
block-progression-dimension away which leaves the default ("auto").

HTH

On 08.02.2008 20:49:00 Cristian Ferrero wrote:
> Tks  Jeremias....the last for today ... i  fixed all my problems but the 
> only that couldn't is to positionate a table in a fixed place, i mean i did, 
> but it didn't show all the rows, it doesn't expand... i did this (put the 
> table inside a block-containert)
> 
> <fo:block-container position="absolute"   top="15cm" left="10cm"
> height="100%" width="100%" block-progression-dimension.maximum="auto">
> <fo:table table-layout="fixed" width="100%">........
> 
> is the last question for this week..is my promise !!!! (i couldn't pot the 
> question because the mail server is giving me an error)
> 
> thanks !!!!!
> 
<snip/> 



Jeremias Maerki


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


Re: Apache errors

Posted by Cristian Ferrero <cr...@hotmail.com>.
Tks  Jeremias....the last for today ... i  fixed all my problems but the 
only that couldn't is to positionate a table in a fixed place, i mean i did, 
but it didn't show all the rows, it doesn't expand... i did this (put the 
table inside a block-containert)

<fo:block-container position="absolute"   top="15cm" left="10cm"
height="100%" width="100%" block-progression-dimension.maximum="auto">
<fo:table table-layout="fixed" width="100%">........

is the last question for this week..is my promise !!!! (i couldn't pot the 
question because the mail server is giving me an error)

thanks !!!!!





----- Original Message ----- 
From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
To: <fo...@xmlgraphics.apache.org>
Sent: Friday, February 08, 2008 9:56 AM
Subject: Re: Apache errors


On 08.02.2008 13:23:18 Cristian Ferrero wrote:
> Really thanks Mathias...i will follow your advice..... another 
> question...is
> there a way to configure another unit of measures for position (i mean
> centimetres for example)   instead of 0pt..like this example...
> width="49.0pt"

Sure, see here: http://www.w3.org/TR/xsl11/#d0e5752



Jeremias Maerki


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



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


Re: Apache errors

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
On 08.02.2008 13:23:18 Cristian Ferrero wrote:
> Really thanks Mathias...i will follow your advice..... another question...is 
> there a way to configure another unit of measures for position (i mean 
> centimetres for example)   instead of 0pt..like this example...
> width="49.0pt"

Sure, see here: http://www.w3.org/TR/xsl11/#d0e5752



Jeremias Maerki


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


Re: Apache errors

Posted by Cristian Ferrero <cr...@hotmail.com>.
Really thanks Mathias...i will follow your advice..... another question...is 
there a way to configure another unit of measures for position (i mean 
centimetres for example)   instead of 0pt..like this example...
width="49.0pt"



----- Original Message ----- 
From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
To: <fo...@xmlgraphics.apache.org>
Sent: Friday, February 08, 2008 4:41 AM
Subject: Re: Apache errors


Christian,
the problem, as far as I understand it, is that XSLFast still produces
XSL-FO optimized for FOP 0.20.5 (I think they still use that version
internally). And 0.20.5 was too lenient (i.e. contained bugs) in many
cases which hurts you now if you use a later version of FOP which is
more FO-compliant. The right way would be to talk to the XSLFast people
and get them to fix their stylesheet production. The alternative I gave
you earlier already is to enable relaxed validation which will let FOP
overlook the empty table elements. If that fixes all your problems, I
can't guarantee.

Just to be clear: We're not talking about writing "fop code", we're
talking about writing "correct XSL-FO". That's the duty of an XSL-FO
editor like XSLfast. If XSLfast doesn't do that, that's a bug in their
software because it doesn't respect the XSL-FO specification.

On 07.02.2007 20:26:59 Cristian Ferrero wrote:
> Thanks Jeremias....i fixed it but i still have FOP format problems like
> fo:table-body is missing child elements.....etc... the strange thing (is 
> how
> i told you ) that this xsl XSLFAST transforms in xsl-fo and then in pdf 
> with
> no problems...but that's not apache problem...in fact...where cab i have
> documentation of exactly code fop supported with apache..or better than
> that.,.,do you know something like XSLF that writes "real" apache - fop 
> code
> ?
> Thanks, i apreciate your help
>
>
> ----- Original Message ----- 
> From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
> To: <fo...@xmlgraphics.apache.org>
> Sent: Thursday, February 07, 2008 11:58 AM
> Subject: Re: Apache errors
>
>
> Your top-level template listens to "IMPFACT", but your XML contains
> "IMPFAC" as the top-level element. Because of that the template is never
> triggered and instead default templates provided by XSLT are being used
> and they just output the node content found. That's why the generated FO
> looks more like a text file than an XML file.
>
> On 07.02.2008 15:46:09 Cristian Ferrero wrote:
> > i follow your advice and transform my xsl in fop...it works but i don't
> > think that fo file appears to be a valid one, because it has no nodes,
> > when
> > i try to convert fo to pdf  error says
> >
> > org.xml.sax.SAXParseException: Content is not allowed in prolog
> >
> > i post my 3 files
> <snip/>
>
> Jeremias Maerki


Jeremias Maerki


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



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


Re: Apache errors

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Christian,
the problem, as far as I understand it, is that XSLFast still produces
XSL-FO optimized for FOP 0.20.5 (I think they still use that version
internally). And 0.20.5 was too lenient (i.e. contained bugs) in many
cases which hurts you now if you use a later version of FOP which is
more FO-compliant. The right way would be to talk to the XSLFast people
and get them to fix their stylesheet production. The alternative I gave
you earlier already is to enable relaxed validation which will let FOP
overlook the empty table elements. If that fixes all your problems, I
can't guarantee.

Just to be clear: We're not talking about writing "fop code", we're
talking about writing "correct XSL-FO". That's the duty of an XSL-FO
editor like XSLfast. If XSLfast doesn't do that, that's a bug in their
software because it doesn't respect the XSL-FO specification.

On 07.02.2007 20:26:59 Cristian Ferrero wrote:
> Thanks Jeremias....i fixed it but i still have FOP format problems like 
> fo:table-body is missing child elements.....etc... the strange thing (is how 
> i told you ) that this xsl XSLFAST transforms in xsl-fo and then in pdf with 
> no problems...but that's not apache problem...in fact...where cab i have 
> documentation of exactly code fop supported with apache..or better than 
> that.,.,do you know something like XSLF that writes "real" apache - fop code 
> ?
> Thanks, i apreciate your help
> 
> 
> ----- Original Message ----- 
> From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
> To: <fo...@xmlgraphics.apache.org>
> Sent: Thursday, February 07, 2008 11:58 AM
> Subject: Re: Apache errors
> 
> 
> Your top-level template listens to "IMPFACT", but your XML contains
> "IMPFAC" as the top-level element. Because of that the template is never
> triggered and instead default templates provided by XSLT are being used
> and they just output the node content found. That's why the generated FO
> looks more like a text file than an XML file.
> 
> On 07.02.2008 15:46:09 Cristian Ferrero wrote:
> > i follow your advice and transform my xsl in fop...it works but i don't
> > think that fo file appears to be a valid one, because it has no nodes, 
> > when
> > i try to convert fo to pdf  error says
> >
> > org.xml.sax.SAXParseException: Content is not allowed in prolog
> >
> > i post my 3 files
> <snip/>
> 
> Jeremias Maerki


Jeremias Maerki


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


Re: Apache errors

Posted by Cristian Ferrero <cr...@hotmail.com>.
Thanks Jeremias....i fixed it but i still have FOP format problems like 
fo:table-body is missing child elements.....etc... the strange thing (is how 
i told you ) that this xsl XSLFAST transforms in xsl-fo and then in pdf with 
no problems...but that's not apache problem...in fact...where cab i have 
documentation of exactly code fop supported with apache..or better than 
that.,.,do you know something like XSLF that writes "real" apache - fop code 
?
Thanks, i apreciate your help


----- Original Message ----- 
From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
To: <fo...@xmlgraphics.apache.org>
Sent: Thursday, February 07, 2008 11:58 AM
Subject: Re: Apache errors


Your top-level template listens to "IMPFACT", but your XML contains
"IMPFAC" as the top-level element. Because of that the template is never
triggered and instead default templates provided by XSLT are being used
and they just output the node content found. That's why the generated FO
looks more like a text file than an XML file.

On 07.02.2008 15:46:09 Cristian Ferrero wrote:
> i follow your advice and transform my xsl in fop...it works but i don't
> think that fo file appears to be a valid one, because it has no nodes, 
> when
> i try to convert fo to pdf  error says
>
> org.xml.sax.SAXParseException: Content is not allowed in prolog
>
> i post my 3 files
<snip/>

Jeremias Maerki


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



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


Re: Apache errors

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Your top-level template listens to "IMPFACT", but your XML contains
"IMPFAC" as the top-level element. Because of that the template is never
triggered and instead default templates provided by XSLT are being used
and they just output the node content found. That's why the generated FO
looks more like a text file than an XML file.

On 07.02.2008 15:46:09 Cristian Ferrero wrote:
> i follow your advice and transform my xsl in fop...it works but i don't 
> think that fo file appears to be a valid one, because it has no nodes, when 
> i try to convert fo to pdf  error says
> 
> org.xml.sax.SAXParseException: Content is not allowed in prolog
> 
> i post my 3 files
<snip/>

Jeremias Maerki


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


RE: FOP 0.93 Euro symbol not displayed

Posted by "Bennen, Jan A." <ja...@seneca.nl>.
Ok, it worked. MS Sans Serif was also ok.
I am using Saxon to create the fo file and I replaced the euro symbol with fo:wrapper font-family="Symbol">&#x20AC;</fo:wrapper> via the xslt sheet.
That did the job.

Thanks!
 

Met vriendelijke groet, 
Jan Bennen
Support Engineer 
Seneca Helpdesk

Elektronicaweg 31 
2628 XG  Delft,  Nederland 
T   +31 (0)15 - 251 37 77 
F   +31 (0)15 - 251 37 01 
E   support@seneca.nl 
I    www.seneca.nl 
Op dit mailbericht is onze disclaimer van kracht.  


-----Original Message-----
From: Jeremias Maerki [mailto:dev@jeremias-maerki.ch] 
Sent: vrijdag 8 februari 2008 15:24
To: fop-users@xmlgraphics.apache.org
Subject: Re: FOP 0.93 Euro symbol not displayed

Not "MS Sans Serif", "sans-serif" which maps to the built-in base 14
"Helvetica" font. You can also use "Helvetica", of course.

On 08.02.2008 15:14:08 Bennen, Jan A. wrote:
> Which font does have a Euro glyph? MS Sans Serif seems not to have it. Or should I use another code for the eurosign?
> 
> Met vriendelijke groet, 
> Jan Bennen
> Support Engineer 
> Seneca Helpdesk
> 
> Elektronicaweg 31 
> 2628 XG  Delft,  Nederland 
> T   +31 (0)15 - 251 37 77 
> F   +31 (0)15 - 251 37 01 
> E   support@seneca.nl 
> I    www.seneca.nl 
> Op dit mailbericht is onze disclaimer van kracht.  
> 
> 
> 
> -----Original Message-----
> From: Jeremias Maerki [mailto:dev@jeremias-maerki.ch] 
> Sent: vrijdag 8 februari 2008 14:12
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: FOP 0.93 Euro symbol not displayed
> 
> 
> On 08.02.2008 14:04:54 Bennen, Jan A. wrote:
> > Ok, this worked: the symbol appears, but across the 0 of the following syllable. Is there a way to add some space between them?
> 
> That's weird. I went looking and found out that the Euro character is
> missing a character width. I'll have to fix that. In that case, just use
> sans-serif instead of Symbol.
> 
> > And is there an easy way to add 
> > <fo:wrapper font-family="Symbol">&#x20AC;</fo:wrapper>
> > to the fo file? My customer does not want to edit the fo file. 
> 
> Two possible solutions:
> - Use a font that has a Euro glyph.
> - Help us implement per-character font-selection which is still missing.
> When that's available you can simply do:
> font-family="MyFont, MyOtherFont, Symbol, ZapfDingbats"
> 
> <snip/>
> 
> 
> 
> Jeremias Maerki


Jeremias Maerki


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


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


Re: FOP 0.93 Euro symbol not displayed

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Not "MS Sans Serif", "sans-serif" which maps to the built-in base 14
"Helvetica" font. You can also use "Helvetica", of course.

On 08.02.2008 15:14:08 Bennen, Jan A. wrote:
> Which font does have a Euro glyph? MS Sans Serif seems not to have it. Or should I use another code for the eurosign?
> 
> Met vriendelijke groet, 
> Jan Bennen
> Support Engineer 
> Seneca Helpdesk
> 
> Elektronicaweg 31 
> 2628 XG  Delft,  Nederland 
> T   +31 (0)15 - 251 37 77 
> F   +31 (0)15 - 251 37 01 
> E   support@seneca.nl 
> I    www.seneca.nl 
> Op dit mailbericht is onze disclaimer van kracht.  
> 
> 
> 
> -----Original Message-----
> From: Jeremias Maerki [mailto:dev@jeremias-maerki.ch] 
> Sent: vrijdag 8 februari 2008 14:12
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: FOP 0.93 Euro symbol not displayed
> 
> 
> On 08.02.2008 14:04:54 Bennen, Jan A. wrote:
> > Ok, this worked: the symbol appears, but across the 0 of the following syllable. Is there a way to add some space between them?
> 
> That's weird. I went looking and found out that the Euro character is
> missing a character width. I'll have to fix that. In that case, just use
> sans-serif instead of Symbol.
> 
> > And is there an easy way to add 
> > <fo:wrapper font-family="Symbol">&#x20AC;</fo:wrapper>
> > to the fo file? My customer does not want to edit the fo file. 
> 
> Two possible solutions:
> - Use a font that has a Euro glyph.
> - Help us implement per-character font-selection which is still missing.
> When that's available you can simply do:
> font-family="MyFont, MyOtherFont, Symbol, ZapfDingbats"
> 
> <snip/>
> 
> 
> 
> Jeremias Maerki


Jeremias Maerki


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


RE: FOP 0.93 Euro symbol not displayed

Posted by "Bennen, Jan A." <ja...@seneca.nl>.
Which font does have a Euro glyph? MS Sans Serif seems not to have it. Or should I use another code for the eurosign?

Met vriendelijke groet, 
Jan Bennen
Support Engineer 
Seneca Helpdesk

Elektronicaweg 31 
2628 XG  Delft,  Nederland 
T   +31 (0)15 - 251 37 77 
F   +31 (0)15 - 251 37 01 
E   support@seneca.nl 
I    www.seneca.nl 
Op dit mailbericht is onze disclaimer van kracht.  



-----Original Message-----
From: Jeremias Maerki [mailto:dev@jeremias-maerki.ch] 
Sent: vrijdag 8 februari 2008 14:12
To: fop-users@xmlgraphics.apache.org
Subject: Re: FOP 0.93 Euro symbol not displayed


On 08.02.2008 14:04:54 Bennen, Jan A. wrote:
> Ok, this worked: the symbol appears, but across the 0 of the following syllable. Is there a way to add some space between them?

That's weird. I went looking and found out that the Euro character is
missing a character width. I'll have to fix that. In that case, just use
sans-serif instead of Symbol.

> And is there an easy way to add 
> <fo:wrapper font-family="Symbol">&#x20AC;</fo:wrapper>
> to the fo file? My customer does not want to edit the fo file. 

Two possible solutions:
- Use a font that has a Euro glyph.
- Help us implement per-character font-selection which is still missing.
When that's available you can simply do:
font-family="MyFont, MyOtherFont, Symbol, ZapfDingbats"

<snip/>



Jeremias Maerki


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


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


Re: FOP 0.93 Euro symbol not displayed

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
On 08.02.2008 14:04:54 Bennen, Jan A. wrote:
> Ok, this worked: the symbol appears, but across the 0 of the following syllable. Is there a way to add some space between them?

That's weird. I went looking and found out that the Euro character is
missing a character width. I'll have to fix that. In that case, just use
sans-serif instead of Symbol.

> And is there an easy way to add 
> <fo:wrapper font-family="Symbol">&#x20AC;</fo:wrapper>
> to the fo file? My customer does not want to edit the fo file. 

Two possible solutions:
- Use a font that has a Euro glyph.
- Help us implement per-character font-selection which is still missing.
When that's available you can simply do:
font-family="MyFont, MyOtherFont, Symbol, ZapfDingbats"

<snip/>



Jeremias Maerki


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


RE: FOP 0.93 Euro symbol not displayed

Posted by "Bennen, Jan A." <ja...@seneca.nl>.
Ok, this worked: the symbol appears, but across the 0 of the following syllable. Is there a way to add some space between them?
And is there an easy way to add 
<fo:wrapper font-family="Symbol">&#x20AC;</fo:wrapper>
to the fo file? My customer does not want to edit the fo file. 

Regards
Jan Bennen
Support Engineer 
Seneca Helpdesk

Elektronicaweg 31 
2628 XG  Delft,  Nederland 
T   +31 (0)15 - 251 37 77 
F   +31 (0)15 - 251 37 01 
E   support@seneca.nl 
I    www.seneca.nl 
Op dit mailbericht is onze disclaimer van kracht.  



-----Original Message-----
From: Jeremias Maerki [mailto:dev@jeremias-maerki.ch] 
Sent: vrijdag 8 februari 2008 12:10
To: fop-users@xmlgraphics.apache.org
Subject: Re: FOP 0.93 Euro symbol not displayed

Ok, Jan sent me the file off-list.

"(&#x20AC; 0,50 per min.)" doesn't work if the font you're using doesn't
have the Euro character. That's why you have to explicitely switch to
the "Symbol" (or sans-serif) font (as I have shown in my earlier example):

( <fo:wrapper font-family="Symbol">&#x20AC;</fo:wrapper> 0,50 per min.)

On 08.02.2008 11:47:22 Jeremias Maerki wrote:
> You didn't answer some of my questions. You can send me your FO and the
> PDF you generated from it to my mail address and I'll try to find out
> what's wrong.
> 
> On 08.02.2008 10:43:41 Bennen, Jan A. wrote:
> > I am using Adobe Reader 8 and I am using &#x20AC as symbol.
> > 
> > Met vriendelijke groet, 
> > Jan Bennen
> > Support Engineer 
> > Seneca Helpdesk
> > 
> > Elektronicaweg 31 
> > 2628 XG  Delft,  Nederland 
> > T   +31 (0)15 - 251 37 77 
> > F   +31 (0)15 - 251 37 01 
> > E   support@seneca.nl 
> > I    www.seneca.nl 
> > Op dit mailbericht is onze disclaimer van kracht.  
> > 
> > 
> > 
> > -----Original Message-----
> > From: Jeremias Maerki [mailto:dev@jeremias-maerki.ch] 
> > Sent: vrijdag 8 februari 2008 10:39
> > To: fop-users@xmlgraphics.apache.org
> > Subject: Re: FOP 0.93 Euro symbol not displayed
> > 
> > Hmm, <fo:wrapper font-family="Symbol">&#x20AC;</fo:wrapper> works fine
> > for me to get the Euro character.
> > 
> > What PDF viewer are you using? I checked Acrobat and GhostView.
> > 
> > On 08.02.2008 10:18:01 Bennen, Jan A. wrote:
> > > Thank you for your answer.
> > > I know that the Euro symbol is in the Symbol font. But where can I find this? 
> > 
> > http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/codegen/fonts/encodings.xml?view=markup
> > 
> > generated into CodePointMapping.java in build/gensrc/.... by our build.
> > 
> > > This font is one of the base14 fonts which are simply available in FOP.
> > > So why is the Euro symbol still not displayed correctly?
> > 
> > Either you try to replace the default Symbol font (see below) or the PDF
> > viewer you use does not have a glyph for the Euro character in the
> > Symbol font it uses.
> > 
> > > I read in the documentation that I have to manually change the XML font
> > > metrics file and specify "SymbolEncoding" encoding as the value for the
> > > "encoding" element. But where can I find this file?
> > 
> > Are you trying to replace the base14 font in your font configuration
> > perhaps? It's currently still problematic to replace the base14 Symbol
> > font.
> > 
> > 
> > > Regards,
> > > Jan Bennen
> > > Support Engineer 
> > > Seneca Helpdesk
> > > 
> > > Elektronicaweg 31 
> > > 2628 XG  Delft,  Nederland 
> > > T   +31 (0)15 - 251 37 77 
> > > F   +31 (0)15 - 251 37 01 
> > > E   support@seneca.nl 
> > > I    www.seneca.nl 
> > > Op dit mailbericht is onze disclaimer van kracht.  
> > > 
> > > 
> > > -----Original Message-----
> > > From: Tommy Nordgren [mailto:tommy.nordgren@comhem.se] 
> > > Sent: donderdag 7 februari 2008 16:08
> > > To: fop-users@xmlgraphics.apache.org
> > > Subject: Re: FOP 0.93 Euro symbol not displayed
> > > 
> > > 
> > > On 7 feb 2008, at 16.00, Bennen, Jan A. wrote:
> > > 
> > > > Hello,
> > > > I am new to Fop.
> > > >
> > > > For one of our customers we are using FOP 0.93 to create PDF files.
> > > >
> > > > The Euro symbol is not displayed correctly in the pdf file (a  
> > > > rectangle is shown).
> > > >
> > > > I changed in the FO file the symbol to &#x20AC; as is suggested in  
> > > > your basic help, but nothing changes.
> > > >
> > > > Is there a solution for this problem?
> > > >
> > > > Kind regards,
> > > >
> > > > Jan Bennen
> > > > Support Engineer
> > > > Seneca Helpdesk
> > > >
> > > > Elektronicaweg 31
> > > > 2628 XG  Delft,  Nederland
> > > > T   +31 (0)15 - 251 37 77
> > > > F   +31 (0)15 - 251 37 01
> > > > E   support@seneca.nl
> > > > I    www.seneca.nl
> > > > Op dit mailbericht is onze disclaimer van kracht.
> > > >
> > > >
> > > >
> > > 	You need to render the document with a font THAT ACTUALLY CONTAINS  
> > > the euro symbol.
> > > The rectangles are used to display characters that are missing in the  
> > > current font.
> > > -----------------------------------
> > > See the amazing new SF reel: Invasion of the man eating cucumbers from  
> > > outer space.
> > > On congratulations for a fantastic parody, the producer replies :  
> > > "What parody?"
> > > 
> > > Tommy Nordgren
> > > tommy.nordgren@comhem.se
> > > 
> > > 



Jeremias Maerki


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


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


Re: FOP 0.93 Euro symbol not displayed

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Ok, Jan sent me the file off-list.

"(&#x20AC; 0,50 per min.)" doesn't work if the font you're using doesn't
have the Euro character. That's why you have to explicitely switch to
the "Symbol" (or sans-serif) font (as I have shown in my earlier example):

(<fo:wrapper font-family="Symbol">&#x20AC;</fo:wrapper> 0,50 per min.)

On 08.02.2008 11:47:22 Jeremias Maerki wrote:
> You didn't answer some of my questions. You can send me your FO and the
> PDF you generated from it to my mail address and I'll try to find out
> what's wrong.
> 
> On 08.02.2008 10:43:41 Bennen, Jan A. wrote:
> > I am using Adobe Reader 8 and I am using &#x20AC as symbol.
> > 
> > Met vriendelijke groet, 
> > Jan Bennen
> > Support Engineer 
> > Seneca Helpdesk
> > 
> > Elektronicaweg 31 
> > 2628 XG  Delft,  Nederland 
> > T   +31 (0)15 - 251 37 77 
> > F   +31 (0)15 - 251 37 01 
> > E   support@seneca.nl 
> > I    www.seneca.nl 
> > Op dit mailbericht is onze disclaimer van kracht.  
> > 
> > 
> > 
> > -----Original Message-----
> > From: Jeremias Maerki [mailto:dev@jeremias-maerki.ch] 
> > Sent: vrijdag 8 februari 2008 10:39
> > To: fop-users@xmlgraphics.apache.org
> > Subject: Re: FOP 0.93 Euro symbol not displayed
> > 
> > Hmm, <fo:wrapper font-family="Symbol">&#x20AC;</fo:wrapper> works fine
> > for me to get the Euro character.
> > 
> > What PDF viewer are you using? I checked Acrobat and GhostView.
> > 
> > On 08.02.2008 10:18:01 Bennen, Jan A. wrote:
> > > Thank you for your answer.
> > > I know that the Euro symbol is in the Symbol font. But where can I find this? 
> > 
> > http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/codegen/fonts/encodings.xml?view=markup
> > 
> > generated into CodePointMapping.java in build/gensrc/.... by our build.
> > 
> > > This font is one of the base14 fonts which are simply available in FOP.
> > > So why is the Euro symbol still not displayed correctly?
> > 
> > Either you try to replace the default Symbol font (see below) or the PDF
> > viewer you use does not have a glyph for the Euro character in the
> > Symbol font it uses.
> > 
> > > I read in the documentation that I have to manually change the XML font
> > > metrics file and specify "SymbolEncoding" encoding as the value for the
> > > "encoding" element. But where can I find this file?
> > 
> > Are you trying to replace the base14 font in your font configuration
> > perhaps? It's currently still problematic to replace the base14 Symbol
> > font.
> > 
> > 
> > > Regards,
> > > Jan Bennen
> > > Support Engineer 
> > > Seneca Helpdesk
> > > 
> > > Elektronicaweg 31 
> > > 2628 XG  Delft,  Nederland 
> > > T   +31 (0)15 - 251 37 77 
> > > F   +31 (0)15 - 251 37 01 
> > > E   support@seneca.nl 
> > > I    www.seneca.nl 
> > > Op dit mailbericht is onze disclaimer van kracht.  
> > > 
> > > 
> > > -----Original Message-----
> > > From: Tommy Nordgren [mailto:tommy.nordgren@comhem.se] 
> > > Sent: donderdag 7 februari 2008 16:08
> > > To: fop-users@xmlgraphics.apache.org
> > > Subject: Re: FOP 0.93 Euro symbol not displayed
> > > 
> > > 
> > > On 7 feb 2008, at 16.00, Bennen, Jan A. wrote:
> > > 
> > > > Hello,
> > > > I am new to Fop.
> > > >
> > > > For one of our customers we are using FOP 0.93 to create PDF files.
> > > >
> > > > The Euro symbol is not displayed correctly in the pdf file (a  
> > > > rectangle is shown).
> > > >
> > > > I changed in the FO file the symbol to &#x20AC; as is suggested in  
> > > > your basic help, but nothing changes.
> > > >
> > > > Is there a solution for this problem?
> > > >
> > > > Kind regards,
> > > >
> > > > Jan Bennen
> > > > Support Engineer
> > > > Seneca Helpdesk
> > > >
> > > > Elektronicaweg 31
> > > > 2628 XG  Delft,  Nederland
> > > > T   +31 (0)15 - 251 37 77
> > > > F   +31 (0)15 - 251 37 01
> > > > E   support@seneca.nl
> > > > I    www.seneca.nl
> > > > Op dit mailbericht is onze disclaimer van kracht.
> > > >
> > > >
> > > >
> > > 	You need to render the document with a font THAT ACTUALLY CONTAINS  
> > > the euro symbol.
> > > The rectangles are used to display characters that are missing in the  
> > > current font.
> > > -----------------------------------
> > > See the amazing new SF reel: Invasion of the man eating cucumbers from  
> > > outer space.
> > > On congratulations for a fantastic parody, the producer replies :  
> > > "What parody?"
> > > 
> > > Tommy Nordgren
> > > tommy.nordgren@comhem.se
> > > 
> > > 



Jeremias Maerki


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


Re: FOP 0.93 Euro symbol not displayed

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
You didn't answer some of my questions. You can send me your FO and the
PDF you generated from it to my mail address and I'll try to find out
what's wrong.

On 08.02.2008 10:43:41 Bennen, Jan A. wrote:
> I am using Adobe Reader 8 and I am using &#x20AC as symbol.
> 
> Met vriendelijke groet, 
> Jan Bennen
> Support Engineer 
> Seneca Helpdesk
> 
> Elektronicaweg 31 
> 2628 XG  Delft,  Nederland 
> T   +31 (0)15 - 251 37 77 
> F   +31 (0)15 - 251 37 01 
> E   support@seneca.nl 
> I    www.seneca.nl 
> Op dit mailbericht is onze disclaimer van kracht.  
> 
> 
> 
> -----Original Message-----
> From: Jeremias Maerki [mailto:dev@jeremias-maerki.ch] 
> Sent: vrijdag 8 februari 2008 10:39
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: FOP 0.93 Euro symbol not displayed
> 
> Hmm, <fo:wrapper font-family="Symbol">&#x20AC;</fo:wrapper> works fine
> for me to get the Euro character.
> 
> What PDF viewer are you using? I checked Acrobat and GhostView.
> 
> On 08.02.2008 10:18:01 Bennen, Jan A. wrote:
> > Thank you for your answer.
> > I know that the Euro symbol is in the Symbol font. But where can I find this? 
> 
> http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/codegen/fonts/encodings.xml?view=markup
> 
> generated into CodePointMapping.java in build/gensrc/.... by our build.
> 
> > This font is one of the base14 fonts which are simply available in FOP.
> > So why is the Euro symbol still not displayed correctly?
> 
> Either you try to replace the default Symbol font (see below) or the PDF
> viewer you use does not have a glyph for the Euro character in the
> Symbol font it uses.
> 
> > I read in the documentation that I have to manually change the XML font
> > metrics file and specify "SymbolEncoding" encoding as the value for the
> > "encoding" element. But where can I find this file?
> 
> Are you trying to replace the base14 font in your font configuration
> perhaps? It's currently still problematic to replace the base14 Symbol
> font.
> 
> 
> > Regards,
> > Jan Bennen
> > Support Engineer 
> > Seneca Helpdesk
> > 
> > Elektronicaweg 31 
> > 2628 XG  Delft,  Nederland 
> > T   +31 (0)15 - 251 37 77 
> > F   +31 (0)15 - 251 37 01 
> > E   support@seneca.nl 
> > I    www.seneca.nl 
> > Op dit mailbericht is onze disclaimer van kracht.  
> > 
> > 
> > -----Original Message-----
> > From: Tommy Nordgren [mailto:tommy.nordgren@comhem.se] 
> > Sent: donderdag 7 februari 2008 16:08
> > To: fop-users@xmlgraphics.apache.org
> > Subject: Re: FOP 0.93 Euro symbol not displayed
> > 
> > 
> > On 7 feb 2008, at 16.00, Bennen, Jan A. wrote:
> > 
> > > Hello,
> > > I am new to Fop.
> > >
> > > For one of our customers we are using FOP 0.93 to create PDF files.
> > >
> > > The Euro symbol is not displayed correctly in the pdf file (a  
> > > rectangle is shown).
> > >
> > > I changed in the FO file the symbol to &#x20AC; as is suggested in  
> > > your basic help, but nothing changes.
> > >
> > > Is there a solution for this problem?
> > >
> > > Kind regards,
> > >
> > > Jan Bennen
> > > Support Engineer
> > > Seneca Helpdesk
> > >
> > > Elektronicaweg 31
> > > 2628 XG  Delft,  Nederland
> > > T   +31 (0)15 - 251 37 77
> > > F   +31 (0)15 - 251 37 01
> > > E   support@seneca.nl
> > > I    www.seneca.nl
> > > Op dit mailbericht is onze disclaimer van kracht.
> > >
> > >
> > >
> > 	You need to render the document with a font THAT ACTUALLY CONTAINS  
> > the euro symbol.
> > The rectangles are used to display characters that are missing in the  
> > current font.
> > -----------------------------------
> > See the amazing new SF reel: Invasion of the man eating cucumbers from  
> > outer space.
> > On congratulations for a fantastic parody, the producer replies :  
> > "What parody?"
> > 
> > Tommy Nordgren
> > tommy.nordgren@comhem.se
> > 
> > 
> 
> 
> 
> Jeremias Maerki
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 




Jeremias Maerki


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


RE: FOP 0.93 Euro symbol not displayed

Posted by "Bennen, Jan A." <ja...@seneca.nl>.
I am using Adobe Reader 8 and I am using &#x20AC as symbol.

Met vriendelijke groet, 
Jan Bennen
Support Engineer 
Seneca Helpdesk

Elektronicaweg 31 
2628 XG  Delft,  Nederland 
T   +31 (0)15 - 251 37 77 
F   +31 (0)15 - 251 37 01 
E   support@seneca.nl 
I    www.seneca.nl 
Op dit mailbericht is onze disclaimer van kracht.  



-----Original Message-----
From: Jeremias Maerki [mailto:dev@jeremias-maerki.ch] 
Sent: vrijdag 8 februari 2008 10:39
To: fop-users@xmlgraphics.apache.org
Subject: Re: FOP 0.93 Euro symbol not displayed

Hmm, <fo:wrapper font-family="Symbol">&#x20AC;</fo:wrapper> works fine
for me to get the Euro character.

What PDF viewer are you using? I checked Acrobat and GhostView.

On 08.02.2008 10:18:01 Bennen, Jan A. wrote:
> Thank you for your answer.
> I know that the Euro symbol is in the Symbol font. But where can I find this? 

http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/codegen/fonts/encodings.xml?view=markup

generated into CodePointMapping.java in build/gensrc/.... by our build.

> This font is one of the base14 fonts which are simply available in FOP.
> So why is the Euro symbol still not displayed correctly?

Either you try to replace the default Symbol font (see below) or the PDF
viewer you use does not have a glyph for the Euro character in the
Symbol font it uses.

> I read in the documentation that I have to manually change the XML font
> metrics file and specify "SymbolEncoding" encoding as the value for the
> "encoding" element. But where can I find this file?

Are you trying to replace the base14 font in your font configuration
perhaps? It's currently still problematic to replace the base14 Symbol
font.


> Regards,
> Jan Bennen
> Support Engineer 
> Seneca Helpdesk
> 
> Elektronicaweg 31 
> 2628 XG  Delft,  Nederland 
> T   +31 (0)15 - 251 37 77 
> F   +31 (0)15 - 251 37 01 
> E   support@seneca.nl 
> I    www.seneca.nl 
> Op dit mailbericht is onze disclaimer van kracht.  
> 
> 
> -----Original Message-----
> From: Tommy Nordgren [mailto:tommy.nordgren@comhem.se] 
> Sent: donderdag 7 februari 2008 16:08
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: FOP 0.93 Euro symbol not displayed
> 
> 
> On 7 feb 2008, at 16.00, Bennen, Jan A. wrote:
> 
> > Hello,
> > I am new to Fop.
> >
> > For one of our customers we are using FOP 0.93 to create PDF files.
> >
> > The Euro symbol is not displayed correctly in the pdf file (a  
> > rectangle is shown).
> >
> > I changed in the FO file the symbol to &#x20AC; as is suggested in  
> > your basic help, but nothing changes.
> >
> > Is there a solution for this problem?
> >
> > Kind regards,
> >
> > Jan Bennen
> > Support Engineer
> > Seneca Helpdesk
> >
> > Elektronicaweg 31
> > 2628 XG  Delft,  Nederland
> > T   +31 (0)15 - 251 37 77
> > F   +31 (0)15 - 251 37 01
> > E   support@seneca.nl
> > I    www.seneca.nl
> > Op dit mailbericht is onze disclaimer van kracht.
> >
> >
> >
> 	You need to render the document with a font THAT ACTUALLY CONTAINS  
> the euro symbol.
> The rectangles are used to display characters that are missing in the  
> current font.
> -----------------------------------
> See the amazing new SF reel: Invasion of the man eating cucumbers from  
> outer space.
> On congratulations for a fantastic parody, the producer replies :  
> "What parody?"
> 
> Tommy Nordgren
> tommy.nordgren@comhem.se
> 
> 



Jeremias Maerki


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


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


Re: FOP 0.93 Euro symbol not displayed

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Hmm, <fo:wrapper font-family="Symbol">&#x20AC;</fo:wrapper> works fine
for me to get the Euro character.

What PDF viewer are you using? I checked Acrobat and GhostView.

On 08.02.2008 10:18:01 Bennen, Jan A. wrote:
> Thank you for your answer.
> I know that the Euro symbol is in the Symbol font. But where can I find this? 

http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/codegen/fonts/encodings.xml?view=markup

generated into CodePointMapping.java in build/gensrc/.... by our build.

> This font is one of the base14 fonts which are simply available in FOP.
> So why is the Euro symbol still not displayed correctly?

Either you try to replace the default Symbol font (see below) or the PDF
viewer you use does not have a glyph for the Euro character in the
Symbol font it uses.

> I read in the documentation that I have to manually change the XML font
> metrics file and specify "SymbolEncoding" encoding as the value for the
> "encoding" element. But where can I find this file?

Are you trying to replace the base14 font in your font configuration
perhaps? It's currently still problematic to replace the base14 Symbol
font.


> Regards,
> Jan Bennen
> Support Engineer 
> Seneca Helpdesk
> 
> Elektronicaweg 31 
> 2628 XG  Delft,  Nederland 
> T   +31 (0)15 - 251 37 77 
> F   +31 (0)15 - 251 37 01 
> E   support@seneca.nl 
> I    www.seneca.nl 
> Op dit mailbericht is onze disclaimer van kracht.  
> 
> 
> -----Original Message-----
> From: Tommy Nordgren [mailto:tommy.nordgren@comhem.se] 
> Sent: donderdag 7 februari 2008 16:08
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: FOP 0.93 Euro symbol not displayed
> 
> 
> On 7 feb 2008, at 16.00, Bennen, Jan A. wrote:
> 
> > Hello,
> > I am new to Fop.
> >
> > For one of our customers we are using FOP 0.93 to create PDF files.
> >
> > The Euro symbol is not displayed correctly in the pdf file (a  
> > rectangle is shown).
> >
> > I changed in the FO file the symbol to &#x20AC; as is suggested in  
> > your basic help, but nothing changes.
> >
> > Is there a solution for this problem?
> >
> > Kind regards,
> >
> > Jan Bennen
> > Support Engineer
> > Seneca Helpdesk
> >
> > Elektronicaweg 31
> > 2628 XG  Delft,  Nederland
> > T   +31 (0)15 - 251 37 77
> > F   +31 (0)15 - 251 37 01
> > E   support@seneca.nl
> > I    www.seneca.nl
> > Op dit mailbericht is onze disclaimer van kracht.
> >
> >
> >
> 	You need to render the document with a font THAT ACTUALLY CONTAINS  
> the euro symbol.
> The rectangles are used to display characters that are missing in the  
> current font.
> -----------------------------------
> See the amazing new SF reel: Invasion of the man eating cucumbers from  
> outer space.
> On congratulations for a fantastic parody, the producer replies :  
> "What parody?"
> 
> Tommy Nordgren
> tommy.nordgren@comhem.se
> 
> 



Jeremias Maerki


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


RE: FOP 0.93 Euro symbol not displayed

Posted by "Bennen, Jan A." <ja...@seneca.nl>.
Thank you for your answer.
I know that the Euro symbol is in the Symbol font. But where can I find this? 
This font is one of the base14 fonts which are simply available in FOP. So why is the Euro symbol still not displayed correctly?
I read in the documentation that I have to manually change the XML font metrics file and specify "SymbolEncoding" encoding as the value for the "encoding" element. But where can I find this file?

Regards,
Jan Bennen
Support Engineer 
Seneca Helpdesk

Elektronicaweg 31 
2628 XG  Delft,  Nederland 
T   +31 (0)15 - 251 37 77 
F   +31 (0)15 - 251 37 01 
E   support@seneca.nl 
I    www.seneca.nl 
Op dit mailbericht is onze disclaimer van kracht.  


-----Original Message-----
From: Tommy Nordgren [mailto:tommy.nordgren@comhem.se] 
Sent: donderdag 7 februari 2008 16:08
To: fop-users@xmlgraphics.apache.org
Subject: Re: FOP 0.93 Euro symbol not displayed


On 7 feb 2008, at 16.00, Bennen, Jan A. wrote:

> Hello,
> I am new to Fop.
>
> For one of our customers we are using FOP 0.93 to create PDF files.
>
> The Euro symbol is not displayed correctly in the pdf file (a  
> rectangle is shown).
>
> I changed in the FO file the symbol to &#x20AC; as is suggested in  
> your basic help, but nothing changes.
>
> Is there a solution for this problem?
>
> Kind regards,
>
> Jan Bennen
> Support Engineer
> Seneca Helpdesk
>
> Elektronicaweg 31
> 2628 XG  Delft,  Nederland
> T   +31 (0)15 - 251 37 77
> F   +31 (0)15 - 251 37 01
> E   support@seneca.nl
> I    www.seneca.nl
> Op dit mailbericht is onze disclaimer van kracht.
>
>
>
	You need to render the document with a font THAT ACTUALLY CONTAINS  
the euro symbol.
The rectangles are used to display characters that are missing in the  
current font.
-----------------------------------
See the amazing new SF reel: Invasion of the man eating cucumbers from  
outer space.
On congratulations for a fantastic parody, the producer replies :  
"What parody?"

Tommy Nordgren
tommy.nordgren@comhem.se




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


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


Re: FOP 0.93 Euro symbol not displayed

Posted by Tommy Nordgren <to...@comhem.se>.
On 7 feb 2008, at 16.00, Bennen, Jan A. wrote:

> Hello,
> I am new to Fop.
>
> For one of our customers we are using FOP 0.93 to create PDF files.
>
> The Euro symbol is not displayed correctly in the pdf file (a  
> rectangle is shown).
>
> I changed in the FO file the symbol to &#x20AC; as is suggested in  
> your basic help, but nothing changes.
>
> Is there a solution for this problem?
>
> Kind regards,
>
> Jan Bennen
> Support Engineer
> Seneca Helpdesk
>
> Elektronicaweg 31
> 2628 XG  Delft,  Nederland
> T   +31 (0)15 - 251 37 77
> F   +31 (0)15 - 251 37 01
> E   support@seneca.nl
> I    www.seneca.nl
> Op dit mailbericht is onze disclaimer van kracht.
>
>
>
	You need to render the document with a font THAT ACTUALLY CONTAINS  
the euro symbol.
The rectangles are used to display characters that are missing in the  
current font.
-----------------------------------
See the amazing new SF reel: Invasion of the man eating cucumbers from  
outer space.
On congratulations for a fantastic parody, the producer replies :  
"What parody?"

Tommy Nordgren
tommy.nordgren@comhem.se




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


FOP 0.93 Euro symbol not displayed

Posted by "Bennen, Jan A." <ja...@seneca.nl>.
Hello,
I am new to Fop.

For one of our customers we are using FOP 0.93 to create PDF files. 

The Euro symbol is not displayed correctly in the pdf file (a rectangle is shown).

I changed in the FO file the symbol to &#x20AC; as is suggested in your basic help, but nothing changes.

Is there a solution for this problem?

Kind regards, 

Jan Bennen
Support Engineer 
Seneca Helpdesk

Elektronicaweg 31 
2628 XG  Delft,  Nederland 
T   +31 (0)15 - 251 37 77 
F   +31 (0)15 - 251 37 01 
E   support@seneca.nl 
I    www.seneca.nl 
Op dit mailbericht is onze disclaimer van kracht.  



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


Re: Apache errors

Posted by Cristian Ferrero <cr...@hotmail.com>.
i follow your advice and transform my xsl in fop...it works but i don't 
think that fo file appears to be a valid one, because it has no nodes, when 
i try to convert fo to pdf  error says

org.xml.sax.SAXParseException: Content is not allowed in prolog

i post my 3 files

tks



----- Original Message ----- 
From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
To: <fo...@xmlgraphics.apache.org>
Sent: Thursday, February 07, 2008 9:51 AM
Subject: Re: Apache errors


You'll have a much easier time if you just run the XSLT transformation
without FOP. Then you can inspect the generated XSL-FO. That should help
you figure out the problem. On the command-line you can use the -foout
option instead of -pdf to just generated the XSL-FO file.

BTW, posting an XSLT alone usually doesn't help because without knowing
how the XML looks like, most people won't even look at it because they
can't run it.

Given the error message, you probably need to make sure in your XSLT
that you don't generate any table-cells if you don't have content for
them. As a dirty hack you can try to use the -r (relaxed validation)
option on the command-line. That will overlook empty table-cells. But
empty table-cells are illegal so you should avoid them using XSLT means.
That's why it's a dirty hack.

Good luck!

On 07.02.2008 12:57:50 Cristian Ferrero wrote:
> Hi again...i can' t complete my xsl - fo conversion because a couple of
> errors that i can't get wich is the reason, i made my xsl with XSL FAST,
> then i fix a few things that Apache fop needs , by still have a couple of
> errors and i can't get the reason...
>  first  is a warning :
>
> ADVERTENCIA: Mismatch: table-cell (http://www.w3.org/1999/XSL/Format) vs.
> root (
> http://www.w3.org/1999/XSL/Format)
>
>
> another is an error :
>
> GRAVE: Exception
> javax.xml.transform.TransformerException:
> org.apache.fop.fo.ValidationException:
>  Error(Unknown location): fo:table-cell is missing child elements.
> Required Content Model: marker* (%block;)+
>         at
> org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
>         at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
>         at org.apache.fop.cli.Main.startFOP(Main.java:166)
>         at org.apache.fop.cli.Main.main(Main.java:197)
>
> i attach my xsl...really thanks...




Jeremias Maerki


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


Re: Apache errors

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
If the XSLT terminates like that it means that your stylesheet isn't
well-formed XML. Your XML editor should help you identify the problem.
However, if I look at the XSLT, I can see that there is more than one
problem. For example, there is an fo:block as direct child of an
fo:table-header (right next to a xsl:if in line 297). That's illegal and
will result in another error in FOP once you've fixed the
well-formedness.

So:
- fix well-formedness in the XSLT
- then fix the FO errors reported by FOP. The -foout option will help
you quickly seeing the problems in the generated FO. From there go back
to the XSLT to fix the problems.

Good luck!

On 07.02.2008 14:40:50 Cristian Ferrero wrote:
> Thank you Jeremias i did what you advice to me and now appears the error :
> 
> javax.xml.transform.TransformerConfigurationException: 
> javax.xml.transform.Trans
> formerConfigurationException: javax.xml.transform.TransformerException: 
> org.xml.
> sax.SAXParseException: The element type "fo:table-cell" must be terminated 
> by th
> e matching end-tag "</fo:table-cell>".
> 
> 
> im new at this, my xsl is made under XSLFAST , where i can see the pdf 
> results with xml ...but with apache appears errors like this for example...i 
> need work with apache because i have to run xml to pdf conversion from java 
> aplication..exists really any application 100% compatible with apache fop 
> where i can design my template and just run it with apache or i have to 
> desist and make my xsl  "manually"..
> 
> i attach my xsl and my xml too.....thanks and sorry if i make dummy 
> questions---
> 
> 
> 
> ----- Original Message ----- 
> From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
> To: <fo...@xmlgraphics.apache.org>
> Sent: Thursday, February 07, 2008 9:51 AM
> Subject: Re: Apache errors
> 
> 
> You'll have a much easier time if you just run the XSLT transformation
> without FOP. Then you can inspect the generated XSL-FO. That should help
> you figure out the problem. On the command-line you can use the -foout
> option instead of -pdf to just generated the XSL-FO file.
> 
> BTW, posting an XSLT alone usually doesn't help because without knowing
> how the XML looks like, most people won't even look at it because they
> can't run it.
> 
> Given the error message, you probably need to make sure in your XSLT
> that you don't generate any table-cells if you don't have content for
> them. As a dirty hack you can try to use the -r (relaxed validation)
> option on the command-line. That will overlook empty table-cells. But
> empty table-cells are illegal so you should avoid them using XSLT means.
> That's why it's a dirty hack.
> 
> Good luck!
> 
> On 07.02.2008 12:57:50 Cristian Ferrero wrote:
> > Hi again...i can' t complete my xsl - fo conversion because a couple of
> > errors that i can't get wich is the reason, i made my xsl with XSL FAST,
> > then i fix a few things that Apache fop needs , by still have a couple of
> > errors and i can't get the reason...
> >  first  is a warning :
> >
> > ADVERTENCIA: Mismatch: table-cell (http://www.w3.org/1999/XSL/Format) vs.
> > root (
> > http://www.w3.org/1999/XSL/Format)
> >
> >
> > another is an error :
> >
> > GRAVE: Exception
> > javax.xml.transform.TransformerException:
> > org.apache.fop.fo.ValidationException:
> >  Error(Unknown location): fo:table-cell is missing child elements.
> > Required Content Model: marker* (%block;)+
> >         at
> > org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
> >         at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
> >         at org.apache.fop.cli.Main.startFOP(Main.java:166)
> >         at org.apache.fop.cli.Main.main(Main.java:197)
> >
> > i attach my xsl...really thanks...
> 
> 
> 
> 
> Jeremias Maerki
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 




Jeremias Maerki


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


Re: Apache errors

Posted by Cristian Ferrero <cr...@hotmail.com>.
Thank you Jeremias i did what you advice to me and now appears the error :

javax.xml.transform.TransformerConfigurationException: 
javax.xml.transform.Trans
formerConfigurationException: javax.xml.transform.TransformerException: 
org.xml.
sax.SAXParseException: The element type "fo:table-cell" must be terminated 
by th
e matching end-tag "</fo:table-cell>".


im new at this, my xsl is made under XSLFAST , where i can see the pdf 
results with xml ...but with apache appears errors like this for example...i 
need work with apache because i have to run xml to pdf conversion from java 
aplication..exists really any application 100% compatible with apache fop 
where i can design my template and just run it with apache or i have to 
desist and make my xsl  "manually"..

i attach my xsl and my xml too.....thanks and sorry if i make dummy 
questions---



----- Original Message ----- 
From: "Jeremias Maerki" <de...@jeremias-maerki.ch>
To: <fo...@xmlgraphics.apache.org>
Sent: Thursday, February 07, 2008 9:51 AM
Subject: Re: Apache errors


You'll have a much easier time if you just run the XSLT transformation
without FOP. Then you can inspect the generated XSL-FO. That should help
you figure out the problem. On the command-line you can use the -foout
option instead of -pdf to just generated the XSL-FO file.

BTW, posting an XSLT alone usually doesn't help because without knowing
how the XML looks like, most people won't even look at it because they
can't run it.

Given the error message, you probably need to make sure in your XSLT
that you don't generate any table-cells if you don't have content for
them. As a dirty hack you can try to use the -r (relaxed validation)
option on the command-line. That will overlook empty table-cells. But
empty table-cells are illegal so you should avoid them using XSLT means.
That's why it's a dirty hack.

Good luck!

On 07.02.2008 12:57:50 Cristian Ferrero wrote:
> Hi again...i can' t complete my xsl - fo conversion because a couple of
> errors that i can't get wich is the reason, i made my xsl with XSL FAST,
> then i fix a few things that Apache fop needs , by still have a couple of
> errors and i can't get the reason...
>  first  is a warning :
>
> ADVERTENCIA: Mismatch: table-cell (http://www.w3.org/1999/XSL/Format) vs.
> root (
> http://www.w3.org/1999/XSL/Format)
>
>
> another is an error :
>
> GRAVE: Exception
> javax.xml.transform.TransformerException:
> org.apache.fop.fo.ValidationException:
>  Error(Unknown location): fo:table-cell is missing child elements.
> Required Content Model: marker* (%block;)+
>         at
> org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
>         at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
>         at org.apache.fop.cli.Main.startFOP(Main.java:166)
>         at org.apache.fop.cli.Main.main(Main.java:197)
>
> i attach my xsl...really thanks...




Jeremias Maerki


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


Re: Apache errors

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
You'll have a much easier time if you just run the XSLT transformation
without FOP. Then you can inspect the generated XSL-FO. That should help
you figure out the problem. On the command-line you can use the -foout
option instead of -pdf to just generated the XSL-FO file.

BTW, posting an XSLT alone usually doesn't help because without knowing
how the XML looks like, most people won't even look at it because they
can't run it.

Given the error message, you probably need to make sure in your XSLT
that you don't generate any table-cells if you don't have content for
them. As a dirty hack you can try to use the -r (relaxed validation)
option on the command-line. That will overlook empty table-cells. But
empty table-cells are illegal so you should avoid them using XSLT means.
That's why it's a dirty hack.

Good luck!

On 07.02.2008 12:57:50 Cristian Ferrero wrote:
> Hi again...i can' t complete my xsl - fo conversion because a couple of 
> errors that i can't get wich is the reason, i made my xsl with XSL FAST, 
> then i fix a few things that Apache fop needs , by still have a couple of 
> errors and i can't get the reason...
>  first  is a warning :
> 
> ADVERTENCIA: Mismatch: table-cell (http://www.w3.org/1999/XSL/Format) vs. 
> root (
> http://www.w3.org/1999/XSL/Format)
> 
> 
> another is an error :
> 
> GRAVE: Exception
> javax.xml.transform.TransformerException: 
> org.apache.fop.fo.ValidationException:
>  Error(Unknown location): fo:table-cell is missing child elements.
> Required Content Model: marker* (%block;)+
>         at 
> org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
>         at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
>         at org.apache.fop.cli.Main.startFOP(Main.java:166)
>         at org.apache.fop.cli.Main.main(Main.java:197)
> 
> i attach my xsl...really thanks... 




Jeremias Maerki


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


RE: Apache errors

Posted by "Amick, Eric" <Er...@mail.house.gov>.
>From my quick look, I suspect at least one problem may lie with this
test:

<xsl:if
test="SERVICIOS/DETCONSUMO/DETCONSUMO/CONSUMOLIST/CONSUMO/TCONSUM='TFGEN
20001'">

You have the test enclosing the contents of the table-cell, but I think
you should have the test around the table-header that holds the
table-cell instead. If the test fails, I believe you want to skip the
entire table-header at the very least; you might want to consider
whether you want to generate the table at all in that case.


Eric Amick
Legislative Computer Systems
Office of the Clerk

-----Original Message-----
From: Cristian Ferrero [mailto:cristian_ferrero@hotmail.com] 
Sent: Thursday, February 7, 2008 6:58
To: fop-users@xmlgraphics.apache.org
Subject: Apache errors

Hi again...i can' t complete my xsl - fo conversion because a couple of
errors that i can't get wich is the reason, i made my xsl with XSL FAST,
then i fix a few things that Apache fop needs , by still have a couple
of errors and i can't get the reason...
 first  is a warning :

ADVERTENCIA: Mismatch: table-cell (http://www.w3.org/1999/XSL/Format)
vs. 
root (
http://www.w3.org/1999/XSL/Format)


another is an error :

GRAVE: Exception
javax.xml.transform.TransformerException: 
org.apache.fop.fo.ValidationException:
 Error(Unknown location): fo:table-cell is missing child elements.
Required Content Model: marker* (%block;)+
        at
org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
        at
org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
        at org.apache.fop.cli.Main.startFOP(Main.java:166)
        at org.apache.fop.cli.Main.main(Main.java:197)

i attach my xsl...really thanks... 

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