Re: Serialization of PI misses ending question mark

On Sat, 19 Sep 2009, Krzysztof MaczyĆ~Dski wrote:
>
> The ED says in section 9.4:
> > If current node is a ProcessingInstruction
> >
> >     Append the literal string <? (U+003C LESS-THAN SIGN, U+003F QUESTION MARK), followed by the value of current node's target IDL attribute, followed by a single U+0020 SPACE character, followed by the value of current node's data IDL attribute, followed by a single U+003E GREATER-THAN SIGN character ('>').
> It should rather say:
> > If current node is a ProcessingInstruction
> >
> >     Append the literal string <? (U+003C LESS-THAN SIGN, U+003F QUESTION MARK), followed by the value of current node's target IDL attribute, followed by a single U+0020 SPACE character, followed by the value of current node's data IDL attribute, followed by the literal string ?> (U+003F QUESTION MARK, U+003E GREATER-THAN SIGN).

Why? This is simulating PIs from HTML4, not from XML.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Saturday, 19 September 2009 20:39:19 UTC