ANN: New editions of two books with free previews: XSLT/XPath and XSLFO (FOP-DEV)

2001-12-06 Thread G. Ken Holman

We are pleased to announce the publication this week of new editions of two 
of our electronic book titles:

   Practical Transformation Using XSLT and XPath
   (XSL Transformations and the XML Path Language)
   Tenth Edition - 2001-12-06 - ISBN 1-894049-08-X
   Copyright (c) 2001 Crane Softwrights Ltd.
   / 394 Pages / Subscription price includes free updates,
   /   / soft-copy of all included examples, and an
   /   / accessible rendition and 10 PDF renditions.
   /   / Free 140-page download preview excerpt.

   Practical Formatting Using XSLFO
   (Extensible Stylesheet Language Formatting Objects)
   First Edition - 2001-12-05 - ISBN 1-894049-07-1
   Copyright (c) 2001 Crane Softwrights Ltd.
   / 341 Pages / Subscription price includes free updates,
   /   / soft-copy of all included examples, and an
   /   / accessible rendition and 10 PDF renditions.
   /   / Free 179-page download preview excerpt.

The free previews and purchasing information are linked through the topmost 
link named "Book Sales" on our home page noted below.

We have tried to inform our existing customers of their free updates, but 
*many* email addresses are now being rejected.  If you are entitled to your 
free update and have not yet heard from us, please contact us to request 
the password.  Remember that the purchase of any edition of a book entitles 
you to *all* future editions of that same title at no charge (though buying 
one book does not entitle you to any other book), so you have to keep us 
informed of any email address changes to keep receiving your notices.

Please note, however, that the purchase of any of our books that are 
published commercially in paper does *not* entitle you to the electronic 
copy or free electronic updates.  Next week Prentice Hall are releasing 
"Definitive XSLT and XPath" ISBN 1-894049-06-3 which is a paper publication 
of an edited version of the Ninth Edition of our "Practical Transformation 
Using XSLT and XPath"

In addition to the PDF renditions, we now include an accessible version of 
each of our books and the previews for the books.  These renditions use 
monospaced fonts that are friendly to screen readers.

These are produced using XSLFO using RenderX (previous editions were 
published using DSSSL) ... all our training material is authored in XML.

The XSLT/XPath book has a new subsection on the grouping technique using 
variables (allowed me to do grouping using XT without using either axes or 
the key() function).  Other sections have been updated over the last 11 
months of feedback.

The XSLFO book is in its first release.  This book has hyperlinks from the 
text of the renditions directly to the W3C Recommendation document, 
allowing you to learn from our book yet have instant access to the W3C 
documents.

Both editions have the following hyperlinks (note in Acrobat reader the 
ctrl-left arrow is the Back key):
   - page references in text
   - chapter references in module summary
   - section references in chapter summary
   - table of subsections at back of book
   - external links to web browser

We continue to improve our publications with feedback from readers and 
students of instructor-led, real-time live audio over the Internet, and 
licensed deliveries by other training organizations who are using the material

We look forward to your comments and feedback.

 Ken

cc:
XSL List
XML-DEV
XML-L
XML-EDI
XSLFO
XSLFO-WWW
xalan-dev
fop-dev
comp.text.xml
microsoft.public.xml
microsoft.public.xsl
OASIS Members
IDEA-ICC Members

p.s. Remember - the "Book Sales" link at the very top of our home page 
noted below:

--
Training Blitz: 3-days XSLT/XPath, 2-days XSLFO - Feb 18-22, 2002

G. Ken Holmanmailto:[EMAIL PROTECTED]
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995)
XSL/XML/DSSSL/SGML/OmniMark services, books(electronic, printed),
articles, training(instructor-live,Internet-live,web/CD,licensed)
Next public training: 2001-12-09,12-19,12-20,
-2002-01-08,01-10,02-18,02-21


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




Re: Numeric properties

2001-12-06 Thread Peter B. West

Joerg,

I must remember to trim.
I must remember to trim.
I must...

Peter
Peter B. West wrote:

> Christopher,
>
> Many thanks.  It's glaringly obvious, isn't it?  Oh well.




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




Re: Numeric properties

