Re: [ANNOUNCEMENT] FOP 0.20.4 Release Candidate available

2002-06-24 Thread Keiron Liddle

Hi all,

I was just wondering why the distributions are so large and also larger
than the previous release.
The src release contains the generated html and javadocs which is about
an extra 2.5Mb compressed (18Mb uncompressed).

The bin release contains the xml-docs and the html-docs, ant.jar and the
hyphenation xml files. This adds about 1.25Mb to the compressed size.
I know there are reasons for this but is it that useful. The ant jar is
only to convert some fo files. The hyph and xml-docs are there for
reference I suppose.
It would seem to me we could make the dists a bit smaller so it is
easier to download and use.


Keiron.

On Thu, 2002-06-13 at 18:10, Christian Geisert wrote:
 the Release Candidate for 0.20.4 is available at
 http://xml.apache.org/dist/fop for downloading and testing.



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




Re: Design Documentation Question

2002-06-24 Thread Keiron Liddle

Hi Dave,

On Sun, 2002-06-23 at 15:02, David Penton wrote:
 I'm just trying to get familiar with fop design, with the ultimate 
 intention of participating.  I have two questions.
 
 I got the source from cvs.  I am looking in xml-fop/docs/design and also 
 xml-fop/docs/design/alt.design but it is not clear to me how I am meant 
 to view the various documentation files (xml, png, svg and whatnot) in 
 those directories.  Are they meant to be examined separately, or are 
 they used to create some html or pdf that I should look at?

The htmldoc build target converts these into the html documentation
that you can see on the website. It is easier to view the html
documentation.


 Also, I cannot get at the faq servlet listed on the website.  I think I 
 saw mention somewhere in the archives to this list that there may be a 
 known problem with, but I cannot for the life of me re-locate that in 
 the archive.  How does one get at the latest faq for development?

The faq is really for user issues.

What do you want to know?

 - Dave Penton -

Keiron.


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




Re: FOP in the forrest

2002-06-24 Thread Keiron Liddle

On Fri, 2002-06-21 at 22:22, J.Pietschmann wrote:
 Christian Geisert wrote:
  Keiron Liddle schrieb:
  Any questions, comments?
 
 I'm already adapting the docs to the forrest 1.1 DTDs

Thanks.

  There are some issues with the (old) documentation for the maintenance 
  branch which I will bring up in an extra mail.
 
 Are they different from HEAD?

The docs in the branch are obselete and shouldn't be used.
Maybe we should remove them to avoid confusion.

 J.Pietschmann



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




Re: [ANNOUNCEMENT] FOP 0.20.4 Release Candidate available

2002-06-24 Thread Durai Murugan

Yes,
   The file is so large and takes hours to download. It can
be distributed by dicritizing the elements of FOP package.

So that it can downloaded when required.

durai

--- Keiron Liddle [EMAIL PROTECTED] wrote:
 Hi all,
 
 I was just wondering why the distributions are so large
 and also larger
 than the previous release.
 The src release contains the generated html and javadocs
 which is about
 an extra 2.5Mb compressed (18Mb uncompressed).
 
 The bin release contains the xml-docs and the html-docs,
 ant.jar and the
 hyphenation xml files. This adds about 1.25Mb to the
 compressed size.
 I know there are reasons for this but is it that useful.
 The ant jar is
 only to convert some fo files. The hyph and xml-docs are
 there for
 reference I suppose.
 It would seem to me we could make the dists a bit smaller
 so it is
 easier to download and use.
 
 
 Keiron.
 
 On Thu, 2002-06-13 at 18:10, Christian Geisert wrote:
  the Release Candidate for 0.20.4 is available at
  http://xml.apache.org/dist/fop for downloading and
 testing.
 
 
 

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


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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




Loading FOP userconfig file from EAR

2002-06-24 Thread Toulson, Simon

