Re: [xml-dev] Fixing what's broke

From
David Carlisle <>
To
Pete Cordell <>
Date
2010-12-07T10:30:29Z
ID
<>
Thread
Re: [xml-dev] Fixing what's broke
On 07/12/2010 09:48, Pete Cordell wrote:
> So I'd suggest doing something like:
>
> <Book:Book>
> <Book:Author>John Grisham</>
> <Book:Title>The Case of the Hidden Claw</>
> </Book:Book>

But why stop there? if tag minimisation is what you want and you had an 
SGML DTD (or a newly proposed xmlnext schema or an html-like parser) 
then you could do

<Book:Book>
<Book:Author>John Grisham
<Book:Title>The Case of the Hidden Claw

as Title wouldn't be allowed inside Author, so Author would close, and 
then the end of file would close the open Title and Book.

David