[webkit-dev] Is the New XMLParser dead?
Steve Williams
stephen.j.h.williams at googlemail.com
Fri Jan 18 09:24:36 PST 2013
> Your examples are not valid according to XML 1.0.
I know - that was kind of the point of mentioning it - an FYI.
Will raise for discussion on the responsible W3C mailing lists when I figure out where they are.
Cheers,
Steve.
On 18/01/2013 15:26, Dirk Schulze wrote:
> On Jan 18, 2013, at 6:19 AM, Steve Williams <stephen.j.h.williams at googlemail.com> wrote:
>
>> No idea what this is about as I haven't studied your tree yet but here's
>> a couple of XML enhancements I'd like to see accepted by the mainstream
>> (including the webkit parser)
>>
>> 1. default element close.
>>
>> syntax: <myelement>
>> [stuff]
>> </>
>>
>> currently you have to do :
>>
>> <myelement>
>> [stuff]
>> </myelement>
>>
>> which is overly verbose.
>>
>>
>> 2. drop the requirement for quotes on attributes where the value doesn't
>> contain whitespace.
>>
>> So <myelement thing=5/>
>>
>> rather than the bloaty <myelement thing="5"/>
>>
>> Yeah I know those aren't in the current XML spec. Just sayin'.
> The purpose of an XML parser is parse XML files according to the specification of XML. If you don't like the rules of XML, discuss it on the responsible W3C mailing lists. Your examples are not valid according to XML 1.0.
>
> Greetings,
> Dirk
>
>
>
>
More information about the webkit-dev
mailing list