[Home] [By Thread] [By Date] [Recent Entries]
(Hi Tim!) This is the kind of thing, at this premature stage: <?whoami answer a PI: but even here 1 < 2 ?> <tom age=3 birthday=1980-04-26 eyes=blue olympian=false favorite-identity=" 1 < 2">some mixed content<x />. </tom> <dick note="second root!" xml:id=d123 X&x#36;YZ="references anywhere!"> element content here, but no CDATA marked sections </dick> <and:harry xmlns:and="http://www.whatever.com/" /> So perhaps a less nannying, more consistent, more HTML-ish thing. (My productions may not support the empty tags) The attribute values with no double quote are parsed/transduced into integer, gDate, name and boolean values. xml:id is parsed into an id, unique per document not per root (I guess.) The element name tom is in no namespace, not because there is no default declaration in scope, but because no prefix means no namespace: we dont need to look for a declaration. Another idea (was this an old james Clark suggestion?) would be to also have string literals as names. That does not create lexical modes, but does allow much more idiomatic names for humans that might make for better messages too. <"person of interest" "given name" = "Mary Grace" age=13 /> Cheers, Rick On Fri, 23 Jul. 2021, 00:40 Tim Bray, <tbray@t...> wrote:
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



