RE: Comment on ITS 2.0 WD-its20-20121206 - Inline global rules in XHTML

Hi Yves.

 

For the use case of “CMS to TMS System” we use xhtml as interchange format and we do that (follow the actual version of the specification).

We use ITS XML syntax for the global rules and ITS HTML syntax for the local rules in the html parts.

 

Conceptually it can be a bit tricky, but it is possible to implement. The other way (<script>) forces to do a two-step parsing. I mean, also has its own complexity level.

 

Cheers.

__________________________________

Mauricio del Olmo Martínez

Dpto. Técnico/I+D+i

Linguaserve Internacionalización de Servicios, S.A.

Tel.: +34 91 761 64 60 ext. 0421
Fax: +34 91 542 89 28 

E-mail:  <mailto:tecnico@linguaserve.com> tecnico@linguaserve.com

 <http://www.linguaserve.com/> www.linguaserve.com

 

«En cumplimiento con lo previsto con los artículos 21 y 22 de la Ley 34/2002, de 11 de julio, de Servicios de la Sociedad de Información y Comercio Electrónico, le informamos que procederemos al archivo y tratamiento de sus datos exclusivamente con fines de promoción de los productos y servicios ofrecidos por LINGUASERVE INTERNACIONALIZACIÓN DE SERVICIOS, S.A. En caso de que Vdes. no deseen que procedamos al archivo y tratamiento de los datos proporcionados, o no deseen recibir comunicaciones comerciales sobre los productos y servicios ofrecidos, comuníquenoslo a  <mailto:clients@linguaserve.com> clients@linguaserve.com, y su petición será inmediatamente cumplida.»

 

"According to the provisions set forth in articles 21 and 22 of Law 34/2002 of July 11 regarding Information Society and eCommerce Services, we will store and use your personal data with the sole purpose of marketing the products and services offered by LINGUASERVE INTERNACIONALIZACIÓN DE SERVICIOS, S.A. If you do not wish your personal data to be stored and handled, or you do not wish to receive further information regarding products and services offered by our company, please e-mail us to  <mailto:clients@linguaserve.com> clients@linguaserve.com. Your request will be processed immediately.”

__________________________________

-----Mensaje original-----
De: Yves Savourel [mailto:ysavourel@enlaso.com] 
Enviado el: jueves, 31 de enero de 2013 16:45
Para: public-multilingualweb-lt-comments@w3.org
Asunto: Comment on ITS 2.0 WD-its20-20121206 - Inline global rules in XHTML

 

I know the commenting period is closed, but I'll post this one anyway:

 

Looking at  <http://www.w3.org/TR/2012/WD-its20-20121206/#xhtml5-markup> http://www.w3.org/TR/2012/WD-its20-20121206/#xhtml5-markup the text says:

 

"XHTML documents aimed at public consumption by Web browsers SHOULD use syntax for local attributes described in Section 6.1: Mapping of Local Data Categories to HTML and SHOULD NOT use inline global rules in order to adhere to DOM Consistency HTML Design Principle."

 

I don't understand why we have to use <its:rules> directly rather than inside <script> for XHTML since the stated goal of the "DOM Consistency" seems to be to have the same tree. If we use <its:rules>..</its:rules> in XHTML and <script><its:rules>...</its:rules></script> we presumably get different trees not identical ones. It seems the "SHOULD NOT" should be a "SHOULD" (and the example changed).

 

>From an implementation view point it would be also simpler since we say attributes should use the HTML names. having to do the HTML5 thing for part of the parsing and the XML thing for the other is making things difficult.

 

 

cheers,

-yves

 

 

Received on Thursday, 31 January 2013 16:09:03 UTC