2001-12-06 Thread Peter B. West

Christopher,

Many thanks.  It's glaringly obvious, isn't it?  Oh well.

Peter


Christopher R. Maden wrote:

>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>At 06:25 6-12-2001, Peter B. West wrote:
>
>>I don't know how kosher this is, and would appreciate any comments.  I am 
>>also puzzled by the constraint in the spec (5.9.6 Absolute Numerics) that:
>>
>>In addition, only the mod, addition, and subtraction operators require 
>>that the numerics on either side of the operation be absolute numerics of 
>>the same unit power. For other operations, the unit powers may be 
>>different and the result should be mathematically consistent as with the 
>>handling of powers in algebra.
>>
>>As I read this, it means that, while I can divide a  by a number, 
>>resulting in a  of the same unit power, I cannot take the mod of a 
>> using a number.  Can anyone explaing the reasons for this restriction?
>>
>
>Modulo only makes sense when the quotient is an integer.  When you divide 
>four inches by three, there isn't anything left over; you have three parts 
>of 4/3 inches each.  But if you take three-inch pieces of four inches, you 
>have one inch left over.
>
>~Chris
>- -- 
>Christopher R. Maden, Principal Consultant, HMM Consulting Int'l, Inc.
>DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
>http://www.hmmci.com/ > http://crism.maden.org/consulting/ >
>PGP Fingerprint: BBA6 4085 DED0 E176 D6D4  5DFC AC52 F825 AFEC 58DA
>-BEGIN PGP SIGNATURE-
>Version: PGP Personal Privacy 6.5.8
>
>iQA/AwUBPA/ffKxS+CWv7FjaEQIycACgvX6WIK89d3IwFXPHttoY88RKEFgAn0sE
>ZBNJfMtghi3TrqwYfQpWSw8r
>=Dk6f
>-END PGP SIGNATURE-
>
>
>-
>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: [PATCH] update FOP (maintenance branch) to REC syntax

2001-12-06 Thread Tore Engvig


Thanks!
I added the patch to cvs.


Tore


> Hi,
>
> I finally managed to update FOP to REC syntax..
>
> According to the documented changes at:
>
> http://www.w3.org/TR/2001/REC-xsl-20011015/sliceF.html#changes
> http://www.w3.org/TR/2001/PR-xsl-20010828/sliceF.html#changes
>
> the biggest thing was the renaming of the "master-name" property to
> "master-reference" on fo:page-sequence, fo:single-page-master-reference,
> fo:repeatable-page-master-reference and
> fo:conditional-page-master-reference.
>
> I've also updated all files in docs/examples, run the tests - and it looks
> good :-)
>
> Next I will have a look a the test directory
>
>
> Christian


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




cvs commit: xml-fop/src/org/apache/fop/layout LineArea.java

2001-12-06 Thread tore

tore01/12/06 13:28:22

  Modified:.Tag: fop-0_20_2-maintain CHANGES
   docs/examples/advanced Tag: fop-0_20_2-maintain cid-fonts.fo
giro.fo
   docs/examples/fo Tag: fop-0_20_2-maintain border.fo
bordershorthand.fo character.fo corresprop.fo
extensive.fo fonts.fo hyphen.fo images.fo
inhprop.fo instream.fo leader.fo link.fo list.fo
newlinktest.fo normal.fo normalex.fo pdfoutline.fo
readme.fo simple.fo table.fo tableunits.fo
textdeko.fo
   docs/examples/footnotes Tag: fop-0_20_2-maintain columns.fo
simple.fo
   docs/examples/keeps_and_breaks Tag: fop-0_20_2-maintain
columnlevel1.fo pagelevel1.fo pagelevel2.fo
pagelevel3.fo pagelevel4.fo
   docs/examples/markers Tag: fop-0_20_2-maintain glossary.xsl
hide.fo
   docs/examples/pagination Tag: fop-0_20_2-maintain
allregions.fo basic1.fo basic2.fo
franklin_2pageseqs.fo franklin_alt.fo
franklin_rep.fo franklin_rep_max_repeats.fo
franklin_rep_max_repeats_expl.fo
franklin_rep_max_repeats_nl.fo
   docs/examples/region_body Tag: fop-0_20_2-maintain
