[docbook] Re: fop1.extension problem with XSL Stylesheets

2012-01-18 Thread Norman Walsh
Paul Tremblay paulhtremb...@gmail.com writes:
 FOP needs the table-layout attribute to be set to fixed in order to
 render tables, but the stylesheet only sets this attribute to fixed
 if fop.extenstion != 0. If I change the above to

 xsl:when test=$fop.extensions != 0 or $fop1.extension != 0

 Then the code works fine.

 Am I missing something?

I doubt it. I'm not sure who added $fop1.extension, but it wasn't me :-/

Be seeing you,
  norm

-- 
Norman Walsh n...@nwalsh.com  | The effects of weakness are
http://www.oasis-open.org/docbook/ | inconceivable, and more prodigious
Chair, DocBook Technical Committee | than those of the most violent
   | passions.--Cardinal De Retz


pgp1ZRPqWmFJ0.pgp
Description: PGP signature


Re: [docbook] Re: fop1.extension problem with XSL Stylesheets

2012-01-18 Thread Paul Tremblay
I see. Someone added the parameter fop1.extension because the fop.extension
has the wrong namespace for FOP 1.0, and causes FOP to throw an exception.
Do you no longer maintain these stylesheets?

Paul

On Wed, Jan 18, 2012 at 7:51 AM, Norman Walsh n...@nwalsh.com wrote:

 Paul Tremblay paulhtremb...@gmail.com writes:
  FOP needs the table-layout attribute to be set to fixed in order to
  render tables, but the stylesheet only sets this attribute to fixed
  if fop.extenstion != 0. If I change the above to
 
  xsl:when test=$fop.extensions != 0 or $fop1.extension != 0
 
  Then the code works fine.
 
  Am I missing something?

 I doubt it. I'm not sure who added $fop1.extension, but it wasn't me :-/

Be seeing you,
  norm

 --
 Norman Walsh n...@nwalsh.com  | The effects of weakness are
 http://www.oasis-open.org/docbook/ | inconceivable, and more prodigious
 Chair, DocBook Technical Committee | than those of the most violent
   | passions.--Cardinal De Retz



Re: [docbook] Re: fop1.extension problem with XSL Stylesheets

2012-01-18 Thread David Cramer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

My understanding is that the parameter for fop.extensions controls
features and workarounds in the xsls for fop pre 1.0 and
fop1.extensions is for fop 1.0 and above (which are very different
implementations). I doubt anybody uses the old version of fop at this
point and having both parameters invites confusion. I'd suggest
deprecating support for the old fop and removing one of the params.

http://docbook.sourceforge.net/release/xsl/1.75.1/doc/fo/fop1.extensions.html

http://docbook.sourceforge.net/release/xsl/1.75.1/doc/fo/fop.extensions.html

David

On 01/18/2012 08:11 AM, Paul Tremblay wrote:
 I see. Someone added the parameter fop1.extension because the 
 fop.extension has the wrong namespace for FOP 1.0, and causes FOP
 to throw an exception. Do you no longer maintain these
 stylesheets?
 
 Paul
 
 On Wed, Jan 18, 2012 at 7:51 AM, Norman Walsh n...@nwalsh.com 
 mailto:n...@nwalsh.com wrote:
 
 Paul Tremblay paulhtremb...@gmail.com 
 mailto:paulhtremb...@gmail.com writes:
 FOP needs the table-layout attribute to be set to fixed in order
 to render tables, but the stylesheet only sets this attribute to
 fixed if fop.extenstion != 0. If I change the above to
 
 xsl:when test=$fop.extensions != 0 or $fop1.extension != 0
 
 Then the code works fine.
 
 Am I missing something?
 
 I doubt it. I'm not sure who added $fop1.extension, but it wasn't
 me :-/
 
 Be seeing you, norm
 
 -- Norman Walsh n...@nwalsh.com mailto:n...@nwalsh.com  |
 The effects of weakness are http://www.oasis-open.org/docbook/ |
 inconceivable, and more prodigious Chair, DocBook Technical
 Committee | than those of the most violent | passions.--Cardinal De
 Retz
 
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPFuLIAAoJEMHeSXG7afUhXzkIAJLzGLhUMfkQez/R+AGg2v5x
VFh6g1DHhjSMSWme1RjAli3HwijSDNB2kwdfnTMHQdu0zAw4Y8tnsJUfdeTvjTUH
q5198UIAD0xlvY+lsquRc6aAvbAC1xxdNdnayHHsHBVVty6lBNVsOm5aMkQclaNp
nDPNmE6uiht9P2zubPm5ppHHpytBFmUyuiDKaWRmm27yelH2wVlRUIm6oQpBvp5r
X3rB2oNGhQPZZbWOSdXWJ+3qIubmB0G9Hxdn8nlQuDnQSZR2cSknJJwMPY/N/7R6
O+UZ7PiHxmZKRxqph/dHODmXUqATkMApY0FRfwX/weSwCrxdNh52fTBe1/HNiTs=
=Jdj8
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-h...@lists.oasis-open.org