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

Thanks for the information Mauricio,

> 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.

Both have certainly their level of complexity.

But it would make sense to me that either XHTML is fully treated as XML or fully treated as HTML5 not half and half. That adds unnecessary complexity on top of the existing one.

Note also that the text is a SHOULD not a MUST, so you may get XHTML files with global rules in <scrip> and your parser for XHTML should really look for both notations. ...We just like to make things difficult it seems :)

-ys

Received on Thursday, 31 January 2013 16:31:25 UTC