Cool! I didn't realize that betwixt had a SAX (or stream) generator in it. That is really nice.
Any suggestions for a deprecation strategy for Domify? Thoughts: 1. Publish opt-betwixt (or opt-saxify?) and let them coexist. 2. Add the betwixt adapter to opt-domify and let them coexist in the same package. 3. Replace the domify adapter with the betwixt adapter inside opt-domify. 4. ? I'm a little worried that people are getting confused by all the optional packages. Putting an explanation in the docs would probably help (maybe this weekend). I'm somewhat partial to putting all the "stuff for people interested in using XSL as a templating technology" in one package. Jeff Schnitzer [EMAIL PROTECTED] > -----Original Message----- > From: jim moore [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 10, 2002 12:32 PM > To: [EMAIL PROTECTED] > Subject: [Mav-user] opt-betwixt > > Okay a little more playing around and I've gotten a betwixt view working. > The trouble seemed to be with their SAXBeanWriter. They have another > BeanWriter that simply writes to a stream. Using this I got it to work. I > assume that it's not going to be as efficient as the SAXBeanWriter, but it > works. And it should prove a good place holder until their SAXBeanWriter > is > working. Once it is, we should be able to simply update opt-betwixt. I > assume that the xml produced will be the same, so no one should even have > to > update their projects. > > You can get it here: > > http://www.scolamoore.com/jim/opt-betwixt-20020910.zip > > It's pretty heavily based on opt-domify, so Jeff and Scott deserve much of > the credit. > There is a friendbook-betwixt in there that works if you want an example. > > --jim > > ----- Original Message ----- > From: "jim moore" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, September 10, 2002 12:39 PM > Subject: [Mav-user] jxv and betwixt views > > > > So I spent a little while this morning screwing around with making jxv > and > > betwixt views. JXV contains DOMSource and SAXSource objects (not the > exact > > names, but close enough) that should be able to passed to TransformSteps > > though step.go(source). Unfortunately, both break in different ways. > > > > Betwixt has a SAXBeanWriter object that is created from a SAX > > ContentHandler, so theoretically we should be able to use it in maverick > as > > so: > > > > TransformStep next = vctx.getNextStep(); > > SAXBeanWriter sbw = new SAXBeanWriter(next.getSAXHandler()); > > try { > > sbw.write(vctx.getModel()); > > } catch (SAXException ex) { > > throw new ServletException(ex); > > } catch (IntrospectionException ex) { > > throw new ServletException(ex); > > } > > next.done(); > > > > Unfortunately this too blows up with some pretty cryptic errors. > > > > The problem with both packages does not seem to be with Maverick but > rather > > with jxv and betwixt themselves. Neither has release versions available > (I > > had to build both from cvs) and I think for now they are still too > unstable > > to be useful. > > > > On the upside though, once they are stable, it shouldn't take too long > to > > write maverick views for them (it took me about 30 minutes total to > write > > both views, basing them on opt-domify). > > > > --jim > > > > > > > > ------------------------------------------------------- > > 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/ > > > > > ------------------------------------------------------- > 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/ ------------------------------------------------------- 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/
