W3C home > Mailing lists > Public > public-html@w3.org > September 2009

Re: Serialization of PI misses ending question mark

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 19 Sep 2009 20:45:05 +0000 (UTC)
To: Krzysztof MaczyƄski <1981km@gmail.com>
Cc: public-html@w3.org
Message-ID: <Pine.LNX.4.62.0909192043070.5185@hixie.dreamhostps.com>
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

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:08 UTC