Re: Serialization of PI misses ending question mark

Krzysztof Maczyński On 09-09-19 19.05:

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


In HTML 4 a PI ends with a ">" - not with a "?>" But perhaps you 
have additional info about things work in "the wild"?
-- 
leif halvard silli

Received on Saturday, 19 September 2009 17:28:48 UTC