Re: Processing instructions

James Clark scripsit:

> If we allow PIs whether just in the prolog or everywhere, we also have the
> issue of what to say about names starting with [xXmMlL].

No issue there.  They aren't well-formed, period.  See the XML Rec:

[17]    PITarget       ::=       Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))

This is not like attribute and element names, where names of that form
are just reserved.

I certainly would not sacrifice XML compatibility for that, so they have
to be excluded explicitly.

-- 
John Cowan                                cowan@ccil.org
I amar prestar aen, han mathon ne nen,    http://www.ccil.org/~cowan
han mathon ne chae, a han noston ne 'wilith.  --Galadriel, LOTR:FOTR

Received on Tuesday, 4 September 2012 03:45:23 UTC