W3C home > Mailing lists > Public > www-tag@w3.org > February 2013

Re: Polyglot markup and authors

From: Mukul Gandhi <gandhi.mukul@gmail.com>
Date: Sun, 17 Feb 2013 11:22:09 +0530
Message-ID: <CABuuzNNiaJNdoy=WSvs5hc4Bye4rCGi-bLqgm5GEUsWZy=N4bw@mail.gmail.com>
To: Jirka Kosek <jirka@kosek.cz>
Cc: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>, "Michael[tm] Smith" <mike@w3.org>, Sam Ruby <rubys@intertwingly.net>, Maciej Stachowiak <mjs@apple.com>, Paul Cotton <Paul.Cotton@microsoft.com>, Henri Sivonen <hsivonen@iki.fi>, public-html WG <public-html@w3.org>, "www-tag@w3.org List" <www-tag@w3.org>
I had a use case very recently to process an HTML document, which was non
well-formed in XHTML/XML sense so as to be processable with an XML too
chain. It seems, that polyglot markup would have helped me write my
application.

Further to this I feel, assuming an HTML markup (not polyglot markup) is
sent to a browser agent for rendering, if the browser provides a
functionality to convert this received markup to polyglot and allowing the
user to save the converted polyglot markup, then the user can process the
received HTML information with an XML tool chain.

I also feel, that all different document formats (which have originated
from HTML) which are currently supported by web (these formats include
HTML, XHTML and XML for e.g), must have an integration glue so as to be
able to design a union of all such web data formats. It seems to me, that
polyglot markup is one such integration glue.

On Thu, Jan 31, 2013 at 3:48 AM, Jirka Kosek <jirka@kosek.cz> wrote:

> On 28.1.2013 5:43, Leif Halvard Silli wrote:
>
> > Mike: In trying to understand what Henri said about authors, I see that
> > he was afraid that A List Apart would write about polyglot. And clearly
> > many authors read ALA. But I find only 2 references to Appendix C at
> > ALA.[2] Henri seems to forget that it was XHTML 1.0 that spread the
> > message that XHTML syntax is OK in text/html. Hey, W3.org uses XHTML
> > syntax all over - to this day.
>
> Just to add 0.02 to this polyglot discussion. Czech Web developers
> magazine published my article about polyglot 1.5 year ago:
>
> http://www.zdrojak.cz/clanky/polyglot-aneb-webovym-koderem-pod-oboji/
>
> The conclusion is simple -- except very narrow use-cases usage of
> polyglot doesn't make sense. Follow-up discussion hasn't indicated
> disagreement with this conclusion.
>
> Personally I don't have preference whether polyglot should or shouldn't
> be REC.
>
> Leif you seem to put a lot of energy to promoting polyglot. I have seen
> something similar 10 years ago -- a lot of energy was put into promoting
> XHTML -- unfortunately this created many false expectations on the web
> developers side. We shouldn't repeat this mistake again with polyglot.
>
>                                         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 rep.
> ------------------------------------------------------------------
>     Bringing you XML Prague conference    http://xmlprague.cz
> ------------------------------------------------------------------
>



-- 
Regards,
Mukul Gandhi
Received on Sunday, 17 February 2013 05:52:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 17 February 2013 05:53:00 GMT