Re: ERROR LOADING EXTERNAL SVG

2001-09-07 Thread Keiron Liddle

On Thu, 06 Sep 2001 20:32:11 Brigette Muller wrote:
 Hi,
 
 I am getting the following error when trying to load an SVG image. What
 am I missing? 
 I have checked that the batik.jar from the fop.0.20.1/lib dir that comes
 with fop is in the classpath.
 The SVG was created by Adobe Illustrator 9.0, and opens fine in IE5
 w/SVG plugin
 
 thanks for any help...
 Brigette
 
 ERROR LOADING EXTERNAL SVG: Can't find bundle for base name
 org.apache.batik.dom.svg.resources.dtduris, locale en_US

This is a problem associated with batik. For some reason it is not able to
load a file that is located within the batik.jar.
The file it is trying to lacte is in the jar file as:
org/apache/batik/dom/svg/resources/dtduris.properties

It could aither be a class loading problem, which depends how you are
running it, or some other problem that the batik people should have a
better clue about.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: producing OMR marks (Optical Mark Reading)

2001-09-07 Thread Keiron Liddle

Hi John,

I think that for this type of thing using sax events is at the wrong end of
the processing. For your situation it still may be a complementary part of
the process to insert the necessary information.

A while back I posted a simple example of how you can include custom tags
in a separate namespace in order to create things on the output or do other
things.
http://marc.theaimsgroup.com/?l=fop-devm=99648766508793w=2

If you want to contribute to this approach you can look at the example
(attached to the message). I'm sure others will also want to know how to do
this sort of thing, ie. probably needs better code and documentation.
Currently can can add any sort of area to the passed in area, for example
you could make svg and/or tables.

This approach could be improved to include a better way to handle putting
things in the area tree, such as how the bookmark extension works.

The only problem I think you may have is the last page, unless you know
exactly how many pages are in your documents.

