> 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.willi...@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





_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to