I am using fop 0.20.3 as part of a web server application, distributed as an EAR file, 
 running under weblogic 6.1.  Unfortunately we are not able to distribute the 
application to our production servers in any other form.  We have our own 
userconfig.xml file which specifies the fonts used by Fop.  Unfortunately the loading 
of this file always fails.  
The userconfig.xml file is passed to the Options.loadUserconfiguration() static method 
as a string. Having a quick look at the Fop source code, a File object is created, 
which I think results in weblogic being unable to load the file. Are there any plans 
to overload the Options.loadUserconfiguration() method to pass in an InputStream, or 
any other alternatives that would allow the userconfig.xml file to be loaded from an 
EAR file ?   
regards,


Simon
--
Simon Toulson
CREDIT | FIRST  
SUISSE | BOSTON 
Equity Capital Markets IT, London   Direct: +44-207-888-5268


This message is for the named person's use only. It may contain sensitive and private 
proprietary or legally privileged information. No confidentiality or privilege is 
waived or lost by any mistransmission. If you are not the intended recipient, please 
immediately delete it and all copies of it from your system, destroy any hard copies 
of it and notify the sender. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. CREDIT SUISSE GROUP and each legal entity in the CREDIT SUISSE FIRST BOSTON 
or CREDIT SUISSE ASSET MANAGEMENT business units of CREDIT SUISSE FIRST BOSTON reserve 
the right to monitor all e-mail communications through its networks. Any views 
expressed in this message are those of the individual sender, except where the message 
states otherwise and the sender is authorized to state them to be the views of any 
such entity.
Unless otherwise stated, any pricing information given in this message is indicative 
only, is subject to change and does not constitute an offer to deal at any price 
quoted. Any reference to the terms of executed transactions should be treated as  
preliminary only and subject to our formal written confirmation.



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




[GUMP] Build Failure - xml-fop

2002-06-24 Thread Sam Ruby


This email is autogenerated from the output from:
http://jakarta.apache.org/builds/gump/2002-06-24/xml-fop.html


Buildfile: build.xml

init-avail:

init-filters-xalan2:
 [copy] Copying 1 file to /home/rubys/jakarta/xml-fop/build/src/codegen

init:
 [echo] --- Fop 1.0dev [1999-2002] 

prepare:
 [echo] Preparing the build directories
