Re: Draft

On 20/02/2012 15:01, Anne van Kesteren wrote:

> http://dvcs.w3.org/hg/xml-er/raw-file/tip/Overview.html
>

Anne,
thanks for this, some comments/questions based on 20th Feb version.


* Every use of <!DOCTYPE is a parse error
(No comment on whether this is good or bad, just checking if I'm reading
your grammar correctly)



* There is no checking of element and attribute names where any unicode
characters other than the minimum syntax characters of white space and
<=/ etc are allowed.

Just an observation that this means that the result of the parse doesn't
map well to the XDM or infoset models and so wouldn't work
with xpath or other XML technologies. (That doesn't necessarily mean
that this choice is wrong, as there could be a later mapping to XDM
fixing up illegal names, just flagging this).)

* doctype internal subset parsing still takes up a depressingly large
part of the grammar, it would be nice if some of that could be lost
(which would have some cost in compatibility with xml) especially in
light of the first item above:-)


David

Received on Monday, 20 February 2012 22:30:38 UTC