Re: Processing instructions

Uche Ogbuji scripsit:

> Yeah, that's one approach for other such use-cases as well (such as
> pagination).  George and others might have other objections to PI/comment
> unification, but for me I'm leaning towards seeing comments almost as C
> does, as just a noisy form of whitespace.  This usage would imbue them with
> much more fundamental significance. I guess PIs are analogous to #pragmas.

So they are.  If we wanted to unify comments and PIs, we could say that
a comment of the form <--? ... --> was reserved for PI-like use.
That doesn't help with delivering to browsers, though.

-- 
John Cowan  cowan@ccil.org    http://ccil.org/~cowan
Big as a house, much bigger than a house, it looked to [Sam], a grey-clad
moving hill.  Fear and wonder, maybe, enlarged him in the hobbit's eyes,
but the Mumak of Harad was indeed a beast of vast bulk, and the like of him
does not walk now in Middle-earth; his kin that live still in latter days are
but memories of his girth and his majesty.  --"Of Herbs and Stewed Rabbit"

Received on Friday, 27 July 2012 00:11:43 UTC