Re: Java Extensions in Xalan vs Fop

2001-07-13 Thread Gareth Noyce

  The Java class is on the classpath, I included a function 'main' to test
  this and all works fine. The XML, XSL and Java will all process through
  Xalan as expected, and an XSL:FO file is produced correctly, no
problems.
  However, I wish to use FOP to do all this in one go with the usual
  java -jar fop.jar -xml g-test.xml -xsl g-test.xsl -pdf out.pdf -- and
this
  is where my problem crops up. When I run the command as shown, the
error:

 I may get something wrong, but don't you have to specify an additional
 -cp for you BchDate class? fop.jar contains a manifest file which
 specifies the classpath to use. If you need more than the standard
 packages, I'd write something like:

 java -jar -cp yourPath fop.jar -xml ...

 I didn't test this but it's worth a try.

Hi Jeremias,

Thanks for the response; I've already tried explicitly giving the classpath,
and I've also put the compiled class in the same directory as the fop.jar
file to see if that made any difference. Neither of these has solved the
problem.

Can anyone offer any other suggestions?

Regards

Gareth Noyce



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




AW: is there something like internal-graphic ?

2001-07-13 Thread Thieler Jens

 -Ursprüngliche Nachricht-
 Von: Heiko Barthel [mailto:[EMAIL PROTECTED]]
 Gesendet am: Donnerstag, 12. Juli 2001 18:33
 Betreff: is there something like internal-graphic ?

 I use FOP currently with external graphics, but I want to add directly
 binary data of an element like:

 bmp
  BDGADUGADUGFSZFDSSJDGSGDSDSDSDTSDGSICXSGDSD(S
 /bmp

 Does anybody know a way to include this directly in the FO or do I have to
 create a file with the data of bmp and use fo:external-graphic ?

Well, I ran into a similar problem
when imbedding Batik generated SVG with FOP 0.18.

Batik's default handling of raster images is:
image width=112 height=60 x=20 y=20
xlink:href=data:image/png;base64,iVBORw0KGgoNSUhEUgAAAHA8CAYAAAC+ej
5cAAACeElEQVR42u2cgW7D
IAxES9cPb7+cKZqiViyADTaB9J1UqUsMrbicOQPr7QaWRmAIehCjEy3wch6B27X9
+uf7NL7WVoY7JMykHn1bCDRV45F6JKTolQeBFwEEDkmnXmYHApd3rxC4jME5xoNB
9SJnU5mUsHZiUeBU6VHflop/krmsVZEokDICQCCAQAgEEAjGg0L+tELfpgyBwKGE
lWLYTlqMvKM2HKUYjH0j1npFRt4fKdRVcSUiamqTLYYj2W6l9JqTWvsyiRDoQmqv
itM+8iRCoIn6LOfArU/54ShcaLfKPAyMPC2jwGEpsiWd1pWICz3NqUoehFw6feOH
gW1V3za4z2edgNfr75Viv37Ux2d8en/7+32fOXB4baiNK9+HwKY5znrJS9vf+ztC
oIt5aV0L1QMTI7LwFkTIi3ONmUGB/wY4p7Te3YIWF1oHBB66y1yMdw3I/wdOMLi9
OxAQ6GhOevr0UTAmRq3CnQh7NTEHTqtIv3QOgc2DNwfRmhS6f+FQuV+KSePSWO2g
hMZ2H23rC8Yt9dmosuKuJE86WPE7VNhSH6bxEnOTL3M8TUy8XXq/MSWtdsbz3IO9
QZBCPUgMHXFR3k+aCqVLanubEpm+tejDYTAv5EY1xbtFoa+PfyiU1ErmIqm0x5CU
0qaVWz33UNMipsZ6wdm/vZeJCUakRcHnfDU8FRhQoZX68vMrKzGK+WY28rzrwKNU
GjtVfJKpyZULXg+N/PNGKDBcS4nWx+hzKzmyh2XUdpKVqTmZxNqxC4vUrDuXw35g
V61onVL1D8ZIAltUOGEZkVvzbPm1Qn7kYCLkjlH4liWjCVx4LhyXFgEAq+AXJ4X6
j6rc7F0ASUVORK5CYILz /

FOP 0.18 wouldn't support this voluntarily,
so I had to hack (as far as I remember) FopImageFactory and AbstractFopImage
in package org.apache.fop.image.
It did work for instream SVG.
It should have worked for fo:external-graphic as well, but I didn't verify
this.

FOP 0.19 uses Batik to render SVG.
So you could try to fool FOP with something like:

fo:instream-foreign-object
  svg width=80 height=80
image width=80 height=80 x=0 y=0
xlink:href=data:image/png;base64,... /
  /svg
/fo:instream-foreign-object

(I haven't testet this either.)

Jens Thieler

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




Re: properties, elements

2001-07-13 Thread Keiron Liddle


On Thu, 12 Jul 2001 22:50:44 Karen Lease wrote:
 A few quick thoughts...
 
 That was probably just my XML super-ego thinking that case-by-case
 checks were a _bad_ thing... But on the other hand, as Arved points out,
 the complexity of the model would make it rather problematic. It's
 certainly more important to focus on detecting cases which FOP (or FO)
 can't or isn't supposed to handle and giving some kind of comprehensible
 message to the user, rather than getting hung up on formal correctness.

I was thinking along the lines of some simple hashmaps (tables) containing
which elements are allowed as a child for the current element and which are
not allowed as a descendant, which is passed down to the children. This
includes sets such as block and inline.

The attribute constraint example is more difficult and will we run into a
problem handling the situation anyway. So the error handling could be left
until the problem is encountered.


 We also need to think about what to do when we encounter this kind of
 case. Obviously we want to inform the user. We could either stop on an
 exception or just ignore the offending FO and keep going.

Usually a spec has a section on how the processor should handle errors but
I couldn't find it in the XSL spec.

Anyway, I think I will create a document with all the constraint info for
all the elements.

Keiron.

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




Re: JRun exited abnormally...

2001-07-13 Thread Alex McLintock

Ok - so what does this tell you?

a) Your JRun failed for some reason
b) You should be using a proper servlet engine.

