Re: Barracuda: How to output XML Conformant HTML?
Jacob Kjome <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
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