simplecol.fo simplecol2.fo simplecol3.fo
simplecol4.fo
   docs/examples/svg Tag: fop-0_20_2-maintain embedding.fo
external.fo
   docs/examples/tables Tag: fop-0_20_2-maintain background.fo
borders.fo break.fo headfoot.fo keep.fo omit.fo
space.fo widowsorphans.fo
   src/codegen Tag: fop-0_20_2-maintain foproperties.xml
   src/org/apache/fop/fo/expr Tag: fop-0_20_2-maintain
PropertyParser.java
   src/org/apache/fop/fo/flow Tag: fop-0_20_2-maintain
Block.java
   src/org/apache/fop/fo/pagination Tag: fop-0_20_2-maintain
ConditionalPageMasterReference.java
PageMasterReference.java PageSequence.java
   src/org/apache/fop/layout Tag: fop-0_20_2-maintain
LineArea.java
  Log:
  Submitted by: Christian Geisert [[EMAIL PROTECTED]]
  
  Changed "master-name" to "master-reference" on fo:page-sequence,
  fo:single-page-master-reference, fo:repeatable-page-master-reference and
  fo:conditional-page-master-reference to comply with the latest XSL recommendation.
  Also changed the unimplemented property space-treatment to white-space-treatment and
  updated examples to use the new syntax.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.10.2.3  +6 -0  xml-fop/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /home/cvs/xml-fop/CHANGES,v
  retrieving revision 1.10.2.2
  retrieving revision 1.10.2.3
  diff -u -r1.10.2.2 -r1.10.2.3
  --- CHANGES   2001/12/04 06:49:32 1.10.2.2
  +++ CHANGES   2001/12/06 21:28:18 1.10.2.3
  @@ -27,6 +27,12 @@
   remaining for content. (Karen Lease)
   
   *** Properties
  +- Changed "master-name" to "master-reference" on fo:page-sequence, 
  +  fo:single-page-master-reference, fo:repeatable-page-master-reference and 
  +  fo:conditional-page-master-reference to comply with the latest XSL recommendation.
  +  Also changed the unimplemented property space-treatment to white-space-treatment 
and 
  +  updated examples to use the new syntax.
  +  Submitted by: Christian Geisert [[EMAIL PROTECTED]]
   - Add support for inline-progression-dimension and table-layout. (Karen)
   - Add support for letter-spacing.
 Submitted by: Raymond Penners <[EMAIL PROTECTED]>
  
  
  
  No   revision
  
  
  No   revision
  
  
  1.2.2.1   +1 -1  xml-fop/docs/examples/advanced/cid-fonts.fo
  
  Index: cid-fonts.fo
  ===
  RCS file: /home/cvs/xml-fop/docs/examples/advanced/cid-fonts.fo,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  --- cid-fonts.fo  2001/05/18 09:55:46 1.2
  +++ cid-fonts.fo  2001/12/06 21:28:18 1.2.2.1
  @@ -70,7 +70,7 @@

   
   
  - 
  + 
   
 
  
  
  
  
  1.1.2.1   +5 -5  xml-fop/docs/examples/advanced/giro.fo
  
  Index: giro.fo
  ===
  RCS file: /home/cvs/xml-fop/docs/examples/advanced/giro.fo,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- giro.fo   2001/03/04 18:00:38 1.1
  +++ giro.fo   2001/12/06 21:2

Re: Numeric properties

2001-12-06 Thread Christopher R. Maden


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

At 06:25 6-12-2001, Peter B. West wrote:
>I don't know how kosher this is, and would appreciate any comments.  I am 
>also puzzled by the constraint in the spec (5.9.6 Absolute Numerics) that:
>
>In addition, only the mod, addition, and subtraction operators require 
>that the numerics on either side of the operation be absolute numerics of 
>the same unit power. For other operations, the unit powers may be 
>different and the result should be mathematically consistent as with the 
>handling of powers in algebra.
>
>As I read this, it means that, while I can divide a  by a number, 
>resulting in a  of the same unit power, I cannot take the mod of a 
> using a number.  Can anyone explaing the reasons for this restriction?

