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

> Initially I though the text meant "don't use embedded <its:rules>", but the example shows an embedded its:rules (without <script>). So I thoughts: Oh it just means "don't use its:rules inside script".

 

> And Mauricio seemed to confirm this: "...We use ITS XML syntax for the global rules and ITS HTML syntax for the local rules in the html parts." But I may have misunderstood and Mauricio wasn't talking about *embedded* global rules. (???)

 

> Now I'm understanding that the intent of the text is to discourage the use of embedded global rules.

> And if we were to use embedded global rules we should use them inside <script>.

 

Yes, we use global rules with its xml syntax like in the example (not inside script) and that is what we understood reading the phrase “and  <http://www.w3.org/TR/2012/WD-its20-20121206/#rfc2119> SHOULD NOT use  <http://www.w3.org/TR/2012/WD-its20-20121206/#html5-inline-global-rules> inline global rules” that points to the section that describes the rules inside <script> tags: “Inline global rules  <http://www.w3.org/TR/2012/WD-its20-20121206/#rfc2119> MUST be specified inside script which has…”

 

__________________________________

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 18:50
Para: public-multilingualweb-lt-comments@w3.org
Asunto: RE: Comment on ITS 2.0 WD-its20-20121206 - Inline global rules in XHTML

 

> Where we say to use its:rules inside XHTML without script?

 

Initially I though the text meant "don't use embedded <its:rules>", but the example shows an embedded its:rules (without <script>). So I thoughts: Oh it just means "don't use its:rules inside script".

 

And Mauricio seemed to confirm this: "...We use ITS XML syntax for the global rules and ITS HTML syntax for the local rules in the html parts." But I may have misunderstood and Mauricio wasn't talking about *embedded* global rules. (???)

 

Now I'm understanding that the intent of the text is to discourage the use of embedded global rules.

And if we were to use embedded global rules we should use them inside <script>.

 

That makes more sense.

 

 

So: a) the example must be fixed (as you pointed out) And b) the text could probably clarify that if embedded global rules are used they should follow the HTML5 way. Basically we should say somewhere that XHTML notation is the same as HTML5 (for local attributes, embedded rules, standoff markup, etc.) and in top of that embedded rules are frown upon.

 

I'm still not sure why embedded rules are frown upon in XHTML while there are not in HTML, but that's a different issue.

 

and what about the XML vocabularies like SVG in XHTML5 and HTML5?

 

-yves

 

 

-----Original Message-----

From: Jirka Kosek [mailto:jirka@kosek.cz]

Sent: Thursday, January 31, 2013 10:25 AM

To: Yves Savourel

Cc: public-multilingualweb-lt-comments@w3.org

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

 

On 31.1.2013 17:57, Yves Savourel wrote:

>> I think that confusion comes from the example which was added later. 

>> It should not contain its:rules element at all, only its-* 

>> attributes.

>> 

>> Yves, would removing the its:rules from the example dissolve your 

>> concerns?

> 

> Not really. It still seems that the "SHOULD NOT" contradicts the "DOM Consistency" the text refers to.

 

IIRC I proposed "MUST NOT" for using its:rules inside "public consumable" XHTML and HTML. But some implementers were saying that they can't rely only on local attributes and external rules, so we ended up with "SHOULD NOT" which kept door open but tries to discourage to do this.

 

> And it still looks very inconsistent: If there is nothing that prevents to use its:* attributes in XHTML why aren't we using them since we say to use <its:rules> directly without <script>? ...Or vice-versa.

 

Where we say to use its:rules inside XHTML without script?

 

> Note also that an XHTML document could hold SVG or other XML vocabularies and we would apply the ITS XML processing inside those, ..aren't we?

 

Please note that spec doesn't say anything specific about general XHTML

-- it should be treated as normal XML so you can use its:* attributes, its:rules anywhere, ...

 

But section you are referring to is describing only subset of XHTML used on the web:

 

"XHTML documents aimed at public consumption by Web browsers..."

 

this is because such XHTML is often server with wrong media type

(text/html) and thus gets parsed as HTML. It would be strange if you get different ITS markup in XHTML based on whether it was parsed using XML or HTML parser (so called DOM consistency rule). So for such XHTML usages we suggest using its-* attributes as they will get parsed in the same way.

 

With its:rules situation is more complex here but in general <script><its:rules/></script> yields as similar results as possible using XML and HTML parser.

 

                                                               Jirka

 

--

------------------------------------------------------------------

  Jirka Kosek      e-mail:  <mailto:jirka@kosek.cz> jirka@kosek.cz       <http://xmlguru.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> http://xmlprague.cz

------------------------------------------------------------------

 

 

Received on Thursday, 31 January 2013 18:45:08 UTC