Re: [xml-dev] Towards XML 2.0

From
Dave Pawson <>
To
XML Developers List <>
Date
2010-12-04T15:26:27Z
ID
<20101204152627.5156508f@marge3>
Thread
Re: [xml-dev] Towards XML 2.0
On Sat, 04 Dec 2010 16:18:20 +0100
COUTHURES Alain <> wrote:

> Le 04/12/2010 15:33, Elliotte Rusty Harold a écrit :
> >
> > I can't see that allowing -- in comments is important enough to
> > break the tool chain. If it were really that important, I'd suggest
> > dropping comments completely and replacing them with<?comment
> > text ?>  but it's probably simpler to just leave them in as is,
> > imperfect though they are.
> >
> Comments and processing instructions sound like metadata to me and I 
> don't think that it's a good idea to have special syntaxes or
> functions to manipulate them.

+1 Sounds like a worthy simplification to me. More so on PI's
a little less on comments. 


> 
> When we say that there can only be one root for an XML 1.0 document,
> we forget to say that it just means one element at root level but
> there can be many nodes with a different type. XML 2.0 should allow
> multiple elements at root level.


With the RDF mismatch I've often wondered about basing XML on a graph
rather than a tree. 




-- 

regards 

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk