RE: [LT-Web] Test Suite output

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:21:14 UTC