- From: Leroy Finn <finnle@tcd.ie>
- Date: Fri, 18 Jan 2013 14:33:11 +0000
- To: Yves Savourel <ysavourel@enlaso.com>
- Cc: Multilingual Web LT-TESTS Public <public-multilingualweb-lt-tests@w3.org>, Mārcis Pinnis <marcis.pinnis@tilde.lv>, Pēteris Ņikiforovs <peteris.nikiforovs@tilde.lv>, Andis Lagzdiņš <andis.lagzdins@tilde.lv>
- Message-ID: <CAMYWBwtvr1fr5QOfK0AunxO-2MUQZhbbD_3F0t6L8010biOgJg@mail.gmail.com>
Hey Yves, About HTML 3 I didn't know we were going to identify lang in the output of the file. So if we are doing this then from my reading of the data category we should have a test in XML example xml:lang which i can add now. Leroy On 18 January 2013 14:20, Yves Savourel <ysavourel@enlaso.com> wrote: > Hi Leroy, Pablo, Ankit, Mārcis, all, > > Based on the current outputs in Git: > > > -- For languageinfo1htm2output.txt: > > I think we should have: > > /html > /html/head[1] > /html/head[1]/meta[1] > /html/head[1]/meta[1]/@charset > /html/head[1]/link[1] > /html/head[1]/link[1]/@href > /html/head[1]/link[1]/@rel > /html/head[1]/title[1] > /html/body[1] > /html/body[1]/p[1] > /html/body[1]/p[1]/q[1] lang="fr-CA" > /html/body[1]/p[1]/q[1]/@lang lang="fr-CA" > /html/body[1]/p[2] > /html/body[1]/p[2]/q[1] lang="fr-CA" > /html/body[1]/p[2]/q[1]/@lang lang="fr-CA" > > instead of this: > > /html > /html/@lang > /html/head[1] > /html/head[1]/meta[1] > /html/head[1]/meta[1]/@charset > /html/head[1]/link[1] > /html/head[1]/link[1]/@href > /html/head[1]/link[1]/@rel > /html/head[1]/title[1] > /html/body[1] > /html/body[1]/p[1] > /html/body[1]/p[1]/q[1] lang="fr-CA" > /html/body[1]/p[1]/q[1]/@lang lang="fr-CA" > /html/body[1]/p[2] > /html/body[1]/p[2]/q[1] lang="fr-CA" > /html/body[1]/p[2]/q[1]/@lang lang="fr-CA" > > because there is no lang attribute in <html>, so no lang node in the > output. > > > -- languageinfo3htmloutput.txt: > > I think we should output this: > > /html lang="en" > /html/@lang lang="en" > /html/head[1] lang="en" > /html/head[1]/meta[1] lang="en" > /html/head[1]/meta[1]/@charset lang="en" > /html/head[1]/script[1] lang="en" > /html/head[1]/script[1]/@type lang="en" > /html/head[1]/title[1] lang="en" > /html/body[1] lang="en" > /html/body[1]/p[1] lang="en" > /html/body[1]/p[1]/@id lang="en" > /html/body[1]/p[1]/q[1] lang="en" > /html/body[1]/p[2] lang="en" > /html/body[1]/p[2]/@id lang="en" > /html/body[1]/p[2]/q[1] lang="fr-CA" > /html/body[1]/p[2]/q[1]/@lang lang="fr-CA" > > instead of this: > > /html > /html/@lang > /html/head[1] > /html/head[1]/meta[1] > /html/head[1]/meta[1]/@charset > /html/head[1]/script[1] > /html/head[1]/script[1]/@type > /html/head[1]/title[1] > /html/body[1] > /html/body[1]/p[1] > /html/body[1]/p[1]/@id > /html/body[1]/p[1]/q[1] > /html/body[1]/p[2] > /html/body[1]/p[2]/@id > /html/body[1]/p[2]/q[1] lang="fr-CA" > /html/body[1]/p[2]/q[1]/@lang lang="fr-CA" > > because there is a local lang attribute in <html> and the > element/attributes inherit it. > > cheers, > -ys > > > > >
Received on Friday, 18 January 2013 14:33:39 UTC