Modulo only makes sense when the quotient is an integer.  When you divide 
four inches by three, there isn't anything left over; you have three parts 
of 4/3 inches each.  But if you take three-inch pieces of four inches, you 
have one inch left over.

~Chris
- -- 
Christopher R. Maden, Principal Consultant, HMM Consulting Int'l, Inc.
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
http://www.hmmci.com/ > http://crism.maden.org/consulting/ >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4  5DFC AC52 F825 AFEC 58DA
-BEGIN PGP SIGNATURE-
Version: PGP Personal Privacy 6.5.8

iQA/AwUBPA/ffKxS+CWv7FjaEQIycACgvX6WIK89d3IwFXPHttoY88RKEFgAn0sE
ZBNJfMtghi3TrqwYfQpWSw8r
=Dk6f
-END PGP SIGNATURE-


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




fop input fo file

2001-12-06 Thread Matt Laywell

i have a website that allows clients to print documents of there info which
is a table created from an sql query and a bunch of asp vbscript and java
script. the client can customize the table by adding or removing columns of
info.

using asp i am writing a fo file i was hoping to send to the fop servlet an
serve the pdfs to the cleint rather than the html they get now.

the problem is the fo file seem to have to reside locally in order for the
fop servlet to find it.

http:\\myserver\fop\fop?fo=c:\temp\test.fo

works fine

http:\\myserver\fop\fop?fo=\\myserver\temp\test.fo

does not

i also thought about running the command line version from vbscript and then
sending it to the client.

ala
dim oWSH
set oWSH = CreateObject("WScript.Shell")  
oWSH.Run "fop c:\temp\test.fo -pdf c:\temp\test.pdf",1,true
Set oWSH = Nsothing

this doesn't work either

any help would be appreciated.


new at this
matt laywell

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




Bleeding / Hyphenation issues

2001-12-06 Thread Darrel Riekhof

We are having problems with our reports because FOP doesn't break on
hyphens.  For example, if a word like:

   xxx-yyy

comes at the end of a sentence, FOP won't break the word at one of the
hypens like we would like it to:

   xxx-
   yyy

Any workaround for this?

Darrel

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




Footer on the last page

2001-12-06 Thread Thierry Gounelle



Hi everybody,
Here is my problem:
I have a document that may have 1 to N pages. I would like to print
something on the of the last page. If there is only on page, the last page
is also the first.
I tried something like:

 
    
   
 
 
    
   
 
 
 
   
 
 
 
   
 

If the footer doesn't fit on a page according to the body dimension,
then I want it on an additional page that will be the last, but then, I
want a different layout for the (N-1) previous pages: without any footer.
It doesnt work: I made several tests but it looks like I have the footer
on every page instead of the last one only.
Thanx a billion,
Thierry
 
Arved Sandstrom wrote:

Hi,
Jens In the page masters
you can explicitly specify the region-master names also, using the 'region-name'
property. It so happens that many people leave these off in examples, and
the default values (such as 'xsl-region-start') get assigned. So don't
trust examples all the time. :-) Let's
say you have one page-master for the first page, and another page-master
for the rest of the pages. Give the region-before's different region-names.
Then, in your page-sequence, define 2 static-contents for the headers,
one of which references one region-name, and the other references the other
region-name. They will get appropriately mapped. Hope
this helps. Arved Sandstrom

- Original Message -

From:
Jens
Eckert

To: [EMAIL PROTECTED]

Sent: Monday, December 03, 2001 11:21
AM

Subject: Re: a custom header according
to page number
 I do have a similar (or the same?)  problem. I have a flow that
runs through all the pages. On the first page, though, I'd like to have
a different header (static content). So far I defined two simple-page masters
and a page-sequence-master that uses a simple-page master for the first
page and the other one for the rest.
But where do I specify where which (static content) header to use? In
the page-masters I can only set margins etc.(?)  I tried to use two
page-sequences, one for each page master, but then I get the XML-content
twice: once for the first page sequence once for the second. Can I specify
static content in the page-master?
Thanks
Jens
 
Cyril Rognon schrieb:
 If you only need to ditinguish the first