[mkdir] Created dir: 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/fo/properties
[mkdir] Created dir: 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts
[mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/src/org/apache/fop/svg
[mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/classes/conf
[mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/classes/hyph
 [copy] Copying 3 files to /home/rubys/jakarta/xml-fop/build/classes/conf

codegen:
 [echo] Resetting codegen directory
 [copy] Copying 30 files to /home/rubys/jakarta/xml-fop/build/src/codegen
 [echo] Generating the java files from xml resources
[style] Processing /home/rubys/jakarta/xml-fop/build/src/codegen/allprops.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/fo/properties/Constants.java
[style] Loading stylesheet 
/home/rubys/jakarta/xml-fop/build/src/codegen/genconst.xsl
[style] Processing /home/rubys/jakarta/xml-fop/build/src/codegen/foproperties.xml 
to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/fo/properties/fo_ignore_this.java
[style] Loading stylesheet 
/home/rubys/jakarta/xml-fop/build/src/codegen/properties.xsl
[style] Processing /home/rubys/jakarta/xml-fop/build/src/codegen/foproperties.xml 
to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/fo/properties/FOPropertyMapping.java
[style] Loading stylesheet 
/home/rubys/jakarta/xml-fop/build/src/codegen/propmap.xsl
[style] Processing /home/rubys/jakarta/xml-fop/build/src/codegen/foproperties.xml 
to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/fo/properties/foenums_ignore_this.java
[style] Loading stylesheet 
/home/rubys/jakarta/xml-fop/build/src/codegen/enumgen.xsl
[style] Processing /home/rubys/jakarta/xml-fop/build/src/codegen/charlist.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/CodePointMapping.java
[style] Loading stylesheet 
/home/rubys/jakarta/xml-fop/build/src/codegen/code-point-mapping.xsl
[style] Transforming into 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/CourierBold.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/CourierBold.java
[style] Loading stylesheet 
/home/rubys/jakarta/xml-fop/build/src/codegen/font-file.xsl
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/Courier.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/Courier.java
[style] home/rubys/jakarta/xml-fop/build/src/codegen/font-file.xsl:0:0: Fatal 
Error! java.lang.RuntimeException: Programmer assertion is incorrect! - Namespace 
context can not be null! Cause: java.lang.RuntimeException: Programmer assertion is 
incorrect! - Namespace context can not be null!
[style] Failed to process /home/rubys/jakarta/xml-fop/src/codegen/Courier.xml

BUILD FAILED
/home/rubys/jakarta/xml-fop/build.xml:431: Fatal error during transformation

Total time: 30 seconds

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




Re: [GUMP] Build Failure - xml-fop

2002-06-24 Thread Keiron Liddle

Hi,


On Mon, 2002-06-24 at 15:20, Sam Ruby wrote:
 [style] Transforming into 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts
 [style] Processing /home/rubys/jakarta/xml-fop/src/codegen/CourierBold.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/CourierBold.java
 [style] Loading stylesheet 
/home/rubys/jakarta/xml-fop/build/src/codegen/font-file.xsl
 [style] Processing /home/rubys/jakarta/xml-fop/src/codegen/Courier.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/Courier.java
 [style] home/rubys/jakarta/xml-fop/build/src/codegen/font-file.xsl:0:0: Fatal 
Error! java.lang.RuntimeException: Programmer assertion is incorrect! - Namespace 
context can not be null! Cause: java.lang.RuntimeException: Programmer assertion is 
incorrect! - Namespace context can not be null!
 [style] Failed to process /home/rubys/jakarta/xml-fop/src/codegen/Courier.xml

If you need some info to fix this.
I tried the latest releases of the xalan (and ant, xerces, xml-apis) and
the same problem occurs.

This is the statment in ant that is causing the problem:

style basedir=src/codegen includes=*.xml
   style=${fontfile.xsl}
   destdir=${build.src}/${replacestring}/render/pdf/fonts/
   extension=.java/

The first transform is working correctly (so if I keep running it it
will eventually transform all of the files) but the second transform
gets the exception.

So it would appear to be a problem with some value not being reset.

Do you need any more info?

Keiron.


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




DO NOT REPLY [Bug 10179] New: - fo:basic-links don't work in region-after areas.

2002-06-24 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10179.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

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

fo:basic-links don't work in region-after areas.

   Summary: fo:basic-links don't work in region-after areas.
   Product: Fop
   Version: 0.20.3
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Normal
  Priority: Other
 Component: pdf renderer
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


fo:basic-links don't seem to work in region-after areas.  The pdf produced from 
the following xsl:fo is just a page with google on it three times.  The 
bottom one doesn't appear as a hyperlink.


fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
fo:layout-master-set
fo:simple-page-master master-name=page
  page-height=29.7cm 
  page-width=21cm
fo:region-before extent=3cm/
fo:region-body margin-top=3cm/
fo:region-after extent=1.5cm/
/fo:simple-page-master
fo:page-sequence-master master-name=front-section
  fo:repeatable-page-master-alternatives  
fo:conditional-page-master-reference master-reference=page page-
position=first/
fo:conditional-page-master-reference master-reference=page page-
position=rest/
  /fo:repeatable-page-master-alternatives
/fo:page-sequence-master

/fo:layout-master-set

fo:page-sequence master-reference=front-section
fo:static-content flow-name=xsl-region-before
  fo:block
fo:basic-link external-destination=www.google.comgoogle/fo:basic-link
  /fo:block
/fo:static-content 
fo:static-content flow-name=xsl-region-after
  fo:block
fo:basic-link external-destination=www.google.comgoogle/fo:basic-link
  /fo:block
  /fo:static-content 
fo:flow flow-name=xsl-region-body
  fo:block
fo:basic-link external-destination=www.google.comgoogle/fo:basic-
link
  /fo:block
/fo:flow
  /fo:page-sequence   
/fo:root

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




Aw: PDF JavaScript and Form Fields: FOP prototype version is available

2002-06-24 Thread Holger Evers



I found FOP when searching a possibility for 
setting up a pdf-servlet-server.
Like almost all of us, i also want to use form 
fields in my pdf's. Unfortunately i was not able to integrate your changes in 
the 0.20.3 or 0.20.4rc version of FOP, obviously there's missing the 
'addField'-method of PDFAnnotList and iwouldn't know how to handle a 
FieldList, if i inserted one.
Have you (or anyone) yet used the above mentioned 
versions? Maybe i made another mistake when adapting the code into 0.20.4, any 
help would be appreciated.

Thanks, Holger



Re: [ANNOUNCEMENT] FOP 0.20.4 Release Candidate available

2002-06-24 Thread Keiron Liddle

On Tue, 2002-06-18 at 22:36, J.Pietschmann wrote:
 [EMAIL PROTECTED] wrote:
  Is it me, or do the examples in fop-0.20.4rc/docs/examples/svg not work.
  
  ../../../fop.sh external.fo external.pdf
  [INFO] FOP 0.20.4rc
  [INFO] building formatting object tree
  [Fatal Error] external.fo:79:81: The prefix xlink for attribute xlink:href is 
not bound.
  [ERROR] The prefix xlink for attribute xlink:href is not bound.
 
 The namespace declaration is indeed missing. I'm currently
 reworking some parts of the examples, I'll fix this too. This
 will take one or two more days though.

I've already fixed this particular problem.

Keiron.


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




Re: Loading FOP userconfig file from EAR

2002-06-24 Thread J.Pietschmann

Toulson, Simon wrote:
 We have our own userconfig.xml file which specifies the fonts used by Fop.
  Unfortunately the loading of this file always fails.

That's easy to see, the userconfig has to be a real file.

You can essentially try to copy what is in
  Options.loadUserconfiguration(File userConfigFile),
substitute
  new InputSource(your classloader.getRessourceAsStream(...))
or something for
  InputHandler.getFileInputSource(...)

 This message is for the named person's use .
Oh no!

HTH
J.Pietschmann



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




DO NOT REPLY [Bug 10179] - fo:basic-links don't work in region-after areas.

2002-06-24 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10179.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

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

fo:basic-links don't work in region-after areas.

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE



--- Additional Comments From [EMAIL PROTECTED]  2002-06-24 20:13 ---


*** This bug has been marked as a duplicate of 8968 ***

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




DO NOT REPLY [Bug 8968] - basic-link with internal-destination atribute doesn't work inside static-content element

2002-06-24 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8968.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

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

basic-link with internal-destination atribute doesn't work inside static-content 
element

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]



--- Additional Comments From [EMAIL PROTECTED]  2002-06-24 20:13 ---
*** Bug 10179 has been marked as a duplicate of this bug. ***

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




cvs commit: xml-fop/src/org/apache/fop/fo/expr DataTypeNotImplementedException.java FunctionNotImplementedException.java

2002-06-24 Thread pbwest

pbwest  2002/06/24 15:28:10

  Added:   src/org/apache/fop/fo/expr Tag: FOP_0-20-0_Alt-Design
DataTypeNotImplementedException.java
FunctionNotImplementedException.java
  Log:
  Extend PropertyException
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.1.2.1   +15 -0 
xml-fop/src/org/apache/fop/fo/expr/Attic/DataTypeNotImplementedException.java
  
  
  
  
  1.1.2.1   +15 -0 
xml-fop/src/org/apache/fop/fo/expr/Attic/FunctionNotImplementedException.java
  
  
  
  

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




cvs commit: xml-fop/src/org/apache/fop/fo/expr PropertyParser.java

2002-06-24 Thread pbwest

pbwest  2002/06/24 15:31:58

  Modified:src/org/apache/fop/fo/expr Tag: FOP_0-20-0_Alt-Design
PropertyParser.java
  Log:
  Use FunctionNotImplementedException
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.5.2.3   +18 -24xml-fop/src/org/apache/fop/fo/expr/PropertyParser.java
  
  Index: PropertyParser.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/expr/PropertyParser.java,v
  retrieving revision 1.5.2.2
  retrieving revision 1.5.2.3
  diff -u -r1.5.2.2 -r1.5.2.3
  --- PropertyParser.java   23 Jun 2002 15:02:18 -  1.5.2.2
  +++ PropertyParser.java   24 Jun 2002 22:31:58 -  1.5.2.3
  @@ -34,7 +34,6 @@
   import org.apache.fop.datatypes.UriType;
   import org.apache.fop.datatypes.FromParent;
   import org.apache.fop.datatypes.FromNearestSpecified;
  -//import org.apache.fop.datatypes.*;
   
   import java.util.HashMap;
   
  @@ -397,8 +396,9 @@
   break;
   
   case INHERIT:
  -throw new PropertyException(INHERIT not supported);
  -//break;
  +prop = new Inherit(property);
  +//throw new PropertyException(INHERIT not supported);
  +break;
   
   case URI:
   prop = new UriType(property, currentTokenValue);
  @@ -459,8 +459,7 @@
   }
   else if (currentTokenValue.equals(rgb-icc)) {
   PropertyValue[] args = parseArgs(6);
  -throw new PropertyException
  -(rgb-icc function is not supported.);
  +throw new FunctionNotImplementedException(rgb-icc);
   }
   else if (currentTokenValue.equals(system-color)) {
   PropertyValue[] args = parseArgs(1);
  @@ -491,13 +490,11 @@
   }
   else if (currentTokenValue.equals(label-end)) {
   PropertyValue[] args = parseArgs(0);
  -throw new PropertyException
  -(label-end function is not supported.);
  +throw new FunctionNotImplementedException(label-end);
   }
   else if (currentTokenValue.equals(body-start)) {
   PropertyValue[] args = parseArgs(0);
  -throw new PropertyException
  -(body-start function is not supported.);
  +throw new FunctionNotImplementedException(body-start);
   }
   // N.B. see comments on classes FromNearestSpecified and
   // FromParent for explanation of this section
  @@ -515,9 +512,8 @@
   if (! PropertyConsts.isShorthand(property)) {
   // develop the function value and return it as
   // a property.
  -throw new PropertyException
  -(currentTokenValue +
  -  function is not supported.);
  +throw new FunctionNotImplementedException
  + (currentTokenValue);
   }
   // else a shorthand - do nothing; prop has been set
   // to the appropriate pseudo-propertyValue
  @@ -546,28 +542,26 @@
   // pseudo-propertyValue
   }
   else {   // An NCName but not a shorthand
  -// Perform normal from-parent processing
  -throw new PropertyException
  -(currentTokenValue +
  -  function is not supported.);
  +// Perform normal from-? processing
  +throw new FunctionNotImplementedException
  + (currentTokenValue);
   }
   }
   }
   else if (currentTokenValue.equals(from-table-column)) {
   PropertyValue[] args = parseArgs(0, 1);
  -throw new PropertyException
  -(from-table-column function is not supported.);
  +throw new FunctionNotImplementedException
  +   (from-table-column);
   }
   else if (currentTokenValue.equals(proportional-column-width)) {
   PropertyValue[] args = parseArgs(1);
  -throw new PropertyException
  -(proportional-column-width 
  - + function is not supported.);
  +throw new FunctionNotImplementedException
  +   (proportional-column-width);
   }
   else