Re: Fwd: XHTML character entity support

On Tue, Nov 3, 2009 at 8:02 AM, Shelley Powers <shelley.just@gmail.com> wrote:
> On Tue, Nov 3, 2009 at 3:28 AM, Simon Pieters <simonp@opera.com> wrote:
>> On Mon, 02 Nov 2009 20:41:24 +0100, John Cowan <cowan@ccil.org> wrote:
>>
>>> Simon Pieters scripsit:
>>>
>>>> What is being discussed is not adding predefined entities. What is being
>>>> discussed is making certain doctypes map to DTDs that contain just entity
>>>> declarations (which is what Firefox, WebKit and Opera do today).
>>>
>>> Well, any non-validating parser is free to do that today.  (It's not quite
>>> clear to me from the XML Rec whether a validating parser is compelled
>>> to actually read an external DTD subset, or whether it may simply assume
>>> what it contains.)
>>>
>>> The downside is that some non-validating parsers, those that do not read
>>> the external subset, will reject the document as not well-formed.
>>
>> Or they can fail to expand the entities without a fatal error (like Opera
>> does). Either way, this is exactly the issue. If I understand Alexey
>> correctly, he wants to remove the downside by having a requirement that UAs
>> have the mapping for a handful of doctypes.
>>
>> --
>> Simon Pieters
>> Opera Software
>>
>>
>
> Oops, again. Opera does generate an XML parsing failure when it comes
> across an undefined entity when using the XHTML5 doctype.
>
> It's only with Henri's test, with the bogus DTD that Opera fails.
>
> Shelley
>
> Shelley
>


And another correction: I referenced unparsed when I meant undefined entities.

Sorry for any confusion I may have evoked.

Shelley

Received on Tuesday, 3 November 2009 20:07:02 UTC