Now what has this got to do with FOP? 

Oh ok - I'll try to be helpful for a few minutes.

Basically by adding classes to JRun's classpath you have added to the classes and
packages available to it. Jrun needs certain standard things - like an XML parser.
What you have probably done is to replace the old XML parser used by JRun with 
a later one from Apache. This would be fine if it worked - but it looks like you
haven't fully installed it.

Now ideally JRun should have two totally separate classpaths - one for the 
servlet engine itself - which you don't change - and one for each 
servlet zone  for servlets(and jsp's)  (I think JRun calls them jsms.)

If you want to install FOP you should be ideally be installing FOP as part of a
servlet.

--

Ok - now if this is all old hat to you and you are pointing out the mistakes in
the above explanation lets think about what you can do:

1) put the all FOP classes onto the *end* of your classpath of a single JSM.
You might find a file called jsm.properties (but that is from my experience of
a really old version of JRun on unix). Alternatively you might be able to set this
up with the GUI.

2) Ask in a JRun mailing list how to add new classes properly.

3) If you ammend the setup of some software you really should be able to back out
your changes in case you mess up. If you can't then you only have yourself to blame.

Alex



 --- [EMAIL PROTECTED] wrote:  
 
 Hi all!
 
  I have installed JRun 3.0 on Win 2000 machine. I installed it as
 application not as windows services. It was working quite fine but then i
 added a couple of jar files in JRUN\servers\lib\ext and some jsps and
 classes in my web application while the server was running. Then i
 restarted the server. The server did not start and gave the error
 JRun exited abnormally Check evenet log. I checked the log file and found
 out that it gave error on loading default-app.
 The error is
 error (JRun) JRun Aborting! [javax.xml.parsers.FactoryConfigurationError:
 java.lang.classNotFoundException:
 org.apache.Crimson.jaxp.SAXParserFactoryImpl]
 
 Now no server is running even the admin server. Can anybody help me out of
 this.???
 Thanx
 Wajid
 
  

=
Alex McLintock[EMAIL PROTECTED]Open Source Consultancy in London
OpenWeb Analysts Ltd, http://www.OWAL.co.uk/ 
DR WHO COMPETITION: 
http://www.diversebooks.com/cgi-bin/caption/captions.cgi?date=200104
Get Your XML T-Shirt t-shirt/ at http://www.inversity.co.uk/


Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

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




space

2001-07-13 Thread Wolf Gustavo (SGC-EXT)

Hi all,
  the documents I am preparing are divided in sections. How can I
