[Bug 10456] Should not emit ]] or ] when ]]EOF or ]EOF appears in the CDATA section state

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10456


Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian@hixie.ch




--- Comment #1 from Ian 'Hixie' Hickson <ian@hixie.ch>  2010-09-25 16:28:01 ---
How is this different from:

   <[EOF]     (vs <p>)
   </[EOF]    (vs </p>)
   &[EOF]     (vs &lt;)

...?

Is the request here to change the CDATA section state to ignore one or two
trailing "["s if an EOF was seen? That seems odd. We only make EOF drop stuff
if we would otherwise always have eventually returned a non-character token yet
the end of the token had not been seen yet. In this case, first the ]]> doesn't
correspond to a token, and secondly if the next character adter "]]" is not
">", then the "]]" would be emitted as characters. So I'm not sure that what
you describe makes sense.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Saturday, 25 September 2010 16:28:03 UTC