[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: seduced by markup
On Fri, Nov 15, 2013 at 11:07 PM, Steve Newcomb <srn@coolheads.com> wrote:
With the greatest respect, John, I see it quite differently. Evidently you do, but I don't know why. I propose that our job as priests is not so much to do the singing, as I agree. What you see as elegance, I see as beautifully-wrought art based on the Is it really easier to understand <!ELEMENT level ( (file, ((fileName, fileNumber?) | (fileNumber, fileName?))?)
|(fileName, ((file, fileNumber?) | (fileNumber, file))) |(fileNumber, ((file, fileName?) | (fileName, file))) )> rather than level = element level { file & fileName? & fileNumber? }, which is the RNC equivalent?
Similarly, governance = element governance { president | king | queen | (king, queen) } is a more natural order than <!ELEMENT country (president | king |(king, queen) | queen)>, but DTDs tolerate only the second order.
Or just try to write down offhand a correct DTD element declaration for an element that must contain three to seven children of the same name. In RNC it's just element foo { child, child, child, child?, child?, child?, child? }.
Everyone writes documents. Everyone knows what a telephone number is, I'm not sure what this anti-datatype rant has to do with RNC, which has little (though not nothing) to do with datatypes. I use RNC/RNG all the time, and rarely use any non-DTD datatypes other than xsd:integer and xsd:anyURI.
GMail doesn't have rotating .sigs, but you can see mine at http://www.ccil.org/~cowan/signatures
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|