ask Fop to check how much space is left on the page, in order to decide
whether to write the title of the section in a new page or not? (If there is
a lot of space left, I don't want to cut to next page).

Thanks a lot,
 Gustavo

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




System hanging

2001-07-13 Thread Mads Soerensen - Interact



Hi!
UsingFOP 0.19 I call Driver.render() 
and a PDF file is rendered, great!! But the program does not exit like it is 
supposed to after completing the render. In a previous message Keiron Liddle 
wrote that he had changed CommandLine toexit after completion, how is this 
done?

Regards 
Mads Sorensen


cvs commit: xml-fop/docs/xml-docs/fop examples.xml svg.xml

2001-07-13 Thread keiron

keiron  01/07/13 05:17:59

  Modified:docs/xml-docs/fop examples.xml svg.xml
  Log:
  some slightly more info about svg - pdf
  
  Revision  ChangesPath
  1.10  +0 -4  xml-fop/docs/xml-docs/fop/examples.xml
  
  Index: examples.xml
  ===
  RCS file: /home/cvs/xml-fop/docs/xml-docs/fop/examples.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- examples.xml  2001/06/06 12:34:03 1.9
  +++ examples.xml  2001/07/13 12:17:48 1.10
  @@ -45,10 +45,6 @@
 liIn the directory examples/pagination you find a suite of examples showing 
the use 
 of xsl:fo pagination. 
 /li
  -  liIf you are interested in using svg, you may want to look into the 
  -  jump href=http://xml.apache.org/dist/fop/svgtestsuite.jar;svg test 
suite/jump, which 
  -  must be downloaded separately (ca. 2.1 MB). 
  -  /li
   /ul
 pDevelopers will find the first steps to a test suite for all implemented 
formatting objects and 
  properties in xml-fop/test/xml/./p
  
  
  
  1.2   +26 -1 xml-fop/docs/xml-docs/fop/svg.xml
  
  Index: svg.xml
  ===
  RCS file: /home/cvs/xml-fop/docs/xml-docs/fop/svg.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- svg.xml   2001/06/06 12:34:09 1.1
  +++ svg.xml   2001/07/13 12:17:50 1.2
  @@ -36,8 +36,33 @@
   /p
   p
   For more information see jump href=http://xml.apache.org/batik/;Batik/jump for
  -how transocders work.
  +how transcoders work.
   /p
  +
  +p
  +These are the relevant classes, found in the package org.apache.fop.svg :
  +/p
  +p
  +ul
  +liemPDFGraphics2D/em
  +br/
  +used for drawing onto a Graphics2D into an existing pdf document, used
  +internally to draw the svg.
  +/li
  +liemPDFDocumentGraphics2D/em
  +br/
  +used to create a pdf document and inherits from PDFGraphics2D to do the
  +rest of the drawing. Used by the transcoder to create a standalone pdf
  +document from an svg. Can be used independantly the same as any Graphics2D.
  +/li
  +liemPDFTranscoder/em
  +br/
  +used to transcode an svg document into a standalone pdf, via
  +PDFDocumentGraphics2D.
  +/li
  +/ul
  +/p
  +
 /s2
   
   
  
  
  

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




Re: System hanging

2001-07-13 Thread Keiron Liddle


On Fri, 13 Jul 2001 13:40:27 Mads Soerensen - Interact wrote:
 Hi!
 Using FOP 0.19  I call Driver.render() and a PDF file is rendered,
 great!! But the program does not exit like it is supposed to after
 completing the render. In a previous message Keiron Liddle wrote that he
 had changed CommandLine to exit after completion, how is this done?

It is in the current cvs.
It simply calls System.exit after rendering, in the CommandLineStarter.

Hopefully we can have a new release sometime soon anyway.

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




AW: Unicode!

2001-07-13 Thread Stefan Weber

In your own class, before instantiating the Driver.

Stefan



-Ursprüngliche Nachricht-
Von: Klosa Uwe [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 13. Juli 2001 14:07
An: '[EMAIL PROTECTED]'
Betreff: SV: Unicode!


Thank you Stefan!

But I've got another question. Whats the best way to implement this. In my
own class or somewhere in the fop-source?

Uwe

-Ursprungligt meddelande-
Från: Stefan Weber [mailto:[EMAIL PROTECTED]]
Skickat: den 13 juli 2001 12:04
Till: '[EMAIL PROTECTED]'
Ämne: AW: Unicode!


Hi,

You can load an userconfiguration as follows:

import org.apache.fop.apps.Options;

Options opt = new Options();
opt.loadUserconfiguration(PATH TO USERCONFIG / FILE);

Stefan

-Ursprüngliche Nachricht-
Von: Klosa Uwe [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 13. Juli 2001 09:30
An: '[EMAIL PROTECTED]'
Betreff: Unicode!


I have a problem with unicode.

I'm using only fop.jar and w3c.jar with a servlet. I'm using unicode
characters like #x2200; or #x2203;. But those weren't displayed correct. 

I found in the documentation, that I have to add an unicoded truetype font.
I've made the metrics file, too. But now I've got a problem. I'm not using
the commandline. So I can't  start fop with -c conf/userconfig.xml.

Has anyone a solution with an example?

Thanks, Uwe

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


sitewaerts GmbH
Hebelstraße 15
D-76131 Karlsruhe

Tel: +49 (721) 920 918 0
Fax: +49 (721) 920 918 29
http://www.sitewaerts.de




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

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


sitewaerts GmbH
Hebelstraße 15
D-76131 Karlsruhe

Tel: +49 (721) 920 918 0
Fax: +49 (721) 920 918 29
http://www.sitewaerts.de




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




Re: Tree class

2001-07-13 Thread Peter B. West

Arved,

Thanks for the feedback, and thanks for giving me some directions.  I'll 
try to chase some of them down in the next week of so.

Peter

Arved Sandstrom wrote:

 On Tuesday 10 July 2001 04:27, Peter B. West wrote:
 
 
I have attempted to make Tree class operations thread-safe, and have

added a subclass TreeRoot in an attempt to support fail-fast iterators
as in AbstractList and its subclasses.  Comments from more experienced
Java folks would be welcome.

My motivation, apart from the perceived need to give direct expression
to the trees in use, was to provide a platform for some of the tree
flattening operations which werer talked about here briefly.  My
concerns about the relationship between the final form of layout and the
tree structure have tended to resolve in favour of virtual operations on
an underlying tree, because the trees express so eloquently the
relationships between the various layout components.  If virtual
flattening operations on trees are to be implemented, they will have to
have well defined trees to work with, I should think.

I still haven't looked in depth into the code, but it also occurs to me
that, in association with the FO and area trees, a context stack would
be a very useful way of keeping track of a lot of information that is
relevant to the layout process.  Some such stack or stacks may already
be present in the code, explicitly or implicitly.  Can someone point me
in the right direction?

Peter

 
 Hi, Peter
 
 Your Tree class efforts have not gone unnoticed. I've been mulling them over, 
 anyway.
 
 My interest in what you are doing is not related to flattening, per se, 
 although this mechanism may simplify answering questions that we need to ask. 
 The kinds of questions that routinely come up are:
 
 1. Is this area leading or trailing in context (page, even-page, odd-page, 
 column)?
 2. Is this area first or last in a reference-area or page-sequence?
 3. Get me the preceding or succeeding sibling. Get me all siblings and/or 
 ancestors that have this or that constraint (e.g. particular keep);
 4. Tell me if there is a stacking constraint before or after this area? If 
 so, what is it?
 
 There are convoluted mechanisms for doing some of this. Answering questions 
 about trailing conditions (is this area trailing in context? is this the last 
 area in the page sequence?) are currently not so easy. I don't want to even 
 think about trying to answer question 4 for all the different situations - 
 anything your efforts can do to simplify that would be great. I know that you 
 have taken an interest in space-specifier resolution; the first step of 
 course is just to figure out what the sequence of space specifiers is, 
 assuming a stacking constraint exists, and right now that would be a serious 
 pain in the butt.
 
 I would recommend familiarizing with our current area hierarchy, assuming you 
 have not already done so. Basically Pages are flat within the area tree 
 (AreaTree); each page contains 5 AreaContainers (for the regions), and the 
 region-body itself is a container for 3 AreaContainers. One of those, the 
 main-reference-area, is a container for span-area AreaContainers, and 
 finally, span-areas contain ColumnAreas, which are also AreaContainers (and 
 represent normal-flow-areas). So you see that we are pretty closely following 
 the abstract model in the spec.
 
 ColumnAreas contain all the actual normal flow stuff.
 
 I cannot really say that there are any context stacks. Areas maintain a list 
 of their children, as a Vector. There is just no other context information 
 easily to be had, for example related to easily answering questions like the 
 above. If you look at the checkBreakBefore() method in PropertyManager, 
 you'll see the kinds of hoops we have to jump through right now to answer 
 basic questions...it would be nice to obviate the necessity for that.
 
 Any insight you can bring to bear on this would be appreciated. I'd 
 personally be happy to assist with integrating your tree stuff into FOP.
 
 Regards,
 Arved
 
 


-- 
Peter B. West  [EMAIL PROTECTED]  http://powerup.com.au/~pbwest
Lord, to whom shall we go?


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




RE: JRun exited abnormally...

2001-07-13 Thread Peter Jacobs

I'll try to help , but I am no expert...

The problem is that JRun and Fop both need an XML parser. In F:\Program
Files\Allaire\JRun\lib\ext is a XML parser, but it's an old one (Dom level
1). To use Fop and Cocoon, you need an xml parser with Dom level 2 (e.g.
Xerces). If the old one is in the classpath before Xerces, it will load
first and Fop will not work.
Normally people suggest to put Xerces in this folder and rename it to
aaXerces.jar. That way, it will load first. JRun will then also use Xerces
for its own XML-parsing. But this solution is messy, and no system
administrator will allow it on a production server, because it may interfere
with other projects on that server.

After some searching on the archives of fop-dev and cocoon-users and Allaire
JRUN web support (very interesting!) I found the following solution which is
much clearer (I think :-)

The idea is that every server in JRun has its own java virtual machine. You
change the classpath for that particular server so it loads first the
classes in a local directory of that server, and then the classes in
\JRun\lib\ext. That way you don't have to put anything in the
JRun\lib\ext folder and the JRun application and the other servers (Admin,
Default) are not affected by your experiments.

Step 1: restore JRun to the original configuration or reinstall JRun so it
works again.

Step 2: create a new server (e.g. Fopserver )  (see setup guide). Now you
have 3 servers in F:\Program Files\Allaire\JRun\servers : admin,
default and Fopserver .
This step is not really necessary, you can also use the existing default
server if you want. In that case replace in the following steps Fopserver
with default.

Step 3: edit the file
F:\Program Files\Allaire\JRun\servers\Fopserver\local.properties :
Change (or add if it doesn't exist) the line that starts with
java.classpath= to:

java.classpath={user.classpath};{jrun.classpath};{ejb.classpath};{servlet.cl
asspath}

For a definition of all these {...} see F:\Program
Files\Allaire\JRun\lib\global.properties.
Items in local.properties of a server override for that server the ones in
global.properties.

Step 4: put all the apache jars(Xerces,Xalan,Fop,...) and other jars you
need in the folder F:\Program Files\Allaire\JRun\servers\Fopserver\lib.
They will be available to all apps in that server.


works for me on Win2000/JRun3.0 and Solaris/JRun3.1


regards,
Peter Jacobs


 Hi all!

  I have installed JRun 3.0 on Win 2000 machine. I installed it as
 application not as windows services. It was working quite fine but then i
 added a couple of jar files in JRUN\servers\lib\ext and some jsps and
 classes in my web application while the server was running. Then i
 restarted the server. The server did not start and gave the error
 JRun exited abnormally Check evenet log. I checked the log file
 and found
 out that it gave error on loading default-app.
 The error is
 error (JRun) JRun Aborting! [javax.xml.parsers.FactoryConfigurationError:
 java.lang.classNotFoundException:
 org.apache.Crimson.jaxp.SAXParserFactoryImpl]

 Now no server is running even the admin server. Can anybody help me out of
 this.???
 Thanx
 Wajid




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




fonts

2001-07-13 Thread Wolf Gustavo (SGC-EXT)

Hi all,
has someone implemmented Arial and Arial-italics?
If the answer is yes, could I get the corresponding files?

Also, does Helvetica (what I am replacing Arial with) have italics?

Thanks once more,
 Gustavo

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




RE: JRun exited abnormally...

2001-07-13 Thread wali



Thank you very much Alex and Jacob. I have reinstalled JRun and have put
the jars in the server's lib as mentioned by Jacob. It is working fine now
Thanx again


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




Re: System hanging

2001-07-13 Thread Arved Sandstrom

At 02:43 PM 7/13/01 +0200, Keiron Liddle wrote:

On Fri, 13 Jul 2001 13:40:27 Mads Soerensen - Interact wrote:
 Hi!
 Using FOP 0.19  I call Driver.render() and a PDF file is rendered,
 great!! But the program does not exit like it is supposed to after
 completing the render. In a previous message Keiron Liddle wrote that he
 had changed CommandLine to exit after completion, how is this done?

It is in the current cvs.
It simply calls System.exit after rendering, in the CommandLineStarter.

Hopefully we can have a new release sometime soon anyway.

I was hoping to give Seshadri a chance to get his stuff into CVS. How about 
we see what develops over the next week, and no matter what, do a release 
next weekend? That is the 21st-22nd.

Arved

Fairly Senior Software Type
e-plicity (http://www.e-plicity.com)
Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia


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




Re: cvs update failure

2001-07-13 Thread Arved Sandstrom

At 01:13 AM 7/14/01 +1000, Peter B. West wrote:
My attempt to cvs update failed with the following message:

cannot create_adm_p /tmp/cvs-serv87572/src/org/apache/fop/render/mif/fonts
No space left on device

I will try again in case this was a temporary /tmp glitch

According to comments on [EMAIL PROTECTED], it was due to many, many 
people trying to do what you were doing.

Regards,
Arved Sandstrom

Fairly Senior Software Type
e-plicity (http://www.e-plicity.com)
Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia


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




Re: properties, elements

2001-07-13 Thread Arved Sandstrom

At 11:21 AM 7/13/01 +0200, Keiron Liddle wrote:

On Thu, 12 Jul 2001 22:50:44 Karen Lease wrote:
 We also need to think about what to do when we encounter this kind of
 case. Obviously we want to inform the user. We could either stop on an
 exception or just ignore the offending FO and keep going.

Usually a spec has a section on how the processor should handle errors but
I couldn't find it in the XSL spec.

You're right, doesn't seem to be anything said about content-model errors. I 
like the idea of trying to help out the user; I would say that we ignore the 
offending FO (and all descendants), with a warning (line, column, name, and 
short explanation if possible), and continue if possible.

For example, let's say that someone's XSL has produced FO with a 
page-sequence containing not only an fo:flow and a couple of 
fo:static-contents, but a top-level fo:block by mistake. I can see errors 
happen fairly often as people work up stylesheets. The user-friendly thing 
to do would be to emit a warning about the fo:block, and continue checking 
the tree. Maybe we'd catch several independent errors that way, and help
the user speed up the debugging/correction process.

One thing to consider is stopping the process after refinement, but before 
layout, if there are any content-model errors. Or maybe all of this can be 
subject to user control?

Regards,
Arved Sandstrom

Fairly Senior Software Type
e-plicity (http://www.e-plicity.com)
Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia


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




Re: no fop.bat|fop.sh

2001-07-13 Thread Eric Richardson

Hojtsy Gabor wrote:
 
 Hi!
 
 There are no fop.bat or fop.sh file in the binary distribution.
 The file I have downloaded: Fop-0.19.0-CVS-bin.tar.gz
 
 The only doc said these files should be there!!!
 I also can't find one online on the site.

It's cool now so you don't need it.

java -jar fop.jar

eric

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




Re: JAVA to C/C++

2001-07-13 Thread Eric Richardson

 Chris Leak wrote:
 
 I'm interested in converting FOP to C/C++. Has anyone else looked into
 this?
 
 Any suggestions would be much appreciate.
 
 Thanks

I'd suggest helping with the proposed/in progress major rewrite using
Java that the team is working on. FOP is a critical project and a very
difficult one from what I can see so spliting the community of
developers is probably not a good idea. Did you know that most people
can only use passiveTex or jade or one of these tools for a real docbook
tool chain? FOP needs alot of work but the team here has one beautiful
start at least in their evolving knowledge.

Other than there being no truely free 1.2 or 1.3 Java VM, I could see no
reason to create a C/C++ version.

My two cents,
Eric

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




Re: cvs update failure

2001-07-13 Thread Peter B. West

Working now.

Peter B. West wrote:

 My attempt to cvs update failed with the following message:
 
 cannot create_adm_p /tmp/cvs-serv87572/src/org/apache/fop/render/mif/fonts
 No space left on device
 
 I will try again in case this was a temporary /tmp glitch
 
 Peter

-- 
Peter B. West  [EMAIL PROTECTED]  http://powerup.com.au/~pbwest
Lord, to whom shall we go?


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