cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Washeim <esa...@canuck.com>
Subject Re: Forms proposal
Date Sat, 08 Jul 2000 00:44:31 GMT
on 7/7/00 8:59 pm, Donald Ball at balld@webslingerZ.com wrote:

> On Fri, 7 Jul 2000, Mark Washeim wrote:
> 
>>> How many times to I have to tell you people? If you are coding something
>>> about SAX or DOM _by_hand_ you'll have troubles.
>>> 
>>> Gee, XSP was created to allow you guys to _avoid_ learning SAX or DOM.
>>> Tell me: why is it so hard to use?
>> 
>> 
>> Well, I agree in principle. However, there are cases where, though I NEVER
>> use the nodestack directly, I DO need to create elements (that is, use the
>> document as a factory to create child elements, etc). In fact, it's an
>> obvious requirement for many things the tag-lib author needs to do all the
>> time (ie, consistant reporting of errors, for which I use a util class to
>> append a child node with an explicit, content derived, error message....) .
>> . .
>> 
>> I find, for much of what I do, that I move away from logic and expr tags to
>> support libraries (as do most of the tag-libs) and, in that case, it's clear
>> . . . gotta write against the apis and not with xsp, per se....
> 
> bingo. if someone can tell me how to generate XML elements in my
> logicsheet libraries without relying on DOM or SAX, well, you'd be my best
> friend in the world. i anticipate having to rewrite all of my logicsheet
> libraries when i move to the cocoon2 world (at least those i don't want to
> rely on a DOM2SAX library).
> 
> - donald
> 

Yeah, I'm in the same boat. I love xsp tag-libs but loathe the idea of the
work I'm going to have to do :)



-- 
Mark (Poetaster) Washeim

'On the linen wrappings of certain mummified remains
found near the Etrurian coast are invaluable writings
that await translation.

Quem colorem habet sapientia?'

Evan S. Connell

 



Mime
View raw message