Property classes and eventually, new Property handling.

2003-11-25 Thread John Austin
After my last post I went away to play in the code for a while. Mostly to see what is necessary to isolate a minmal set of classes related to Property handling. What I found is: 1) Property is ubiquitous: every client class knows what package it lives in. As a planning point, I better think

Re: Property classes and eventually, new Property handling.

2003-11-25 Thread Peter B. West
John Austin wrote: After my last post I went away to play in the code for a while. Mostly to see what is necessary to isolate a minmal set of classes related to Property handling. What I found is: 1) Property is ubiquitous: every client class knows what package it lives in. As a planning

Re: Property classes and eventually, new Property handling.

2003-11-25 Thread Glen Mazza
--- Peter B. West [EMAIL PROTECTED] wrote: And now for a little digression on code generation. My own view of code generation by XSLT transformation can be summed up as: Why, Peter, you're in disagreement with everyone else on this issue! (So what else is new? ;) * the canonical

Re: Property classes and eventually, new Property handling.

2003-11-25 Thread Peter B. West
Glen Mazza wrote: --- Peter B. West [EMAIL PROTECTED] wrote: And now for a little digression on code generation. My own view of code generation by XSLT transformation can be summed up as: Why, Peter, you're in disagreement with everyone else on this issue! (So what else is new? ;) Everyone

Re: Property handling

2002-08-14 Thread Peter B. West
J.Pietschmann wrote: Peter B. West wrote: More less than more, I should think. Parsing is inherently generic. E.g., I assume that you would use the same tokenizer and first-level parser. At the tokenizer level, sure. However, the spec provides for a wildly varying spectrum of

Property handling

2002-08-13 Thread Peter B. West
with unsynchronized. That was extremely encouraging news, and is presumably down to improvements in the JVM. I myself take issue with: - Property handling is hard to understand, with a gadzillion of indirections and odd instanceof and casts and of course, the XSL generated code

Re: Property handling

2002-08-13 Thread Peter B. West
Peter B. West wrote: J.Pietschmann wrote: And yes, it is absolutley choc-a-bloc with instancesof and casts, which, Should read absolutely chock-a-block; it is not to be confused with the consumption of chocolate. - Have a FONode method which goes through the attribute list and + gets

Re: Property handling

2002-08-13 Thread Peter B. West
J.Pietschmann wrote: There should be no need to actually store for many properties most of the data types which can be specified in an XML attribute, for example font-size can always be resolved to an absolute value. Bad things are for example alignment-adjust which must still store an

[Understanding] Property Handling [5]

2002-02-23 Thread klease
Property Handling - During XML Parsing, the FO tree is constructed. For each FO object (some subclass of FObj), the tree builder then passes the list of all attributes specified on the FO element to the handleAttrs method. This method converts the attribute specifications