page from the other ones, simply use a different page-master (reference
or name ;-) according to the spec conformance) and use this page master
for your cover page only. This will do the trick easily.
one page-master for the cover (one page-sequence using this page-master-reference)
, and different page-master for the rest of the page sequences.
I strongly recomend you to read some FO tutorial, this will spare you
a lot of research work (you'll find some ref on http://www.w3.org/Style/XSL/)
At 14:18 03/12/2001 +, you wrote:
Thanks
Cyril,
please see answers
below


Your question is a little underspecified ...


...


[Ismaeil, Sameh]
no, I don't want to distinguish odd and even pages, specifically, I need
to distinguish the frist page from the rest of the pages, any clue?


Don't think about using some predicate considering the page number, xsl
fo and fop are loosely coupled, it is meant to be that way. So it forbids
the user to use the internal page number programaticaly (some FO processor
provide extension to do this, fop does not).


[Ismaeil, Sameh]
yes, I kind of noticed that , it is usually one way: FOP code -> fo XSL
->pdf document


if your need is more complex and you have some magic formula to guess wich
page is affected, conditionnal master-page may be to low level ...


[Ismaeil, Sameh]
I'll give conditional-master-page some insight and hope it will work, thanks
a lot


Good luck.


...



Cyril Rognon
http://www.objectiva.fr







Memory utilization

2001-12-06 Thread Edward Dowgiallo



I am attempting to do database publishing using fop 
to format the output. I have created a style sheet that creates a table of 
contents and an index for my document using  in combination with id attributes. A larger 
document is represented by an XML file of approximately 8MB and contains 
thousands of such links. I am finding that the JVM memory pool required to 
process this is about 750MB at this point. My database is not yet complete and 
the documents are likely to grow both in size and number of links a good bit 
before I am done.
 
I have tried running this on a machine with 512MB 
of memory and it trashed hopelessly for 12 hours without completing. I have 1 
machine with 1GB of RAM that I normally reserve as a server that can do the 
processing in 1/2 an hour, but I am worried that I will lose the ability to 
create the document as it continues to grow.
 
Do you have any suggestions that would help tame 
the memory utilization? Will the next release of fop be able to process 
links with a smaller amount of memory?
 
Thank you,
Ed
 


Re: timeframe for maintenance release

2001-12-06 Thread Peter S. Housel

Christian Geisert <[EMAIL PROTECTED]> wrote:
> Arved already proposed 15 Dec as release date.
>
> I think it would be a good idea to do some testing before the actual
release,
> so we should do a code freeze some days in advance.
> What about Monday the 10th ?

Any hope of including my recently-posted font encoding patch in the release?

Cheers,
-Peter S. Housel-   [EMAIL PROTECTED]   http://members.home.com/housel/



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




float

2001-12-06 Thread Matthias Fischer

Time ago it wasn't possible to have text float arount a table or some
element with an absolute position. Has that changed?

Matthias


Dott. Matthias Fischer
abc.Mediaservice GmbH

Nebelhornstraße 8
86807 Buchloe
Tel. (08241) 9686-38
Fax  (08241) 9686-26
http://www.abc-media.de
e-mail: [EMAIL PROTECTED]

ein Unternehmen der abc.Mediengruppe




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




timeframe for maintenance release

2001-12-06 Thread Christian Geisert

Hi,

Arved already proposed 15 Dec as release date.

I think it would be a good idea to do some testing before the actual release, 
so we should do a code freeze some days in advance.
What about Monday the 10th ?

Should we make another release candidate?

Christian

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




RE: break-after vs break-before

2001-12-06 Thread Jim Urban

Here is the solution to your blank page problem:












-Original Message-
From: John M. Corro [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 11:22 AM
To: [EMAIL PROTECTED]
Subject: break-after vs break-before


I'm trying to put together a report that has automatic page breaking (for
ref. the XSL is at the bottom of the email).  My problem is that the report
starts w/ a blank page when I use 'break-before', but if I try 'start-after'
a blank page is at the end of the report.  The blank page at the end isn't
so bad, but if there's a way to remove it that'd be nice.

Also, does the 'break-XXX' attribute simply add page breaks whenever you
reach the end of a page or is it smarter than that?  For example, say a
table is 3 pages in size.  Can you use the 'break-XXX' attribute to make it
such that table headers are printed at the top of all 3 pages?  My
understanding is that the table will simply print across the 3 pages w/ no
regards for adding table headers at the top of each page.










   







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



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




break-after vs break-before

2001-12-06 Thread John M. Corro

I'm trying to put together a report that has automatic page breaking (for
ref. the XSL is at the bottom of the email).  My problem is that the report
starts w/ a blank page when I use 'break-before', but if I try 'start-after'
a blank page is at the end of the report.  The blank page at the end isn't
so bad, but if there's a way to remove it that'd be nice.

