Croatian characters in fop created pdf

2002-12-11 Thread Adis Katkic

Hi
I have created I java class that takes xml file and xsl file and creates 
pdf.

Now my xml has croatian character and those are showen as #.
I read documentation and it says that fonts must be avaliable on the 
platform.
Now I don't understand this since I have croatina locale set and I can view 
pdf files that have
croatian characters.
I have tried to use different font familises for fo:block tag. (Arial, 
Symbol etc ...)


What should I do to make it work. If you can explain it to me step by step I 
would be very thankful.

My method is

public void createPdf(String xml, String xslPath, String outputPdfPath) 
throws TransformerConfigurationException, TransformerException, 
FileNotFoundException, FOPException, IOException
 {
   Logger log = new ConsoleLogger(ConsoleLogger.LEVEL_WARN);
   MessageHandler.setScreenLogger(log);
   FileOutputStream fos=new FileOutputStream(outputPdfPath);

   //Options options = new Options(new 
File("c:\\Adis\\MedicSoft\\MedicsoftClient\\GUI\\config\\print\\userconfig.xml"));
   Driver driver=new Driver();
   driver.setLogger(log);
   driver.setOutputStream(fos);
   driver.setRenderer(Driver.RENDER_PDF);
   StreamSource xmlStreamSource=new StreamSource(new StringReader(xml));
   Transformer 
transformer=TransformerFactory.newInstance().newTransformer(new 
StreamSource(xslPath));
   transformer.transform(xmlStreamSource, new 
SAXResult(driver.getContentHandler()));
   fos.close();
 }

and xsl that is used for fop is very easy



 xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
 xmlns:fo="http://www.w3.org/1999/XSL/Format";>


http://www.w3.org/1999/XSL/Format";>
  

  page-height="29.7cm"
  page-width="21cm"
  margin-top="1cm"
  margin-bottom="2cm"
  margin-left="2.5cm"
  margin-right="2.5cm">
  
  
  

  

  
  	
  	   
  	
  
 



  
  	
  	
  



  
font-family="sans-serif"
line-height="24pt"
space-after.optimum="15pt"
background-color="blue"
color="white"
text-align="center"
padding-top="3pt">

  



  
font-family="Symbol"
line-height="15pt"
space-after.optimum="3pt"
text-align="justify">
		
	







_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


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



Re: src/documentation/README

2002-12-11 Thread Jeff Turner
On Wed, Dec 11, 2002 at 03:15:33PM +0100, Nicola Ken Barozzi wrote:

