Re: More on HTML5 and XHTML5 integration

Hi Jirka,

thanks for this - I have no opinion on this, but taking Pedro in the loop.
Pedro, you said in a different thread that in real life scenario XHTML
needs to be supported. So maybe one of the solutions below would be useful
for you?

- Felix

2012/9/19 Jirka Kosek <jirka@kosek.cz>

> Hi,
>
> I have just updated
>
> http://microformats.org/wiki/existing-rel-values
>
> with its-rules link relation type we use for HTML5. Without such
> addition we couldn't claim pages with its-rules as valid.
>
> Also we should settle on syntax used for local categories for XHTML.
> With ITS 1.0 situation was easy, we used attributes from ITS namespace,
> like its:term.
>
> But for ITS 2.0 we define its-* for HTML5, ie. no namespace, just
> prefix. For XHTML5 we can decide whether to use its-* or its:*. I think
> that its-* makes more sense as XHTML5 content can be often parsed by
> HTML parser and not XML parser (for example when served with wrong media
> type). Using its-* will have benefit of producing consistent parsing
> result from both HTML5 and XHTML5 sources.
>
> Of course its:* would be solution more aligned with XML "philosophy",
> also it would be backward compatible with ITS 1.0. It would be
> interesting to hear opinion of implementers.
>
> I think that spec should encourage only one of these two possibilities
> for XHTML5 or at least provide some guidance about which syntax to use
> when.
>
>                                 Jirka
>
>
>
> --
> ------------------------------------------------------------------
>   Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
> ------------------------------------------------------------------
>        Professional XML consulting and training services
>   DocBook customization, custom XSLT/XSL-FO document processing
> ------------------------------------------------------------------
>  OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
> ------------------------------------------------------------------
>
>


-- 
Felix Sasaki
DFKI / W3C Fellow

Received on Wednesday, 19 September 2012 19:03:10 UTC