RE: Barracuda: How to output XML Conformant HTML?
Stefan Armbruster <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, I think XMLC is capable of handling XHTML. In the more recent releases, there a xhtml.jar bundled. Refering to David Young's book, you should call xmlc -dom-factory org.enhydra.xml.xhtml.XHTMLDomFactory Regards, Stefan Am Mon, 2002-12-09 um 04.26 schrieb Christian Cryder: > So it seems like there are 2 issues here: > > 1. getting XMLC to actually compile the templates as XHTML (can we ask > about this on the XMLC list?) > > 2. creating a set of XHTML renderers for Barracuda > > This second one isn't actually that hard. If you can figure out how to > do the first one, I could probably create a set of renderers pretty > quickly because I think they would be very similar to the HTML > renderers that already exist. Then you could test them out and make > adjustments as needed. > > THoughts? > > Christian > ---------------------------------------------- > Christian Cryder [[email protected]] > Internet Architect, ATMReports.com > Barracuda - http://barracuda.enhydra.org > ---------------------------------------------- > "Coffee? I could quit anytime, just not today" > > -----Original Message----- > From: [email protected] > [mailto:[email protected]]On Behalf Of Jacob Kjome > Sent: Sunday, December 08, 2002 2:50 PM > To: [email protected] > Subject: Re: Barracuda: How to output XML Conformant HTML? > > > HI Simon, > > Currently, this is a shortcoming of Barracuda because the > components currently don't support XHTML. If you don't use > Barracuda components, then this is much less of an issue, but > Imagine you are using BTemplate or something like that, > right? I'm not sure how much of an effect that would have on > XHTML, but certainly the other HTML specific components > require analogs in XHTML. Now, are you using the XHTML > extensions for XMLC? If you are not, then you will definitely > have issues because the DOM stored won't be representative of > XHTML. As far as using the XMLC taskdef, I'm not sure what > the flags to compile as XHTML are? I know there are a few > Barracuda users who have used the XHTML extensions. Hopefully > they can speak to this issue. Otherwise, check out the XMLC > docs for the appropriate flags to provide to XMLC to compile > as XHTML and provide those to the taskdef. > > We definitely need to provide XHTML support in Barracuda given > the current push toward XHTML. So, you can consider this a > relatively high priority but, as yet, we have no one currently > assigned to that particular task. If you are adamant about > using XHTML, then you should probably, for now, drop the > Barracuda component model and stick to only using the event > and forms models. Then, just use straight XMLC XHTML document > extensions until better support for XHTML components in > Barracuda is provided. > > Jake > > At 10:53 PM 12/7/2002 +0100, you wrote: > > Hi all, > > > > In my HTML templates I have XML conformant HTML (XHTML) but > > what is > > being produced by Barracuda (XMCL/TIDY) is standard HTML > > which is > > breaking my XSLT engine that needs to process it. > > > > What do I need to do to stop this degredation occuring? Can > > I set an > > option somewhere? > > > > I am using the build.xml and associated taskdefs from the > > DiscRack > > example. > > > > Thanks, > > > > Simon. > > > > _______________________________________________ > > Barracuda mailing list > > [email protected] > > http://www.enhydra.org/mailman/listinfo.cgi/barracuda > > FAQ - http://www.jguru.com/faq/Barracuda _______________________________________________ Barracuda mailing list [email protected] http://www.enhydra.org/mailman/listinfo.cgi/barracuda FAQ - http://www.jguru.com/faq/Barracuda