On Tue, Nov 27, 2012 at 5:17 PM, Olemis Lang <[email protected]> wrote: > On 11/26/12, Joe Dreimann <[email protected]> wrote: >> On 26 Nov 2012, at 07:03, Peter Koželj <[email protected]> wrote: >>> On 25 November 2012 20:07, Matevz Bradac <[email protected]> wrote: >>>> Hi, >>>> >>>> I've started working on #217 - "Make Bloodhound's layout responsive", >>>> based on Joe's html mockup of the ticket page (#240). >>>> I noticed that the HTML output contains a mix of HTML 5 along with >>>> XHTML 1.0, even though the doctype is XHTML 1.0 strict. >>>> As a consequence (some of) the pages don't validate (e.g. >>>> >>>> http://validator.w3.org/check?uri=https://issues.apache.org/bloodhound/ticket/240 >>>> ), >>>> and this may be the cause of browsers (mis)behaving and rendering >>>> things differently. >>>> >>>> Is there any general consensus which doctype BH should use? > > At least I didn't pay attention to this ... and afaicr I saw nothing > like that in mockup either > >>>> Since >>>> we're using Bootstrap I suppose it would be better to go along >>>> with HTML 5, but I'm not sure how this affects the templating system. > > Should be OK , afaicr . Genshi is about XML > >>>> There's a Genshi extension which could be used >>>> (http://code.google.com/p/genshihtml5), >>>> does anyone have any experience with that? >>>> > > What's the benefit for using this ? Basically the extension provides a new serializer which outputs valid HTML5, the author explains it in detail at http://genshi.edgewall.org/ticket/108. IMO it's not needed for BH, any non-HTML5-conformant output can easily be detected using validation, and if there are any such issues, they'll most likely be minor and trivial to fix. Hopefully =)
<snip> > > -- > Regards, > > Olemis. > > Blog ES: http://simelo-es.blogspot.com/ > Blog EN: http://simelo-en.blogspot.com/ > > Featured article: -- matevz
