Hi

Thank you for all support. Unfortunately, you lost me two mails back 
when you started talking about DOM and SAX. It seems that I have some 
serious reading to do before I'll be of any help :(

I have picked up a few things though:
The Betwixt TODO-list has a low priority point saying: <<Create a W3C 
DOM implementation that acts as a facade on top of beans to allow beans 
to be transformed in XSLT engines as XML.>> - I guess this is what would 
be needed to easily plug Betwixt into Maverick? Would it be easier to 
use JXV? See 'Using JXV in your code' in: 
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jxv/jxv/doc/user_guide.html

I don't know how smart these packages are since each bean that has to be 
treated with care (cyclic reference), needs a special configuration 
entry for the Betwixt or JXV. Did I miss something or does it have to be 
this awkward?

Why is Xalan interesting for the Bean to XML conversion? I thought it 
was only used for XSLT and the Bean to XML transformation takes place 
before that.

/johan


jim moore wrote:

> Ah, gotcha. I was assuming betwixt was comparable to domify.
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of Schnitzer,
> Jeff
> Sent: Monday, September 09, 2002 7:01 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [Mav-user] cyclic reference graphs in opt-domify
> 
> 
> 
>>From: jim moore [mailto:[EMAIL PROTECTED]]
>>
>>I wasn't suggesting writing a DOM fa�ade (agreed that would be 
>>difficult). I just meant it should be trivial to write a custom view 
>>that wraps betwixt.
>>
> 
> I don't think betwixt by itself can be used for a view; it's just a way
> of defining the mapping from Java->XML, not a tool which provides the
> mapping to DOM/SAX/whatever itself.
>  
> 
>>As for the SAX event idea, wouldn't this suffer from the same cyclical
>>
> 
>>reference difficulty as domify? Seems to me that you would end up 
>>firing an infinite set of open element tag events on cyclical 
>>references. Not to say that a SAX event firing view isn't a good idea,
>>
> 
>>just that it is probably a project in itself.
>>
> 
> Yup, SAX events would suffer the same cyclical problem as domify - which
> is why something like Betwixt is necessary to exclude the paths that
> have the cycles.  At the moment, Domify isn't that smart because we
> expected XSLT processors to be intelligent about how they navigate the
> DOM.  Xalan 2.1 was, but more recent versions aren't :-(
> 
> A quick solution to the cycle problem might be to switch to Xalan 2.1.
> A more satisfying solution would be to replace Domify with a
> betwixt-based "Saxify".  Still pretty easy to build, but probably not a
> couple hours work, unfortunately.
> 
> Jeff Schnitzer
> [EMAIL PROTECTED]
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old cell
> phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=urceforge1&refcode1=3390
> _______________________________________________
> Mav-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/mav-user
> Archives are available at http://www.mail-archive.com/
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r_______________________________________________
> Mav-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/mav-user
> Archives are available at http://www.mail-archive.com/
> 
> 
> 




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Mav-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mav-user
Archives are available at http://www.mail-archive.com/

Reply via email to