- From: Henry S. Thompson <ht@inf.ed.ac.uk>
- Date: Tue, 18 Dec 2012 18:55:17 +0000
- To: James Clark <jjc@jclark.com>
- Cc: public-microxml@w3.org
James Clark writes: > Here's an idea I was playing around with a while ago. It relates to the > PossibleChildren property John mentioned. > > Imagine a really, really simple schema language that > > - uses a non-XML syntax; > > - allows a parser to do reasonable error recovery (and thus markup > minimization, if you ignore the errors); > > - allows editors to provide a useful-level of authoring assistance. Not sure about the 3rd, but in the afore-mentioned PyXup work, I used something of this sort, which looked like this: doc:head,body head:title,author,date,note title:T,emph,code,name,link,term author:T,emph,code,name,link,term date:T term: Too simple (it doesn't allow T to be an element name, d'oh), but I bother to mention it because it uses a closed-world assumption rather than requiring explicit negation, which may be a bit more intuitive? ht -- Henry S. Thompson, School of Informatics, University of Edinburgh 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail from me _always_ has a .sig like this -- mail without it is forged spam]
Received on Tuesday, 18 December 2012 18:55:41 UTC