W3C home > Mailing lists > Public > public-i18n-its-ig@w3.org > July 2009

Re: ITS as a microformat (proposal)

From: Felix Sasaki <felix.sasaki@fh-potsdam.de>
Date: Thu, 2 Jul 2009 00:10:41 +0900
Message-ID: <ba4134970907010810h5902ca08t210fa7634fba7598@mail.gmail.com>
To: Jirka Kosek <jirka@kosek.cz>
Cc: public-i18n-its-ig@w3.org
Hi Jirka,

2009/7/1 Jirka Kosek <jirka@kosek.cz>

> Felix Sasaki wrote:
> > I have made some rapid prototyping about implementing ITS as a
> microformat.
> > http://docs.google.com/View?id=dch8cn8g_20hrxhkmd8
> > Comments and answers to the open questions are very welcome.
> Hi Felix,
> thanks for proposal. I think that it might be useful to provide not only
> one proposal using "classical" uF syntax, but also one based on RDFa and
> on HTML5 syntax of microformats. I think that now it is not yet clear
> which syntax will be mainstream in future, so we should open ITS to as
> much wide audience as possible.

Agree. This is just a first start, and the other formats you mention are
clearly in scope for other syntaxes. I am just trying to get a feeling for
some problems (e.g. local markup) first.

> I'm not convinced that it makes sense to have microformat for rules.
> 1) It will became visible part of document (and although it can be make
> unvisible in CSS, it will confuse search engines and other agents
> operating only on markup).

Isn't that the same problem with other  microformats, e.g. hcard?

> 2) Does user really need to create rules for general HTML content?

Not sure ... though I do not see the difference to the use case of shipping
"native" ITS rules in a seperate document - is there a difference? Or are
you saying that that is also no use case and users do not need to create
also native ITS rules for HTML?

> 3) There is tricky XPath part. Rules without prefixes will not work in
> XHTML content because XHTML elements are in namespace. Moreover HTML5
> spec moves also HTML elements into XHTML namespace and it is currently
> trying to bend XPath inside HTML5 content to use unprefixed element
> names to select elements from XHTML namespace.

That is indeed tricky. One workaround could be to propose that users of
rules use only tests for local names. That leads to akward XPath
expressions, but it would work. Anyway, I do not see the difference to
global "native" ITS rules, see my reply to 2).

> But it is definitively worth to create uF for local ITS data categories.

Yes - do you have any input on the problems I mentioned at "open questions"



>                        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
> ------------------------------------------------------------------
Received on Wednesday, 1 July 2009 15:11:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:05:40 UTC