- From: John Cowan <cowan@mercury.ccil.org>
- Date: Wed, 27 Oct 2010 13:12:58 -0400
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: Martin J. Dürst <duerst@it.aoyama.ac.jp>, John Cowan <cowan@ccil.org>, fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>, WWW International <www-international@w3.org>
Tab Atkins Jr. scripsit: > I don't know much about DTDs, but isn't it possible to define default > values for attributes per element? I mean, you even point out that > any problem such a case would have with xml:dir would also apply to > xml:lang. Yes, it's possible, but relatively little XML processing actually uses DTDs nowadays. XML Schema and RELAX NG have more or less taken over the landscape, and while both provide features to *specify* attribute defaulting, most schemas don't do it (to make schemaless processing easy) and most and most software doesn't depend on it. In practice, attribute defaulting winds up being an application feature. -- Why are well-meaning Westerners so concerned that John Cowan the opening of a Colonel Sanders in Beijing means cowan@ccil.org the end of Chinese culture? [...] We have had http://www.ccil.org/~cowan Chinese restaurants in America for over a century, and it hasn't made us Chinese. On the contrary, we obliged the Chinese to invent chop suey. --Marshall Sahlins
Received on Wednesday, 27 October 2010 17:13:43 UTC