...
[On why http://forrestbot.cocoondev.org/sites/xml-fop/ wasn't updating]
...
>  [java] Exception in thread "main" java.lang.InternalError: Can't 
> connect to X11 window server using ':0.0' as the value of the DISPLAY 
> variable.

I added a DISPLAY pointing to Xvfb, and it seems to be updating properly
now.  If anyone notices a 'Last published' date at the bottom of a page
older than 1 hour (GMT) please let me know.


--Jeff

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




Automatic website update

2002-12-11 Thread Christian Geisert
Hi all,

Sam Ruby has added the FOP website to his script which updates
daedalus (xml.apache.org) from icarus (cvs.apache.org)
every 6 hours, starting at midnight Pacific Time (where daedalus is
hosted).

Christian


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




Re: dtd catalog (was: src/documentation/README)

2002-12-11 Thread Jeff Turner
On Wed, Dec 11, 2002 at 12:59:03PM -0700, Victor Mote wrote:
> Peter B. West wrote:
> 
> > I'm still floundering around here, but when I found 'catalog' in
> > .../documentation/resources/schema, and the dtd in .../schema/dtd, I
> > began to see a ray of light.  It seems to me that such a setup should be
> > used for all of the DOCTYPE delcarations in the documentation tree.  At
> > the moment we are relying on the system identifier component of the
> > DOCTYPE declaration, and that is indicating a CVS retrieval - some from
> > the xml-forrest base, some from xml-cocoon2, last time I looked.
> 
> The way this works is that your validation software has to know how to find
> the catalog. If it does, then the catalog can contain mappings from the
> PUBLIC IDs in the DOCTYPE declaration to a local physical file. That setup
> is already in all of our documents. For example, our resources.xml file
> contains the following DOCTYPE:
> 
>  
> "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/sche
> ma/dtd/document-v11.dtd">
> 
> Your catalog has to know how to map "-//APACHE//DTD Documentation V1.1//EN"
> to "/u/xml-schema/document-v11.dtd" or whatever your local file is.

FTR, Forrest has a built-in catalog, so the SYSTEM id of docs processed
by Forrest will be ignored.

If FOP has any DTDs not included in Forrest, then these can be added to
src/documentation/resources/schema/dtd, and a project-specific catalog
added.  This process is documented at
http://xml.apache.org/forrest/validation.html

> It seems to me that we have this set up as well as it can be

Looks like it.

--Jeff


> but I sure could be missing something.
> 
> Victor Mote

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




Re: Getting breaks: revisited

2002-12-11 Thread Peter B. West
J.Pietschmann wrote:

Peter B. West wrote:


...the intention of the spec would be realised by laying out 0 of the 
repeatable-p-m-refs "thin", out of the available range of 0-100, then 
laying out 1 of the "thick" r-p-m-refs.

Interesting and useful interpretation. The problem is, how to
implement this?


Joerg,

It depends on your overall method of generating areas.  This goes to 
overall design questions, which are on hold until we have had a chance 
to consider the Sun product, but if layout is driven from below (as in a 
sense it already is), with tentative layouts bubbling upwards until they 
strike an invalidating constraint, which then follows them back down the 
tree for a retry, and all of this eventually comes back up to the 
PageMaker level, then, in the case above, the result would be a 
no-can-do, accompanied by the dimensions of the best attempt.

The PageMaker would then look for a layout master alternative, 
discarding the remainder of the repetitions in the process, and having a 
go at the "thick" master.  That succeeds.  If it didn't the fallback 
mode would be determined by the "overflow" property.

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


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



Re: Alt-Design: Preliminary results FO tree build test

2002-12-11 Thread Peter B. West
Keiron Liddle wrote:


The only questions I have at the moment:
- are markers handled properly, you mentioned something about that
earlier so maybe it is dealt with already
- what about arbitrary xml anywhere for extensions, is that still
possible (also instream-foreign-object but that is probably okay)
I know it is not a spec thing but it can enhance using FOP for many
users.


Marker handling is deferred until area tree construction.  Not all of 
the FOs that can have markers have been fitted with handling yet, but 
the model for it at the FO tree building level is as follows (from 
FoListBlock.java).  The table-row comment, which I just noticed, is a 
hang-over from another FO.


/** The number of markers on this FO. */
private int numMarkers = 0;

/** The number of list-items on this FO. */
private int numItems = 0;

/** The offset of 1st table-row within the children. */
private int firstItemOffset = -1;



while ((ev = xmlevents.expectStartElement
(FObjectNames.MARKER, XMLEvent.DISCARD_W_SPACE))
   != null) {
new FoMarker(getFOTree(), this, ev, stateFlags);
numMarkers++;
ev = xmlevents.getEndElement(xmlevents.DISCARD_EV, ev);
pool.surrenderEvent(ev);
}


There is no provision for extension elements, apart from the keeping 
track of incoming elements with variant namespace declarations.  In 
terms of the inherent input validation of pull parsing, the checking of 
foreign namespace elements could be inserted in the get/expect 
processing of the FOs.  The FO generation is already generalised (most 
Fo? elements are nto named in the code, and are generated by the 
makeFlowObject() method of FObjects, so generalising the validation of 
foreign elements should be feasible.  The semantics of such objects is 
always going to be more of a problem.

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


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



Today's the day...

2002-12-11 Thread Peter B. West
Fopsters,

Today (it's Thursday, my time) we hear what Tony Graham has been up to. 
 I don't suppose anyone is in Baltimore?

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


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



Re: dtd catalog (was: src/documentation/README)

2002-12-11 Thread Peter B. West
Victor Mote wrote:

Peter B. West wrote:



I'm still floundering around here, but when I found 'catalog' in
.../documentation/resources/schema, and the dtd in .../schema/dtd, I
began to see a ray of light.  It seems to me that such a setup should be
used for all of the DOCTYPE delcarations in the documentation tree.  At
the moment we are relying on the system identifier component of the
DOCTYPE declaration, and that is indicating a CVS retrieval - some from
the xml-forrest base, some from xml-cocoon2, last time I looked.



The way this works is that your validation software has to know how to find
the catalog. If it does, then the catalog can contain mappings from the
PUBLIC IDs in the DOCTYPE declaration to a local physical file. That setup
is already in all of our documents. For example, our resources.xml file
contains the following DOCTYPE:

http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/sche
ma/dtd/document-v11.dtd">

Your catalog has to know how to map "-//APACHE//DTD Documentation V1.1//EN"
to "/u/xml-schema/document-v11.dtd" or whatever your local file is.

What I added several weeks ago was the URIs (yes, they are CVS-based until
we find some static URI to use instead) that allow the validation to be done
across the internet. This doesn't take away the ability to use a local
catalog, but rather makes it no longer a necessity. My understanding is that
using URIs is the preferable way to do the validation. O'Reilly's "XML in a
Nutshell", 2nd edition, page 32, says "In practice, however, PUBLIC IDs
aren't used very much. Almost all validators rely on the URI to actually
validate the document." The only reason to use the catalog and the PUBLIC ID
is if you are on a machine that doesn't have suitable net access.



Norm Walsh has been campaigning for catalogs for a while now.  E.g.
.

I don't have the luxury of permanent net access.  Neither do you if 
cvs.apache.org is down or your access to the net is cut for any reason.

I think many apache developers would be in the situation that their work 
on open source must take place _away_ from their employment environment, 
and many of these would not have broadband or other permanent access.  I 
think that factor is worth considering.

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


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



cvs commit: xml-fop/docs/examples runtests.bat runtests.sh

2002-12-11 Thread olegt
olegt   2002/12/11 14:13:21

  Modified:.fop.bat
   docs/examples runtests.bat runtests.sh
  Log:
  Removed footprints of bsf.jar.
  
  Revision  ChangesPath
  1.8   +0 -1  xml-fop/fop.bat
  
  Index: fop.bat
  ===
  RCS file: /home/cvs/xml-fop/fop.bat,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- fop.bat   22 Nov 2002 18:07:13 -  1.7
  +++ fop.bat   11 Dec 2002 22:13:20 -  1.8
  @@ -7,7 +7,6 @@
   set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar
   set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\batik.jar
   set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\avalon-framework-cvs-20020806.jar
  -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\bsf.jar
   set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jimi-1.0.jar
   set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_core.jar
   set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_codec.jar
  
  
  
  1.13  +0 -1  xml-fop/docs/examples/runtests.bat
  
  Index: runtests.bat
  ===
  RCS file: /home/cvs/xml-fop/docs/examples/runtests.bat,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- runtests.bat  22 Nov 2002 18:06:45 -  1.12
  +++ runtests.bat  11 Dec 2002 22:13:21 -  1.13
  @@ -14,7 +14,6 @@
   set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar
   set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\batik.jar
   set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\avalon-framework-cvs-20020806.jar
  -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\bsf.jar
   set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jimi-1.0.jar
   set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_core.jar
   set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_codec.jar
  
  
  
  1.10  +0 -1  xml-fop/docs/examples/runtests.sh
  
  Index: runtests.sh
  ===
  RCS file: /home/cvs/xml-fop/docs/examples/runtests.sh,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- runtests.sh   22 Nov 2002 18:06:45 -  1.9
  +++ runtests.sh   11 Dec 2002 22:13:21 -  1.10
  @@ -20,7 +20,6 @@
   LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/xalan-2.4.1.jar
   LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/batik.jar
   LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/avalon-framework-cvs-20020806.jar
  -LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/bsf.jar
   LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/jimi-1.0.jar
   LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/jai_core.jar
   LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/jai_codec.jar
  
  
  

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




cvs commit: xml-fop/lib BSF.license.txt bsf.jar

2002-12-11 Thread olegt
olegt   2002/12/11 14:01:55

  Removed: lib  BSF.license.txt bsf.jar
  Log:
  Removed bsf.jar and its license as unused anymore.

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




RE: dtd catalog (was: src/documentation/README)

2002-12-11 Thread Victor Mote
Peter B. West wrote:

> I'm still floundering around here, but when I found 'catalog' in
> .../documentation/resources/schema, and the dtd in .../schema/dtd, I
> began to see a ray of light.  It seems to me that such a setup should be
> used for all of the DOCTYPE delcarations in the documentation tree.  At
> the moment we are relying on the system identifier component of the
> DOCTYPE declaration, and that is indicating a CVS retrieval - some from
> the xml-forrest base, some from xml-cocoon2, last time I looked.

The way this works is that your validation software has to know how to find
the catalog. If it does, then the catalog can contain mappings from the
PUBLIC IDs in the DOCTYPE declaration to a local physical file. That setup
is already in all of our documents. For example, our resources.xml file
contains the following DOCTYPE:

http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/sche
ma/dtd/document-v11.dtd">

Your catalog has to know how to map "-//APACHE//DTD Documentation V1.1//EN"
to "/u/xml-schema/document-v11.dtd" or whatever your local file is.

What I added several weeks ago was the URIs (yes, they are CVS-based until
we find some static URI to use instead) that allow the validation to be done
across the internet. This doesn't take away the ability to use a local
catalog, but rather makes it no longer a necessity. My understanding is that
using URIs is the preferable way to do the validation. O'Reilly's "XML in a
Nutshell", 2nd edition, page 32, says "In practice, however, PUBLIC IDs
aren't used very much. Almost all validators rely on the URI to actually
validate the document." The only reason to use the catalog and the PUBLIC ID
is if you are on a machine that doesn't have suitable net access.

> These can (probably will) get out of sync. The dtd should be the one
> used when the document was last modified, shouldn't it?  It seems to me
> there is a case for including the schema subtree, including catalog
> file(s) and the dtd subdirectory, in the src/build tree, and maintaining
> the synchronization locally.

Keiron & I discussed this at the time:
  http://marc.theaimsgroup.com/?l=fop-dev&m=103726556406364&w=2
  http://marc.theaimsgroup.com/?l=fop-dev&m=103726721907599&w=2
  http://marc.theaimsgroup.com/?l=fop-dev&m=103730698919444&w=2
and decided against it. Since I did this work, I see that we could use
viewcvs to get a specific revision of the file, so we could control this
using that method. However, it seems to me that DTDs conventionally have a
version number built into their filenames, so I assume that any changes made
on those files are of a bug fix nature as opposed to radical changes that
would be likely to mess up users of the DTD.

It seems to me that we have this set up as well as it can be, but I sure
could be missing something.

Victor Mote


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




RE: src/documentation/README

2002-12-11 Thread Victor Mote
Jeff Turner wrote:

> Forrest is in the same boat as FOP when it comes to site updates.  AFAIK,
> there are no docs, but the process is:
>
>  - Committers commit generated docs to xml-site/targets/{project}
>  - Every X hours, a script updates /www/xml.apache.org/ or wherever on
>the live site, from CVS.
>
> Pretty messy, but this CVS-based site update system has some virtues:
>
>  - it is pull-based, so fewer security risks

Pull wouldn't require CVS.

>  - site contents can be reverted easily without an admin having to figure
>out how the doc generation tool works.

This makes sense.

>  - it's there and it works
>
> Discussions for creating a better site update system should probably be
> held on general@xml, since it affects all projects, or forrest-dev, since
> people there are particularly interested, and Steven has talked with Sam
> about it before.

I have no problem with xml-site/targets/{project} or the CVS-based system
(except for the binary PDF issue mentioned before, which may be
unavoidable). What is a little frustrating is that it seems like we are only
a short script (checkout, copy -r, commit) away from being able to use the
builds that are being done on icarus (or another apache machine) to update
xml-site/targets/{project}, instead of having to do the documentation builds
locally. Is there some reason why we can't just do a copy here?

Victor Mote


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




RE: Changes in xdocs directories

2002-12-11 Thread Victor Mote
Peter B. West wrote:

> I started to make some changes in the alt.design xdocs directory, and
> ran into problems immediately.  Forrest didn't like something in one of
> the files, but when I went to have a look at the directory, I began to
> find CVS discrepancies.  This morning I did a cvs update on
> .../src/documentation/content/xdocs/alt.design, and most of the files
> had gone away.  Is this because of the forrest site build problems?  I

I don't think it is related to the forrest stuff at all. I recommend getting
a clean sandbox & see if the problem is still there -- I have had trouble
with my sandboxes from time to time. Or, at least go to the repository & see
if the files still exist there.

> want to make changes to the documentation anyway, so if you let me know
> what the requirements are for getting the forrest site build to work, I
> can fix the alt.design files.  If you would rather get the basics sorted
> out yourself, let me know.

I just committed some additional information to the README that should help
a bit. Please feel free to expand it further, or, if it is sufficient,
publish away!

Victor Mote


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




cvs commit: xml-fop/src/documentation README

2002-12-11 Thread vmote
vmote   2002/12/11 11:06:38

  Modified:src/documentation README
  Log:
  Expand with more details, and add some comments from Jeff Turner.
  
  Revision  ChangesPath
  1.2   +48 -23xml-fop/src/documentation/README
  
  Index: README
  ===
  RCS file: /home/cvs/xml-fop/src/documentation/README,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- README3 Dec 2002 10:06:10 -   1.1
  +++ README11 Dec 2002 19:06:38 -  1.2
  @@ -1,24 +1,49 @@
  -To update the docs:
  -
  -The documentation is generated using forrest (http://xml.apache.org/forrest/).
  -
  -The current procedure is:
  -
  -- checkout xml-forrest module
  -- run: build.sh(bat) dist
  -- follow instructions to set FORREST_HOME and path
  -- go to xml-fop directory
  -- run forrest(.bat)
  -
  -The documents will then be placed in build/site/
  -
  -NOTE: the compliance.html currently does not work, it can be fixed by
  -adding the dtd ref to: build/tmp/context/resources/schema/catalog
  -and placing the dtd in: build/tmp/context/resources/schema/dtd/
  -
  -To update website
  -- put the generated docs into the xml-site module targets/fop/
  -  this could be done by simlinking the destination to the targets/fop
  -- commit the documents
  -
  +To update the FOP website:
   
  +Background
  +--
  + 1. The documentation is generated using forrest
  +(http://xml.apache.org/forrest/).
  + 2. Forrest needs to be run on a machine with a graphical environment (it will
  +fail in a headless environment when it tries to use FOP to generate the PDF
  +files). The Apache machine available to xml-fop developers
  +(icarus.apache.org) appears to be headless, so you will probably need to run
  +this on a local machine with a graphical environment.
  +
  +Step-by-Step Instructions
  +-
  + 1. checkout the xml-forrest module (same repository as xml-fop).
  + 2. checkout the xml-site/targets/fop module (same repository as xml-fop).
  + 3. you will also need access to a current xml-fop sandbox (you probably already
  +have one)
  + 4. cd to xml-forrest
  + 5. run: build.sh(bat) dist to build forrest
  + 6. set environment variable FORREST_HOME=~/xml-forrest/build/dist/shbat
  +where ~ is the directory in which xml-forrest is installed
  +(see http://xml.apache.org/forrest/your-project.html for details)
  + 7. set environment variable PATH=$PATH:$FORREST_HOME/bin
  + 8. cd to xml-fop directory
  + 9. run forrest(.bat), which will build the web-site documents in
  +xml-fop/build/site.
  +10. NOTE: the compliance.html currently does not work, it can be fixed by
  +adding the dtd ref to: build/tmp/context/resources/schema/catalog
  +and placing the dtd in: build/tmp/context/resources/schema/dtd/
  +11. To update the actual website, copy the generated documents
  +(in xml-fop/build/site) to xml-site/targets/fop. (This could also be done by
  +sym-linking this destination before the build.)
  +12. commit xml-site/targets/fop.
  +
  +Notes
  +-
  + 1. Per Jeff Turner, the downstream process of publishing our web site is as
  +follows:
  +- Committers commit generated docs to xml-site/targets/{project}
  +- Every X hours, a script updates /www/xml.apache.org/ or wherever on
  +  the live site, from CVS.
  + 2. Per Jeff Turner, the FOP website is being regenerated (from the contents
  +of xml-site/targets/fop) by Forrest every hour.
  +See http://forrestbot.cocoondev.org/site/xml-fop for the contents.
  +Although we found this interesting (especially wondering how they got around
  +the headless server problem), it doesn't change our workflow above, because
  +we don't know where, at the filesystem level, these files exist, so we have
  +no way of copying them to xml-site/targets/fop.
  
  
  

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




DO NOT REPLY [Bug 14962] - Bug in ID Generation

2002-12-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=14962

Bug in ID Generation





--- Additional Comments From [EMAIL PROTECTED]  2002-12-11 17:11 ---
Created an attachment (id=4131)
My experiences with the bug

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




Re: src/documentation/README

2002-12-11 Thread Peter B. West
Christian Geisert wrote:

Peter B. West wrote:


You need a local forrest installation, see 
http://xml.apache.org/forrest/your-project.html#N10036

Christian,

Thanks.  I have set one up, but I was confused about automated updates.

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


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




Re: [ANNOUNCEMENT] FOP 0.20.5 Release Candidate available

2002-12-11 Thread Christian Geisert
Guillaume Déflache wrote:

Christian Geisert wrote:


- Perfo[r]mance tuning


Typo in CHANGES: bug number should read 14013, not 14103 (Cocoon bug)!


Fixed, thanks.

Christian


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




cvs commit: xml-fop CHANGES

2002-12-11 Thread chrisg
chrisg  2002/12/11 06:43:16

  Modified:.Tag: fop-0_20_2-maintain CHANGES
  Log:
  fixed typo
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.10.2.37 +1 -1  xml-fop/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /home/cvs/xml-fop/CHANGES,v
  retrieving revision 1.10.2.36
  retrieving revision 1.10.2.37
  diff -u -r1.10.2.36 -r1.10.2.37
  --- CHANGES   9 Dec 2002 00:58:47 -   1.10.2.36
  +++ CHANGES   11 Dec 2002 14:43:15 -  1.10.2.37
  @@ -14,7 +14,7 @@
 Submitted by: Ralph LaChance <[EMAIL PROTECTED]>
   - Updated examples/fo files to remove all errors and warnings during build
 Submitted by: Manuel Mall <[EMAIL PROTECTED]> (see bug #13867)
  -- Perfomance tuning (reduced object creation etc.) (see bug #14103)
  +- Performance tuning (reduced object creation etc.) (see bug #14013)
 Submitted by: Henrik Olsson <[EMAIL PROTECTED]>
   - Update to Xerces 2.2.1 (Jeremias Maerki)
   - Fixed EOFException in TTFReader (Bug #14576)
  
  
  

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




Re: src/documentation/README

2002-12-11 Thread Christian Geisert
Peter B. West wrote:

Jeff Turner wrote:


Forrest is in the same boat as FOP when it comes to site updates.  AFAIK,
there are no docs, but the process is:

 - Committers commit generated docs to xml-site/targets/{project}


Generated by what?  Forrestbot?  Where?  Is the login that appears at 

You need a local forrest installation, see 
http://xml.apache.org/forrest/your-project.html#N10036

Christian


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



Re: src/documentation/README

2002-12-11 Thread Peter B. West
Jeff Turner wrote:

On Wed, Dec 11, 2002 at 11:24:34PM +1000, Peter B. West wrote:



Forrestbot?



Forrestbot is a glorified Ant script which automates the process of
checking out a site's contents from CVS, building the docs and uploading
the docs somewhere.  It currently has no official role in the
getting-HTML-onto-Apache process.



Where?  Is the login that appears at forrestbot.cocoondev.org my
cvs.apache.org logname and passwd?  The login transaction is not
secure.



forrestbot.cocoondev.org currently plays no role in the process of
checking HTML into xml-site.  It could in future, but not yet.

The username/password is forrest-dev/forrest-dev.  Logging in simply
allows you to trigger a refresh of forrestbot.cocoondev.org/site/xml-fop.



From the point above, this process is just like the previous one.  I 
have a checkout on my system of xml-site/targets/fop for just this 
purpose.  The only difference was that I would perform a cvs update of 
the FOP site manually, on xml.apache.org, after committing the changes. 
So where does forrestbot come in?


It doesn't :)  Sorry if I implied it did by posting that URL in the
middle of the discussion.

However, if no-one comes up with a better mechanism for updating the live
site than xml-site/targets/*, then I will enable the commit-to-Apache-CVS
button, and forrestbot.cocoondev.org will be useful as more than just a
staging server.


Jeff,

Thanks for the clarifications.  We're all stumbling towards a solution, 
it seems.

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


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



Re: src/documentation/README

2002-12-11 Thread Nicola Ken Barozzi


Keiron Liddle wrote:

On Tue, 2002-12-10 at 19:17, Victor Mote wrote:


OK, I see now that I misunderstood your "Sorry, yes" answer to Keiron. If
http://forrestbot.cocoondev.org/site/xml-fop should be reflecting changes no
more than an hour old made to xml-fop/src/documentation, then it is not
working. I just looked for changes that were made about 24 hours ago, and
they are not there. Also, as I mentioned, it shows a publish date of 12-7.
So I suspect that something is not working. We have one document with a
non-standard DTD (my fault, in fact that is what I am trying to work on)
that might be messing up the flow. How do I go about troubleshooting this?



Judging by the log it might be a DISPLAY problem.

The compliance doc should only cause a broken link.

Who is in charge of the cocoondev site, could they work out what the
problem is?


forwarding to forrest.

Here is the relevant part of the last log:


 [java] Exception in thread "main" java.lang.InternalError: Can't 
connect to X11 window server using ':0.0' as the value of the DISPLAY 
variable.


--
Nicola Ken Barozzi   [EMAIL PROTECTED]
- verba volant, scripta manent -
   (discussions get forgotten, just code remains)
-


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



Re: src/documentation/README

2002-12-11 Thread Jeff Turner
On Wed, Dec 11, 2002 at 11:24:34PM +1000, Peter B. West wrote:
> Jeff Turner wrote:
> >
> >Forrest is in the same boat as FOP when it comes to site updates.  AFAIK,
> >there are no docs, but the process is:
> >
> > - Committers commit generated docs to xml-site/targets/{project}
> 
> Generated by what?

By Forrest, usually by hand.  I update the Forrest site with:

jeff@expresso:~/xml-forrest$ forrest
... wait for Forrest to finish ...
jeff@expresso:~/xml-forrest$ cp -rp build/site/* ../../../xml-site/targets/forrest
jeff@expresso:~/xml-forrest$ cd ../xml-site/targets/forrest
jeff@expresso:~/xml-site/targets/forrest$ cvs update
... Check for files that need to be 'cvs add'ed ...
jeff@expresso:~/xml-site/targets/forrest$ cvs commit


> Forrestbot?

Forrestbot is a glorified Ant script which automates the process of
checking out a site's contents from CVS, building the docs and uploading
the docs somewhere.  It currently has no official role in the
getting-HTML-onto-Apache process.

> Where?  Is the login that appears at forrestbot.cocoondev.org my
> cvs.apache.org logname and passwd?  The login transaction is not
> secure.

forrestbot.cocoondev.org currently plays no role in the process of
checking HTML into xml-site.  It could in future, but not yet.

The username/password is forrest-dev/forrest-dev.  Logging in simply
allows you to trigger a refresh of forrestbot.cocoondev.org/site/xml-fop.

> From the point above, this process is just like the previous one.  I 
> have a checkout on my system of xml-site/targets/fop for just this 
> purpose.  The only difference was that I would perform a cvs update of 
> the FOP site manually, on xml.apache.org, after committing the changes. 
>  So where does forrestbot come in?

It doesn't :)  Sorry if I implied it did by posting that URL in the
middle of the discussion.

However, if no-one comes up with a better mechanism for updating the live
site than xml-site/targets/*, then I will enable the commit-to-Apache-CVS
button, and forrestbot.cocoondev.org will be useful as more than just a
staging server.


--Jeff

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




orphan/window control, blind tables, keep-with-next etc

2002-12-11 Thread Eddy De Clercq





Hi,
 
I've seen in the archives in the FOP mailing 
list lots of threads concerning this matter. Is there any news/update on when 
features like
orphan/widow control, keep-with-next will be 
implemented in FOP (and Cocoon)?
 
Many thanks
 
Eddy De 
Clercq 



Re: src/documentation/README

2002-12-11 Thread Peter B. West
Keiron Liddle wrote:

On Tue, 2002-12-10 at 19:17, Victor Mote wrote:


OK, I see now that I misunderstood your "Sorry, yes" answer to Keiron. If
http://forrestbot.cocoondev.org/site/xml-fop should be reflecting changes no
more than an hour old made to xml-fop/src/documentation, then it is not
working. I just looked for changes that were made about 24 hours ago, and
they are not there. Also, as I mentioned, it shows a publish date of 12-7.
So I suspect that something is not working. We have one document with a
non-standard DTD (my fault, in fact that is what I am trying to work on)
that might be messing up the flow. How do I go about troubleshooting this?



Judging by the log it might be a DISPLAY problem.

The compliance doc should only cause a broken link.

Who is in charge of the cocoondev site, could they work out what the
problem is?



I think Sam Ruby has a script which automatically updates the live site
to the contents of xml-site/targets/*.


Should I contact him directly? Also, I still don't know whether
xml-site/targets/fop is my final destination. What is best practices for
this process? If this is documented somewhere, please excuse me -- I haven't
found it yet. Also, I realize that this conversation might be better on
forrest-dev. I asked on this list because I think Keiron has already figured
most of this out & I am trying to leverage off of that. Thanks very much for
your help.



Haven't figured out all of it.
There is no real documentation for the old process, currently we are
only really replacing the doc generation process.


Keiron, Victor,

I'm still floundering around here, but when I found 'catalog' in 
.../documentation/resources/schema, and the dtd in .../schema/dtd, I 
began to see a ray of light.  It seems to me that such a setup should be 
used for all of the DOCTYPE delcarations in the documentation tree.  At 
the moment we are relying on the system identifier component of the 
DOCTYPE declaration, and that is indicating a CVS retrieval - some from 
the xml-forrest base, some from xml-cocoon2, last time I looked.

These can (probably will) get out of sync. The dtd should be the one 
used when the document was last modified, shouldn't it?  It seems to me 
there is a case for including the schema subtree, including catalog 
file(s) and the dtd subdirectory, in the src/build tree, and maintaining 
the synchronization locally.

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


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



Re: src/documentation/README

2002-12-11 Thread Peter B. West
Jeff Turner wrote:


Forrest is in the same boat as FOP when it comes to site updates.  AFAIK,
there are no docs, but the process is:

 - Committers commit generated docs to xml-site/targets/{project}


Generated by what?  Forrestbot?  Where?  Is the login that appears at 
forrestbot.cocoondev.org my cvs.apache.org logname and passwd?  The 
login transaction is not secure.

From the point above, this process is just like the previous one.  I 
have a checkout on my system of xml-site/targets/fop for just this 
purpose.  The only difference was that I would perform a cvs update of 
the FOP site manually, on xml.apache.org, after committing the changes. 
 So where does forrestbot come in?

 - Every X hours, a script updates /www/xml.apache.org/ or wherever on
   the live site, from CVS.

Pretty messy, but this CVS-based site update system has some virtues:

 - it is pull-based, so fewer security risks
 - site contents can be reverted easily without an admin having to figure
   out how the doc generation tool works.
 - it's there and it works



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


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




Re: src/documentation/README

2002-12-11 Thread Jeff Turner
On Tue, Dec 10, 2002 at 11:17:25AM -0700, Victor Mote wrote:
...
> > > > See http://forrestbot.cocoondev.org/site/xml-fop
...
> OK, I see now that I misunderstood your "Sorry, yes" answer to Keiron. If
> http://forrestbot.cocoondev.org/site/xml-fop should be reflecting changes no
> more than an hour old made to xml-fop/src/documentation, then it is not
> working.

Hmm yes, something went wrong.  It seems to be working now, but I'll keep
an eye on it.  The 'last published' in the footer is the best indicator
of currency.

> > I think Sam Ruby has a script which automatically updates the live site
> > to the contents of xml-site/targets/*.
> 
> Should I contact him directly? Also, I still don't know whether
> xml-site/targets/fop is my final destination. What is best practices for
> this process? If this is documented somewhere, please excuse me -- I haven't
> found it yet. Also, I realize that this conversation might be better on
> forrest-dev. I asked on this list because I think Keiron has already figured
> most of this out & I am trying to leverage off of that. Thanks very much for
> your help.

Forrest is in the same boat as FOP when it comes to site updates.  AFAIK,
there are no docs, but the process is:

 - Committers commit generated docs to xml-site/targets/{project}
 - Every X hours, a script updates /www/xml.apache.org/ or wherever on
   the live site, from CVS.

Pretty messy, but this CVS-based site update system has some virtues:

 - it is pull-based, so fewer security risks
 - site contents can be reverted easily without an admin having to figure
   out how the doc generation tool works.
 - it's there and it works

Discussions for creating a better site update system should probably be
held on general@xml, since it affects all projects, or forrest-dev, since
people there are particularly interested, and Steven has talked with Sam
about it before.


--Jeff

> Victor Mote
> 
> 

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




Re: [ANNOUNCEMENT] FOP 0.20.5 Release Candidate available

2002-12-11 Thread Guillaume Déflache
Christian Geisert wrote:

- Perfo[r]mance tuning


Typo in CHANGES: bug number should read 14013, not 14103 (Cocoon bug)!




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




RE: src/documentation/README

2002-12-11 Thread Keiron Liddle
On Tue, 2002-12-10 at 19:17, Victor Mote wrote:
> OK, I see now that I misunderstood your "Sorry, yes" answer to Keiron. If
> http://forrestbot.cocoondev.org/site/xml-fop should be reflecting changes no
> more than an hour old made to xml-fop/src/documentation, then it is not
> working. I just looked for changes that were made about 24 hours ago, and
> they are not there. Also, as I mentioned, it shows a publish date of 12-7.
> So I suspect that something is not working. We have one document with a
> non-standard DTD (my fault, in fact that is what I am trying to work on)
> that might be messing up the flow. How do I go about troubleshooting this?

Judging by the log it might be a DISPLAY problem.

The compliance doc should only cause a broken link.

Who is in charge of the cocoondev site, could they work out what the
problem is?

> > I think Sam Ruby has a script which automatically updates the live site
> > to the contents of xml-site/targets/*.
> 
> Should I contact him directly? Also, I still don't know whether
> xml-site/targets/fop is my final destination. What is best practices for
> this process? If this is documented somewhere, please excuse me -- I haven't
> found it yet. Also, I realize that this conversation might be better on
> forrest-dev. I asked on this list because I think Keiron has already figured
> most of this out & I am trying to leverage off of that. Thanks very much for
> your help.

Haven't figured out all of it.
There is no real documentation for the old process, currently we are
only really replacing the doc generation process.



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




Re: Changes in xdocs directories

2002-12-11 Thread Keiron Liddle
On Wed, 2002-12-11 at 03:11, Peter B. West wrote:
> I found the image files in 
> .../src/documentation/resources/images/design/alt.design.
> 
> I'm not seeing any fop-cvs mail about these commits.  Any idea why?

Don't know why you didn't get it but it was on the list:
http://marc.theaimsgroup.com/?l=fop-cvs&m=103883046618393&w=2


> Peter


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