On Thu, 06 Sep 2001 17:38:28 [EMAIL PROTECTED] wrote:
 I'm writing a DB reporting class that extends org.apache.fop.apps.Driver
 and fires SAX events to the Drivers ContentHandler (FOTreeBuilder).
 
 I have a method that produces the correct OMR mark with SAX events when
 the
 page number is passed in as a parameter.  The problem with this is that I
 need the current page number passed into this method as the page is
 processed?  (callbacks?)
 
 What I need is a tag that performs a lot like page-number.  The OMR
 mark
 is just the page number in binary (well 85% of it is).  The last page has
 an extra mark to say it's the last page, etc.  I need some help getting
 stared on creating this tag.  It requires access to the page number and
 has
 to know when it gets to the last page.  The mark is a 1 cell by 10 row
 table (picture a real simple verticle barcode) so I need help with using
 the Table Area too.
 
 Thanks,
 
 JohnPT
 
 
 More info:
 
 I'm generating PDF's ( you probably guessed that one :)
 
 OMR is just a vertical table with one column and 10 rows.  The table is
 placed 1/4 inch from either edge of the page.  Mininum mark sizes are
 0.01
 inch high and 0.1 inch long.
 
 The first cell is the GRV (Gate Read Verify, ie:it's always marked).  The
 second cell is not used.  The third cell is marked when the last page is
 reached.  The remaining cells count the page number in binary.
 
 These marks are used when printing in bulk to keep documents grouped. 
 They
 can also be used to print the first page with perforated paper and the
 rest
 on plain paper, tell the operator a page is missing, etc.  Picture
 keeping
 a run of 70,000 1-5 page reports organized.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




cvs commit: xml-fop/docs/design README areas.xml build.sh build.xml float.svg fop.xml intro.xml layout.xml optimise.xml page.svg useragent.xml apps.gif datatypes.gif flow.gif fo.gif fop.gif image.gif layout.gif messaging.gif pagination.gif pdf.gif render_pdf.gif

2001-09-07 Thread keiron

keiron  01/09/07 04:33:48

  Added:   docs/design README areas.xml build.sh build.xml float.svg
fop.xml intro.xml layout.xml optimise.xml page.svg
useragent.xml
  Removed: docs/design apps.gif datatypes.gif flow.gif fo.gif fop.gif
image.gif layout.gif messaging.gif pagination.gif
pdf.gif render_pdf.gif
  Log:
  new design documentation using docbook
  uml diagrams will be svg in future
  
  Revision  ChangesPath
  1.1  xml-fop/docs/design/README
  
  Index: README
  ===
  These documents are written for docbook
  http://sourceforge.net/projects/docbook
  
  To convert to pdf:
  - place the docbook files in a directory name docbook
  - place docbookx package in a directory name docbookx
  the files are avaialable here:
  http://www.oasis-open.org/docbook/xml/4.1.2/index.shtml
  
  - run the build script
  
  
  
  
  1.1  xml-fop/docs/design/areas.xml
  
  Index: areas.xml
  ===
  ?xml version = 1.0 encoding = UTF-8?
  section id=areatree
   titleArea Tree/title
para
  The code to implement the area tree will attempt to match the areas
  defined in the specification. A number of optimisations may be possible
  for similar areas and groups of areas.
/para
para
  
/para
  
  /section
  
  
  
  1.1  xml-fop/docs/design/build.sh
  
  Index: build.sh
  ===
  #! /bin/sh
  # $Id: build.sh,v 1.1 2001/09/07 11:33:46 keiron Exp $
  
  LIBDIR=../../lib  
  TARGET_CLASSPATH=$LIBDIR/ant.jar:\
  $LIBDIR/buildtools.jar:\
  $LIBDIR/xalan-1.2.2.jar:\
  $LIBDIR/xerces-1.2.3.jar:\
  $LIBDIR/bsf.jar:\
  ../../build/fop.jar:\
  $LIBDIR/logkit-1.0b4.jar:\
  $LIBDIR/avalon-framework-4.0.jar:\
  $LIBDIR/batik.jar:\
  $LIBDIR/optional.jar:\
  $LIBDIR/jimi-1.0.jar:
  
  if [ $JAVA_HOME !=  ] ; then
 TARGET_CLASSPATH=$TARGET_CLASSPATH:$JAVA_HOME/lib/tools.jar
  else
 echo Error: The JAVA_HOME environment variable is not set.
  fi
  
  java -classpath $TARGET_CLASSPATH -Djboss.home=$JBOSS_HOME org.apache.tools.ant.Main 
$*
  
  
  
  1.1  xml-fop/docs/design/build.xml
  
  Index: build.xml
  ===
  ?xml version=1.0?
  
  !-- === --
  !-- JBoss documentation build file  --
  !-- === --
  
  project name=FOPDocs default=docs basedir=./
target name=init
property name=Name value=FOPDocs/
property name=name value=fopdocs/
property name=version value=0.1/

property name=lib.dir value=${basedir}/lib/
  
taskdef name=fop classname=org.apache.fop.tools.anttasks.Fop/
  /target

!-- === --
!-- Generate a help screen  --
!-- === --
target name=help depends=init

  echo message=${name}-${version} build file, available targets: /
  echo message= /
  echo message=main: Compile and prepare deployment directory.  /
  echo message=pdf : Compile and prepare pdf user docs. /
  echo message=clean   : Clean deployment and distribution.  /
  echo message= /
  echo message=USAGE: build lt;targetgt;  /
  
/target

!-- === --
!-- Prepares the build directory--
!-- === --
target name=prepare depends=init
/target

!-- === --
!-- Generates the pdf documentation --
!-- === --
target name=pdf depends=prepare
  echo message=Building pdf documentation. Please wait .../
  delete file=fop.fo/
  style basedir=./ 
 destdir=./ 
 style=docbook/fo/docbook.xsl 
 extension=.fo 
 includes=fop.xml/
  fop fofile=fop.fo pdffile=fop.pdf/
  !--delete file=fop.fo/--
/target
  
!-- === --
!-- Generates pdf and html documentation--

RE: ERROR LOADING EXTERNAL SVG

2001-09-07 Thread Brigette Muller

thanks Keiron,
I will re-post on the batik list.

keep smiling
Brigette

-Original Message-
From: Keiron Liddle [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 5:47 AM
To: [EMAIL PROTECTED]
Subject: Re: ERROR LOADING EXTERNAL SVG


On Thu, 06 Sep 2001 20:32:11 Brigette Muller wrote:
 Hi,
 
 I am getting the following error when trying to load an SVG image.
What
 am I missing? 
 I have checked that the batik.jar from the fop.0.20.1/lib dir that
comes
 with fop is in the classpath.
 The SVG was created by Adobe Illustrator 9.0, and opens fine in IE5
 w/SVG plugin
 
 thanks for any help...
 Brigette
 
 ERROR LOADING EXTERNAL SVG: Can't find bundle for base name
 org.apache.batik.dom.svg.resources.dtduris, locale en_US

This is a problem associated with batik. For some reason it is not able
to
load a file that is located within the batik.jar.
The file it is trying to lacte is in the jar file as:
org/apache/batik/dom/svg/resources/dtduris.properties

It could aither be a class loading problem, which depends how you are
running it, or some other problem that the batik people should have a
better clue about.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




[DO NOT REPLY: Bug 3487] New: jdk 1.4 beta2 compatibility

2001-09-07 Thread bugzilla

PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3487

*** shadow/3487 Fri Sep  7 05:30:12 2001
--- shadow/3487.tmp.28793   Fri Sep  7 05:30:12 2001
***
*** 0 
--- 1,41 
+ ++
+ | jdk 1.4 beta2 compatibility|
+ ++
+ |Bug #: 3487Product: Fop |
+ |   Status: NEW Version: 0.17|
+ |   Resolution:Platform: All |
+ | Severity: Normal   OS/Version: All |
+ | Priority: Other Component: pdf renderer|
+ ++
+ |  Assigned To: [EMAIL PROTECTED]   |
+ |  Reported By: [EMAIL PROTECTED]   |
+ |  CC list: Cc:  |
+ ++
+ |  URL:  |
+ ++
+ |  DESCRIPTION   |
+ If I compile xml-fop (from cvs) with JDK 1.4 beta2, I get the following error:
+ 
+  [echo] Compiling the sources 
+ [javac] Compiling 4 source files to /hoth/local/xml-fop/build/classes
+ [javac] Note: sun.tools.javac.Main has been deprecated.
+ [javac] 
+ /hoth/local/xml-fop/build/src/org/apache/fop/svg/PDFGraphics2D.java:1128: nested 
+ class org.apache.fop.svg.PDFGraphics2D. PDFGraphicsConfiguration is an abstract 
+ class. It can't be instantiated.
+ [javac] return new PDFGraphicsConfiguration();
+ [javac]^
+ [javac] 
+ /hoth/local/xml-fop/build/src/org/apache/fop/svg/PDFGraphics2D.java:1135: nested 
+ class org.apache.fop.svg.PDFGraphics2D. PDFGraphicsConfiguration must be 
+ declared abstract. It does not define java.awt.image.VolatileImage 
+ createCompatibleVolatileImage(int, int) from class 
+ java.awt.GraphicsConfiguration.
+ [javac] static class PDFGraphicsConfiguration extends 
+ GraphicsConfiguration {
+ 
+ It appears that Sun added a new java.awt.VolatileImage class and added a new
+ abstract method createCompatibleVolatileImage to GraphicsConfiguration which
+ PDFGraphicsConfiguration extends.  I am not sure what the fix should be since
+ fixing the code to compile with JDK 1.4 will cause it to break with previous
+ releases.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: [DO NOT REPLY: Bug 3007] broken basic-link when referencing a following page

2001-09-07 Thread Enrico Schnepel

It is commited into the current CVS-tree but not in the recent release 0.20.1.

Enrico

 01:50 --- + Am also experiencing similar difficulties.
 + I see there is a work around supplied but not added to the product. When
 is it + likely that the fix will be applied to the core product?
 Unfortunately I am not + competent enough in OpenSource development
 projects to achieve this myself yet, + otherwise obviously I would do so.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: producing OMR marks (Optical Mark Reading)

2001-09-07 Thread jthaemlitz


For the last page I'm planning on putting in a block with a id attribute
then use the page-number-citation with ref-id attribute.

put a block like this on last page (I have a summary record that goes on
the end of the document so I'll tack it on there)
fo:block id=endofdoc/

Then for the page number on top of the page I could put
fo:page-number/ of fo:page-number-citation ref-id=endofdoc/  (1 of 3)

I'm guessing I could try to traverse the tree and try to find id endofdoc
and compare that page number with the current page number.  Will that
element exist in the tree if I have 3 pages and I'm on page 1?  I know the
endofdoc tag is not the cleanest way, any thoughts?

I agree the sax events are not the right way.  It worked for proof of
concept, but the extension tag is needed.  I took at look at your counter
example, thats a lot better starting place than reverse engineering Table
right off the bat.

Thanks,

JohnPT



   

fop-dev-return-10157-jthaemlitz=oreillyauto.com@XML.   

APACHE.ORG To: 
[EMAIL PROTECTED]  
   cc: 

09/07/01 05:07 AM  
Subject: Re: producing OMR marks (Optical Mark Reading) 
Please respond to fop-dev  

   

   





Hi John,

I think that for this type of thing using sax events is at the wrong end of
the processing. For your situation it still may be a complementary part of
the process to insert the necessary information.

A while back I posted a simple example of how you can include custom tags
in a separate namespace in order to create things on the output or do other
things.
http://marc.theaimsgroup.com/?l=fop-devm=99648766508793w=2

If you want to contribute to this approach you can look at the example
(attached to the message). I'm sure others will also want to know how to do
this sort of thing, ie. probably needs better code and documentation.
Currently can can add any sort of area to the passed in area, for example
you could make svg and/or tables.

This approach could be improved to include a better way to handle putting
things in the area tree, such as how the bookmark extension works.

The only problem I think you may have is the last page, unless you know
exactly how many pages are in your documents.

On Thu, 06 Sep 2001 17:38:28 [EMAIL PROTECTED] wrote:
 I'm writing a DB reporting class that extends org.apache.fop.apps.Driver
 and fires SAX events to the Drivers ContentHandler (FOTreeBuilder).

 I have a method that produces the correct OMR mark with SAX events when
 the
 page number is passed in as a parameter.  The problem with this is that I
 need the current page number passed into this method as the page is
 processed?  (callbacks?)

 What I need is a tag that performs a lot like page-number.  The OMR
 mark
 is just the page number in binary (well 85% of it is).  The last page has
 an extra mark to say it's the last page, etc.  I need some help getting
 stared on creating this tag.  It requires access to the page number and
 has
 to know when it gets to the last page.  The mark is a 1 cell by 10 row
 table (picture a real simple verticle barcode) so I need help with using
 the Table Area too.

 Thanks,

 JohnPT


 More info:

 I'm generating PDF's ( you probably guessed that one :)

 OMR is just a vertical table with one column and 10 rows.  The table is
 placed 1/4 inch from either edge of the page.  Mininum mark sizes are
 0.01
 inch high and 0.1 inch long.

 The first cell is the GRV (Gate Read Verify, ie:it's always marked).  The
 second cell is not used.  The third cell is marked when the last page is
 reached.  The remaining cells count the page number in binary.

 These marks are used when printing in bulk to keep documents grouped.
 They
 can also be used to print the first page with perforated paper and the
 rest
 on plain paper, tell the operator a page is missing, etc.  Picture
 keeping
 a run of 70,000 1-5 page reports organized.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]











cvs commit: xml-fop/src/org/apache/fop/image FopImageFactory.java

2001-09-07 Thread keiron

keiron  01/09/07 07:10:07

  Modified:src/org/apache/fop/image FopImageFactory.java
  Log:
  forgot about quotes
  
  Revision  ChangesPath
  1.23  +6 -1  xml-fop/src/org/apache/fop/image/FopImageFactory.java
  
  Index: FopImageFactory.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/image/FopImageFactory.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- FopImageFactory.java  2001/09/07 13:56:23 1.22
  +++ FopImageFactory.java  2001/09/07 14:10:07 1.23
  @@ -1,5 +1,5 @@
   /*
  - * $Id: FopImageFactory.java,v 1.22 2001/09/07 13:56:23 keiron Exp $
  + * $Id: FopImageFactory.java,v 1.23 2001/09/07 14:10:07 keiron Exp $
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
  @@ -52,6 +52,11 @@
   href = href.trim();
   if(href.startsWith(url()  (href.indexOf()) != -1)) {
   href = href.substring(4, href.indexOf())).trim();
  +if(href.startsWith(')  href.endsWith(')) {
  +href = href.substring(1, href.length() - 1);
  +} else if(href.startsWith(\)  href.endsWith(\)) {
  +href = href.substring(1, href.length() - 1);
  +}
   }
   try {
   // try url as complete first, this can cause
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: block-container with block

2001-09-07 Thread Petr Zeman

From text on http://www.ibiblio.org/xml/books/bible2/chapters/ch18.html

...
Caution

As of version 0.18.1, FOP does not support fo:block-container or fo:table-and-caption.

...



Petr Z.

- Original Message - 
From: Colin Savage [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, September 07, 2001 4:16 PM
Subject: RE: block-container with block


 sorry, I typed it wrong below, should be:
 
 fo:block line-height=30mm
 fo:block-container position=absolute top=5mm left=30mm
 height=10mm width=30mm
 fo:blockinside the block/fo:block
 /fo:block-container
 /fo:block
 
 -Original Message-
 From: Petr Zeman [mailto:[EMAIL PROTECTED]]
 Sent: 07 September 2001 03:58
 To: [EMAIL PROTECTED]
 Subject: Re: block-container with block
 
 
 I think, the error is in the missing units (measures).
 
 fo:block line-height=20mm
 fo:block-container position=absolute top=5mm left=5mm width=10mm
 height=10mm
 Some stuff
 /fo:block-container
 /fo:block
 
 Petr Zeman
 
 - Original Message - 
 From: Colin Savage [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, September 07, 2001 4:00 PM
 Subject: RE: block-container with block
 
 
  sigh...can't get this right...can get the block-container to draw in the
  block but top and left are ignored and the contents of the block-container
  don't appear anywhere. Maybe one of the experts could help me out here? 
  
  -Original Message-
  From: Colin Savage [mailto:[EMAIL PROTECTED]]
  Sent: 06 September 2001 05:37
  To: 'Fop-Dev (E-mail)
  Subject: block-container with block
  
  
  I am trying to figure out if it is possible to implement the following
  within fo:flow ?:
  
  fo:block line-height=20
  fo:block-container position=absolute top=5 left=5 width=10
  height=10Some stuff/fo:block-container
  /fo:block
  
  In org.apache.fop.fo.flow.BlockContainer.Java, the area object is cast to
  AreaContainer to get the X and Y coords of the container. Then adds the
 left
  and top attributes for use with the new AreaContainer Constructor.
  BlockArea doesn't implement AreaContainer, but does it have a an X and Y
  position within the region body?
  Help please?
  Colin.
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
  
  
  
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: block-container with block

2001-09-07 Thread Colin Savage

block-container appears to work if it is used inside a static-content or
flow element. v0.20.1

according to this interpretation of the w3c spec (w3c specs give me a
headache), block-container can appear as a child of block
http://zvon.org/xxl/xslfoReference/Output/index.html


-Original Message-
From: Petr Zeman [mailto:[EMAIL PROTECTED]]
Sent: 07 September 2001 04:11
To: [EMAIL PROTECTED]
Subject: Re: block-container with block


From text on http://www.ibiblio.org/xml/books/bible2/chapters/ch18.html

...
Caution

As of version 0.18.1, FOP does not support fo:block-container or
fo:table-and-caption.

...



Petr Z.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




BUG: absoulte-position=auto in nested blocks

2001-09-07 Thread Giannetti, Fabio

Hi Colin,
in your example you forget to write the fo:page-master-reference
...
BTW this example breaks FOP and I think is a bug ...

?xml version=1.0 encoding=UTF-8?
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
fo:layout-master-set
fo:simple-page-master margin-bottom=10mm margin-right=10mm
margin-left=10mm  margin-top=10mm page-width=210mm page-height=297mm
master-name=PortraitA4

fo:region-body margin-bottom=10mm margin-right=10mm margin-left=10mm
margin-top=10mm/
/fo:simple-page-master

fo:page-sequence-master master-name=test
   fo:single-page-master-reference master-name=PortraitA4/
/fo:page-sequence-master
/fo:layout-master-set
fo:page-sequence master-name=PortraitA4
fo:flow flow-name=xsl-region-body
fo:blockThis is the first unpositioned block inside the flow
fo:block absoulute-position=auto background-color=blue
top=5mm  left=5mm height=10mm width=45mm
fo:blockinside/fo:block
/fo:block-container
/fo:block
fo:blockThis is the second unpositioned block inside the
flow/fo:block
/fo:flow
/fo:page-sequence
/fo:root

Fabio

-Original Message-
From: Colin Savage [mailto:[EMAIL PROTECTED]]
Sent: 07 September 2001 16:43
To: [EMAIL PROTECTED]
Subject: RE: block-container with block


Here is the fo I am working with

?xml version=1.0 encoding=UTF-8?
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
fo:layout-master-set
fo:simple-page-master margin-bottom=10mm margin-right=10mm
margin-left=10mm  margin-top=10mm page-width=210mm page-height=297mm
master-name=PortraitA4

fo:region-body margin-bottom=10mm margin-right=10mm margin-left=10mm
margin-top=10mm/
/fo:simple-page-master
/fo:layout-master-set
fo:page-sequence master-name=PortraitA4
fo:flow flow-name=xsl-region-body
fo:block line-height=30mm
fo:block-container absolute-position=auto background-color=blue
top=5mm  left=5mm height=10mm width=45mm
fo:blockinside/fo:block
/fo:block-container
/fo:block
/fo:flow
/fo:page-sequence
/fo:root

Q1. Is this valid? and should it produce the result i am looking for?

block inside region-body
--
|\   |
| \5mm x 5mm |
|  \___  |
|  |inside | |
|  |___| |
||
||

If I run this through fop 0.20.1, it falls over, because BlockContainer is
expecting an AreaContainer object that it can use to get X and Y coords. By
modifying that code to use the Area object instead of the AreaContainer when
the parent is a BlockArea it doesn't fall over anymore but I can only get a
thin blue line at the top of the block. Unfortunately I don't really have a
clue about Java other than the basics, so I don't understand how these
blocks and containers are positioned.

Colin. 


-Original Message-
From: Giannetti, Fabio [mailto:[EMAIL PROTECTED]]
Sent: 07 September 2001 05:12
To: '[EMAIL PROTECTED]'
Subject: RE: block-container with block


Hi Colin,
yes, you can have a block-container that is not absolute positioned
 if you specify absolute-positioning=auto it will automatically
considered like to be relative-positioned. There is a substantial difference
between a block with relative position and a block-container with
abs-pos=auto and is related to the kind of generate areas ... the block
will generate a normal flow area and the block-container a static one, so if
you specify also a size the content will be truncated if it is too long.
Back to the block case if the content is too long will flow into a new page
starting from the beginning of the region body.

It sounds clear ? I hope so ... Fabio


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: block-container with block

2001-09-07 Thread Colin Savage

The other option I have tried is using a table within the block, creating
rows and columns that intersect at the points where I want to place the
block-container. That works, and by using number-columns-spanned and
number-rows-spanned I can get the cells to overlap each other if there are
multiple block-containers at arbitrary points. I am not sure if this is
intended behaviour or not. Maybe is a bug.

fo:block
fo:table
fo:table-column column-width=50mm/
fo:table-column column-width=20mm/
fo:table-column column-width=20mm/
fo:table-column column-width=20mm/
fo:table-body
  fo:table-row height=10mm
fo:table-cell number-columns-spanned=3
number-rows-spanned=2 border-style=solidfo:blockSome
text/fo:block/fo:table-cellfo:table-cell/
  /fo:table-row
  fo:table-row height=10mm
fo:table-cell column-number=2
number-columns-spanned=3 number-rows-spanned=2
border-style=solidfo:blockSome  more text/fo:block/fo:table-cell
  /fo:table-row
  fo:table-row height=5mm/
/fo:table-body
/fo:table
/fo:block

-Original Message-
From: Giannetti, Fabio [mailto:[EMAIL PROTECTED]]
Sent: 07 September 2001 05:12
To: '[EMAIL PROTECTED]'
Subject: RE: block-container with block


Hi Colin,
yes, you can have a block-container that is not absolute positioned
 if you specify absolute-positioning=auto it will automatically
considered like to be relative-positioned. There is a substantial difference
between a block with relative position and a block-container with
abs-pos=auto and is related to the kind of generate areas ... the block
will generate a normal flow area and the block-container a static one, so if
you specify also a size the content will be truncated if it is too long.
Back to the block case if the content is too long will flow into a new page
starting from the beginning of the region body.

It sounds clear ? I hope so ... Fabio

-Original Message-
From: Colin Savage [mailto:[EMAIL PROTECTED]]
Sent: 07 September 2001 15:55
To: [EMAIL PROTECTED]
Subject: RE: block-container with block


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




[DO NOT REPLY: Bug 3497] New: id already exists error when using span=all attribute

2001-09-07 Thread bugzilla

PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3497

*** shadow/3497 Fri Sep  7 09:28:11 2001
--- shadow/3497.tmp.29634   Fri Sep  7 09:28:12 2001
***
*** 0 
--- 1,67 
+ ++
+ | id already exists error when using span=all attribute|
+ ++
+ |Bug #: 3497Product: Fop |
+ |   Status: NEW Version: all |
+ |   Resolution:Platform: PC  |
+ | Severity: Critical OS/Version: Linux   |
+ | Priority: Other Component: page-master/layout  |
+ ++
+ |  Assigned To: [EMAIL PROTECTED]   |
+ |  Reported By: [EMAIL PROTECTED]   |
+ |  CC list: Cc:  |
+ ++
+ |  URL:  |
+ ++
+ |  DESCRIPTION   |
+ Fop 0.20.1 reports 'ERROR: The id b2 already exists in this document' on
+ executing java org.apache.fop.apps.Fop spanbug.fo spanbug.pdf with the input file
+ 
+ spanbug.fo:
+ 
+ 
+ ?xml version=1.0 encoding=ISO-8859-1?
+ 
+ fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
+   fo:layout-master-set
+   fo:simple-page-master master-name=first
+   fo:region-body column-count=2 column-gap=5mm/
+   /fo:simple-page-master
+ 
+   fo:page-sequence-master master-name=standard
+   fo:repeatable-page-master-reference master-name=first /
+   /fo:page-sequence-master
+   /fo:layout-master-set
+ 
+   fo:page-sequence master-name=standard
+   fo:flow flow-name=xsl-region-body
+ 
+   fo:block id=b1 span=all text-align=center
+   Block 1
+   /fo:block
+ 
+   !-- If you add a span=all here, the error does not occur! 
+--
+   fo:block id=b2 text-align=center
+   Block 2
+   /fo:block
+ 
+   fo:block id=b3 span=all text-align=center
+   Block 3
+   /fo:block
+ 
+   fo:block id=b4  text-align=center
+   Block 4
+   /fo:block
+ 
+   /fo:flow
+   /fo:page-sequence
+ /fo:root
+ 
+ 
+ 
+ If the second block has a span=all attribute like the first and the third,
+ fop proceeds without error and produced the correct output.
+ 
+ Since usage of the id-attribute and of alternating spanning / non spanning
+ blocks is quite important for large documents, books, etc., i think this is a
+ serious problem.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




[DO NOT REPLY: Bug 3497] id already exists error when using span=all attribute

2001-09-07 Thread bugzilla

PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3497

*** shadow/3497 Fri Sep  7 09:28:12 2001
--- shadow/3497.tmp.29671   Fri Sep  7 09:33:08 2001
***
*** 4,11 
  |Bug #: 3497Product: Fop |
  |   Status: NEW Version: all |
  |   Resolution:Platform: PC  |
! | Severity: Critical OS/Version: Linux   |
! | Priority: Other Component: page-master/layout  |
  ++
  |  Assigned To: [EMAIL PROTECTED]   |
  |  Reported By: [EMAIL PROTECTED]   |
--- 4,11 
  |Bug #: 3497Product: Fop |
  |   Status: NEW Version: all |
  |   Resolution:Platform: PC  |
! | Severity: MajorOS/Version: Linux   |
! | Priority: High  Component: page-master/layout  |
  ++
  |  Assigned To: [EMAIL PROTECTED]   |
  |  Reported By: [EMAIL PROTECTED]   |

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Looking for Simple FOP Rendering Example

2001-09-07 Thread avespa

Hello,

I'm trying to test a piece of FOP code that someone else wrote within an
application as a standalone.  I basically need to have three inputs:

An XML file
An XSL (the fo file)
PCL.PDF or TXT flag.

I am trying to write something leveraging the code we have but I feel I am
getting 'lost in the woods' and that it should be simple just to send these
params through as a benchmark.

Please help, as I'm up against a very tight time window!

Tony

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




how to keep together

2001-09-07 Thread Suhail Rashid

Hi,

As keep-together is not supported in
FOP as of now how can i ensure that a table
and a preceding block appear together on the
same page..

Please pass on any ideas u have..

Thanks in advance,

Suhail


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 05, 2001 6:35 AM
To: [EMAIL PROTECTED]
Subject: Bug report for Fop [2001/09/04]


+---
+
| Bugzilla Bug ID
|
|
+-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned
|
| | OPN=ReopenedVER=Verified(Skipped
Closed/Resolved)   |
| |
+-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major
|
| |   |   MIN=Minor   NOR=Normal  EHN=Ehnancement
|
| |   |
+-+
| |   |   | Date Posted
|
| |   |   |
+--+
| |   |   |  | Description
|
| |   |   |  |
|
| 1312|New|Blk|2001-04-11|fo:external-graphics using 0.17.0 as well as
0.18.|
| 1391|New|Blk|2001-04-19|Bug in border-top-style
|
| 1773|New|Blk|2001-05-16|A table that is bigger than the page produces
an e|
| 2837|New|Blk|2001-07-26|Internal Servlet Error: NoClassDefFoundError
|
| 3037|New|Blk|2001-08-07|[FOP 0.19CVS] PDF /TXT write  fails when SVG
is us|
| 3279|New|Blk|2001-08-27|scaling SVG-images impossible
|
| 3302|New|Blk|2001-08-28|NoClassDefFoundError - org/apache/fop/apps/fop
|
| 1136|New|Cri|2001-03-27|Problems with UTF-8 hyphenation patterns
|
| 1531|New|Cri|2001-04-26|Cell Spacing
|
| 1952|New|Cri|2001-06-01|color attribute to table content overflowing
on ne|
| 2127|New|Cri|2001-06-12|Preserve the Line breaks
|
| 2153|New|Cri|2001-06-13|Borders are calculated incorrectly
|
| 2289|New|Cri|2001-06-22|Opening files with Adobe Acrobat Version 5
generat|
| 2460|New|Cri|2001-07-05|Mulitple boder lines between the colums in a
table|
| 2491|New|Cri|2001-07-06|footnote can't fit remaining space and crash
|
| 2532|New|Cri|2001-07-10|FOP 0.17 does not work with WebSphere V3.5
OS/390 |
| 3214|New|Cri|2001-08-21|Segfault when trying to build Fop sources
|
| 3414|New|Cri|2001-09-04|Multi-page tables overrun region-before and
region|
|  902|New|Maj|2001-03-08|line-height is not applied corectly when using
the|
| 1180|New|Maj|2001-04-02|Problem with monospaced font
|
| 1211|New|Maj|2001-04-04|Tables are not formatted properly.
|
| 1474|New|Maj|2001-04-24|fo:external-graphic rendered as block level
object|
| 1596|New|Maj|2001-05-02|Adobe Acrobat claims Fop output has bad page
conte|
| 1766|New|Maj|2001-05-15|Text matrix in svg get doubled when run thru
FOP  |
| 2085|New|Maj|2001-06-08|Out of memory error when building FO Tree
|
| 2207|New|Maj|2001-06-18|Embedding problems
|
| 2331|New|Maj|2001-06-26|fo:basic-link in fo:static-content throws an
excep|
| 2408|New|Maj|2001-06-30|Incorrect URL format
|
| 2740|New|Maj|2001-07-23|multi-page tables sometimes render badly
|
| 2880|New|Maj|2001-07-30|Incorrect rendering on non-ASCII machines
|
| 2909|New|Maj|2001-07-30|Gradient render error
|
| 2988|New|Maj|2001-08-03|0.19: list-item-label does not stick to
list-item-|
| 3044|New|Maj|2001-08-08|keep-together not functioning
|
| 3223|New|Maj|2001-08-22|table-row boder-... properties (0.20.1
version)   |
| 3329|New|Maj|2001-08-28|background-color not working within
fo:region-body|
|  626|New|Nor|2001-02-16|Negative number are shifted slightly towards
left.|
|  635|New|Nor|2001-02-18|Doesn't support id= attribute in
fo:page-sequence |
|  682|New|Nor|2001-02-22|Lists do not display correctly
|
|  684|New|Nor|2001-02-23|border width in tables adds up
|
|  808|New|Nor|2001-03-01|Batch processing xml files
|
|  839|New|Nor|2001-03-05|Positioning of blocks in a block section.
|
|  907|New|Nor|2001-03-08|first list-item dropped at very bottom of
page.   |
|  928|New|Nor|2001-03-10|Font metrics and setComponent
|
|  964|New|Nor|2001-03-13|FOP 0.17 throws exception with basic-link in
xsl-r|
| 1063|New|Nor|2001-03-21|fop does not handle large fo files
|
| 1130|New|Nor|2001-03-27|Alignment of page-number-citation inside a ToC
|
| 1154|New|Nor|2001-03-29|nested lists more than 3 level depth
|
| 1171|New|Nor|2001-03-30|small-caps in static content becomes all-caps
|
| 1231|New|Nor|2001-04-05|basic-link can't link to a page-sequence
element  |
| 1242|New|Nor|2001-04-06|Error in Font-Documentation
|
| 1261|New|Nor|2001-04-09|problem with rendering of external-graphic in
Fop-|
| 1318|New|Nor|2001-04-12|problems with tables (column width and when
used i|
| 1332|New|Nor|2001-04-12|MIF output strings not properly escaped
|
| 1335|New|Nor|2001-04-13|Problem with sample FOP servlet.
|
| 1432|New|Nor|2001-04-20|keep-with-* not functioning for fo:table-row
|
| 1571|New|Nor|2001-04-28|Multolingual 

Xalan causing issue in FOP?

2001-09-07 Thread avespa

Hello,

I am still trying to get my java to work with FOP - I'm using Xalan to parse
and I have an error when I hit the:

processor.process(responseSource, stylesheetSource, target);
line.

I get:

Input XSL; Line 1; Column 45518
XSL Error: Could not parse Input XML document!
XSL Error: SAX Exception

As errors.

I am declaring the procesor as:

XSLTProcessor processor = XSLTProcessorFactory.getProcessor();

Any hints on how to troublehsoot?

Thanks!

Tony

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




ClassDefNotFound for FOP for VAJ

2001-09-07 Thread avespa

Hello again...

I seem to be working through my issues but this one has me stuck - when I
try to create a new driver, my program crashes on Uncaught exception
(java.lang.NoClassDefFoundError: org.apache.fop.fo.LengthProperty$Maker) - I
have this class in my repository and have re-imprted the source - any ideas?

Please help!






Debugger Stack Trace Report:

Thread[main,5,main] (Alive)
Uncaught exception (java.lang.NoClassDefFoundError:
org.apache.fop.fo.LengthProperty$Maker)

StandardPropertyListMapping.addToBuilder(TreeBuilder)
this=(org.apache.fop.fo.StandardPropertyListMapping)
org.apache.fop.fo.StandardPropertyListMapping@78bc
builder=(org.apache.fop.fo.TreeBuilder)
org.apache.fop.fo.FOTreeBuilder@33ab
uri=(java.lang.String) http://www.w3.org/1999/XSL/Format
Driver.addPropertyList(PropertyListMapping)
this=(org.apache.fop.apps.Driver)
org.apache.fop.apps.Driver@1f7e
mapping=(org.apache.fop.fo.PropertyListMapping)
org.apache.fop.fo.StandardPropertyListMapping@78bc
Driver.addPropertyList(String)
this=(org.apache.fop.apps.Driver)
org.apache.fop.apps.Driver@1f7e
listClassName=(java.lang.String)
org.apache.fop.fo.StandardPropertyListMapping
mapping=(org.apache.fop.fo.PropertyListMapping)
org.apache.fop.fo.StandardPropertyListMapping@78bc
Driver.setupDefaultMappings()
this=(org.apache.fop.apps.Driver)
org.apache.fop.apps.Driver@1f7e
Driver()
this=(org.apache.fop.apps.Driver)
org.apache.fop.apps.Driver@1f7e


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Adding Properties to the FOP driver

2001-09-07 Thread avespa

Hello,

In my code to render a PCL/PDF from XML, I set the following properties:

driver.addElementMapping(org.apache.fop.fo.StandardElementMapping);

driver.addElementMapping(org.apache.fop.svg.SVGElementMapping);

driver.addPropertyList(org.apache.fop.fo.StandardPropertyListMapping);

driver.addPropertyList(org.apache.fop.svg.SVGPropertyListMapping);

These seem to work fine except now that I have the FOP .18 in VAJ, I get
class non defined errors in the .fo.* package.  I also got errors in the
driver=new driver() statement, which seem to stem from these same lines of
code in the constructor of that class.

Is there a reason why this is happening?  The NonDefClass errors seem to be
on subclasses of other classes - not sure why this isn't working.

Thanks for any insight.

Tony

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Adding Properties to the FOP driver

2001-09-07 Thread jthaemlitz


I'm also using .18 in VAJ and the org.apache.fop.fo.properties package did
not import for me.  I got similar errors to what you are describing.  Try
exporting these class files from fop.jar and importing them into VAJ.

There were a few other class files that were not in the source, I used the
same deal.

JohnPT




   

fop-dev-return-10181-jthaemlitz=oreillyauto.com@XML.   

APACHE.ORG To: 
[EMAIL PROTECTED]  
   cc: 

09/07/01 04:49 PM  
Subject: Adding Properties to the FOP driver
Please respond to fop-dev  

   

   





Hello,

In my code to render a PCL/PDF from XML, I set the following properties:

driver.addElementMapping(org.apache.fop.fo.StandardElementMapping);

driver.addElementMapping(org.apache.fop.svg.SVGElementMapping);

driver.addPropertyList(org.apache.fop.fo.StandardPropertyListMapping);

driver.addPropertyList(org.apache.fop.svg.SVGPropertyListMapping);

These seem to work fine except now that I have the FOP .18 in VAJ, I get
class non defined errors in the .fo.* package.  I also got errors in the
driver=new driver() statement, which seem to stem from these same lines of
code in the constructor of that class.

Is there a reason why this is happening?  The NonDefClass errors seem to be
on subclasses of other classes - not sure why this isn't working.

Thanks for any insight.

Tony

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]










-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Adding Properties to the FOP driver

2001-09-07 Thread avespa

I actually tried that and still get the error - only now I can't view the
source since I used the classes vs the java.

Any other suggestions?  I'm kinda stuck...

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 6:04 PM
To: [EMAIL PROTECTED]
Subject: Re: Adding Properties to the FOP driver



I'm also using .18 in VAJ and the org.apache.fop.fo.properties package did
not import for me.  I got similar errors to what you are describing.  Try
exporting these class files from fop.jar and importing them into VAJ.

There were a few other class files that were not in the source, I used the
same deal.

JohnPT




 

fop-dev-return-10181-jthaemlitz=oreillyauto.com@XML.

APACHE.ORG
To: [EMAIL PROTECTED]  
 
cc: 
09/07/01 04:49 PM
Subject: Adding Properties to the FOP driver
Please respond to fop-dev

 

 





Hello,

In my code to render a PCL/PDF from XML, I set the following properties:

driver.addElementMapping(org.apache.fop.fo.StandardElementMapping);

driver.addElementMapping(org.apache.fop.svg.SVGElementMapping);

driver.addPropertyList(org.apache.fop.fo.StandardPropertyListMapping);

driver.addPropertyList(org.apache.fop.svg.SVGPropertyListMapping);

These seem to work fine except now that I have the FOP .18 in VAJ, I get
class non defined errors in the .fo.* package.  I also got errors in the
driver=new driver() statement, which seem to stem from these same lines of
code in the constructor of that class.

Is there a reason why this is happening?  The NonDefClass errors seem to be
on subclasses of other classes - not sure why this isn't working.

Thanks for any insight.

Tony

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]










-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: ClassDefNotFound for FOP for VAJ

2001-09-07 Thread COFFMAN Steven

So ignore your earlier questions, or do you still need answers to those?
-Steve

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 4:48 PM
To: [EMAIL PROTECTED]
Subject: ClassDefNotFound for FOP for VAJ
Importance: High


Hello again...

I seem to be working through my issues but this one has me stuck - when I
try to create a new driver, my program crashes on Uncaught exception
(java.lang.NoClassDefFoundError: org.apache.fop.fo.LengthProperty$Maker) - I
have this class in my repository and have re-imprted the source - any ideas?

Please help!






Debugger Stack Trace Report:

Thread[main,5,main] (Alive)
Uncaught exception (java.lang.NoClassDefFoundError:
org.apache.fop.fo.LengthProperty$Maker)

StandardPropertyListMapping.addToBuilder(TreeBuilder)
this=(org.apache.fop.fo.StandardPropertyListMapping)
org.apache.fop.fo.StandardPropertyListMapping@78bc
builder=(org.apache.fop.fo.TreeBuilder)
org.apache.fop.fo.FOTreeBuilder@33ab
uri=(java.lang.String) http://www.w3.org/1999/XSL/Format
Driver.addPropertyList(PropertyListMapping)
this=(org.apache.fop.apps.Driver)
org.apache.fop.apps.Driver@1f7e
mapping=(org.apache.fop.fo.PropertyListMapping)
org.apache.fop.fo.StandardPropertyListMapping@78bc
Driver.addPropertyList(String)
this=(org.apache.fop.apps.Driver)
org.apache.fop.apps.Driver@1f7e
listClassName=(java.lang.String)
org.apache.fop.fo.StandardPropertyListMapping
mapping=(org.apache.fop.fo.PropertyListMapping)
org.apache.fop.fo.StandardPropertyListMapping@78bc
Driver.setupDefaultMappings()
this=(org.apache.fop.apps.Driver)
org.apache.fop.apps.Driver@1f7e
Driver()
this=(org.apache.fop.apps.Driver)
org.apache.fop.apps.Driver@1f7e


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: ClassDefNotFound for FOP for VAJ

2001-09-07 Thread avespa

Actually, I still need answers to them - I seem to be having intermitten
issues

-Original Message-
From: COFFMAN Steven [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 6:24 PM
To: '[EMAIL PROTECTED]'
Subject: RE: ClassDefNotFound for FOP for VAJ


So ignore your earlier questions, or do you still need answers to those?
-Steve

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 4:48 PM
To: [EMAIL PROTECTED]
Subject: ClassDefNotFound for FOP for VAJ
Importance: High


Hello again...

I seem to be working through my issues but this one has me stuck - when I
try to create a new driver, my program crashes on Uncaught exception
(java.lang.NoClassDefFoundError: org.apache.fop.fo.LengthProperty$Maker) - I
have this class in my repository and have re-imprted the source - any ideas?

Please help!






Debugger Stack Trace Report:

Thread[main,5,main] (Alive)
Uncaught exception (java.lang.NoClassDefFoundError:
org.apache.fop.fo.LengthProperty$Maker)

StandardPropertyListMapping.addToBuilder(TreeBuilder)
this=(org.apache.fop.fo.StandardPropertyListMapping)
org.apache.fop.fo.StandardPropertyListMapping@78bc
builder=(org.apache.fop.fo.TreeBuilder)
org.apache.fop.fo.FOTreeBuilder@33ab
uri=(java.lang.String) http://www.w3.org/1999/XSL/Format
Driver.addPropertyList(PropertyListMapping)
this=(org.apache.fop.apps.Driver)
org.apache.fop.apps.Driver@1f7e
mapping=(org.apache.fop.fo.PropertyListMapping)
org.apache.fop.fo.StandardPropertyListMapping@78bc
Driver.addPropertyList(String)
this=(org.apache.fop.apps.Driver)
org.apache.fop.apps.Driver@1f7e
listClassName=(java.lang.String)
org.apache.fop.fo.StandardPropertyListMapping
mapping=(org.apache.fop.fo.PropertyListMapping)
org.apache.fop.fo.StandardPropertyListMapping@78bc
Driver.setupDefaultMappings()
this=(org.apache.fop.apps.Driver)
org.apache.fop.apps.Driver@1f7e
Driver()
this=(org.apache.fop.apps.Driver)
org.apache.fop.apps.Driver@1f7e


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




[DO NOT REPLY: Bug 3214] Segfault when trying to build Fop sources

2001-09-07 Thread bugzilla

PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3214

*** shadow/3214 Tue Aug 21 16:02:01 2001
--- shadow/3214.tmp.1235Fri Sep  7 16:43:06 2001
***
*** 26,29 
  
  Buildfile: build.xml
  build.sh: line 24: 18163 Segmentation fault  $JAVA_HOME/bin/java
! -Dant.home=$ANT_HOME -classpath $LOCALCLASSPATH org.apache.tools.ant.Main $*
--- 26,47 
  
  Buildfile: build.xml
  build.sh: line 24: 18163 Segmentation fault  $JAVA_HOME/bin/java
! -Dant.home=$ANT_HOME -classpath $LOCALCLASSPATH org.apache.tools.ant.Main $*
! 
! --- Additional Comments From [EMAIL PROTECTED]  2001-09-07 16:43 ---
! Is this related to the known Java problem described on their install notes
! 
! http://java.sun.com/j2se/1.3/install-linux-sdk.html
! 
! quote
! The newer glibc-2.2.x libraries cannot correctly handle initial thread stack 
! sizes larger than 6 MB. This can cause a segmentation fault on come Linux 
! platforms that use the newer libraries. Such platforms include Red Hat 7.0, 
! SuSe 7.2, and Debian 2.2. The problem will not occur on Linux platforms that 
! are using glibc-2.1.x such as Red Hat 6.1 and 6.2. It will also not affect Red 
! Hat 7.1 because it uses a different thread stack layout. This problem is being 
! tracked as bug 4466587. 
! 
! Workaround - Use ulimit -s 2048 in bash shell or limit stacksize 2048 in 
! tcsh to limit the initial thread stack to 2 MB. 
! /quote

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]