Also, does the 'break-XXX' attribute simply add page breaks whenever you
reach the end of a page or is it smarter than that?  For example, say a
table is 3 pages in size.  Can you use the 'break-XXX' attribute to make it
such that table headers are printed at the top of all 3 pages?  My
understanding is that the table will simply print across the 3 pages w/ no
regards for adding table headers at the top of each page.










   







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




Numeric properties

2001-12-06 Thread Peter B. West

I found it very difficult to develop a coherent way of representing 
numeric property values when I was looking at the property values 
expression evaluator.  My initial approach had a structure that looked 
something like:

 PropertyValue
   |
   v
Numeric
   /   |   \
  /v\
Number   Length  Percentage

with inheritance flowing down.  The problem was that Numeric types are 
changeable.  Any numeric with a unit power of zero is a number; any 
numeric with a unit power of one is a measure of some kind, and other 
unit powers represent intermediate calulation results in the expression 
evaluator.

A PropertyValue can start life as a Length, become a number (unit power 
0) through a multop, and then theoretically mutate into a completely 
different form of measurement, e.g. an Angle.  The table I used for this is:

 * Operations defined on combinations of the types (where a percentage
 * is treated in the same manner as a number) are:
 * number  anyop  number  = number
 * baseunitanyop  baseunit2   = Illegal
 * number  multop baseunit= baseunit
 * number  addop  baseunit= Illegal
 * baseunitmultop baseunit= baseunit (with changed power)
 * baseunit^n  addop  baseunit^n  = baseunit^n
 * baseunit^n  addop  baseunit^m  = Illegal
 *

I don't know how kosher this is, and would appreciate any comments.  I 
am also puzzled by the constraint in the spec (5.9.6 Absolute Numerics) 
that:

In addition, only the mod, addition, and subtraction operators require 
that the numerics on either side of the operation be absolute numerics 
of the same unit power. For other operations, the unit powers may be 
different and the result should be mathematically consistent as with the 
handling of powers in algebra.

As I read this, it means that, while I can divide a  by a 
number, resulting in a  of the same unit power, I cannot take 
the mod of a  using a number.  Can anyone explaing the reasons 
for this restriction?

The approach taken in the current expression evaluator is that all 
arithmetic operations involving property values require that the operand 
be another property value, and the operation generates a new property 
value object.  This may well be the cleanest way, but I am experimenting 
with expressing the result of the operation directly in the 
PropertyValue object on which the arithmetic operation is invoked.

In order for this to work, I had to eliminate the subclasses of Numeric. 
 These (Length, Percentage, IntegerType, Angle, Time, Frequency and 
possibly Number) remain as "static" classes which provide the class 
methods makeLength, makePercentage, etc, all of which return Numerics. 
 The type of a Numeric is distinguished by the baseunit, which may 
change as a result of arithmetic operations.
I am currently working my way through the Numeric and other subclasses 
of PropertyValue, and setting up any necessary PropertyValue objects to 
express the initial values of the properties in Properties.java, the 
monster properties file.

The propertyStacks in PropertyConsts.java will contain PropertyTriplet 
objects, which potentially contain specified, computed and actual 
property values.  Specified is a String; the othes are PropertyValue 
objects.  I will upload the latest versions to my web page later 
tonight, for anyone who is interested.

Peter



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




FOP working version?

2001-12-06 Thread antonio . azzarito

Can someone send me a link to a working FOP version?
downloading versioning from cvs.apache.org/snapshots/xml-fop the results
are not so good.

thanks. Antonio.


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