- From: Tom Hillman <tom@expertml.com>
- Date: Mon, 12 Apr 2021 22:48:12 +0100
- To: "C. M. Sperberg-McQueen" <cmsmcq@blackmesatech.com>
- Cc: Steven Pemberton <Steven.Pemberton@cwi.nl>, public-ixml@w3.org
- Message-ID: <7d04556d-e492-427c-aecc-05b704a466d3@Spark>
Well, any grammar that describes an XML instance with namespace support; how about converting to xhtml 5 using a grammar for markdown? Or grammars for converting mathematic expressions in mathml? Using a prefix as the non terminal name isn’t really enough on its own: there needs to be a way of associating a URI for the namespace. I would support extending the attribute syntax, in a way which mirrors the XML syntax; something like: > quote_type > xmlns: “http://www.w3.org/1999/xhtml” > xmlns:m: “http://www.w3.org/1998/Math/MathML” Other elements or attributes can then be associated with a namespace by the existence (or otherwise) of a prefix. This is potentially significant for parsers, since to correctly create the required element, the namespace declarations will have to be parsed first. Like many things namespace, there's clearly a lot of potential for ugliness here. But I feel that's an argument to tie things down now rather than leave it much longer! Tom _________________ Tomos Hillman eXpertML Ltd +44 7793 242058 On 12 Apr 2021, 6:52 PM +0100, C. M. Sperberg-McQueen , wrote: > > > > On 12,Apr2021, at 4:49 AM, Tom Hillman <tom@expertml.com> wrote: > > > > I may be a little late tomorrow, but could we make some time to talk about specifying namespaces/declarations? I feel that this is a necessary (if ugly) feature that is currently conspicuous by its absence from the spec! > > > Do you have a motivating example? Concrete cases might help think of non-ugly ways to provide the necessities. > > Michael > > ******************************************** > C. M. Sperberg-McQueen > Black Mesa Technologies LLC > cmsmcq@blackmesatech.com > http://www.blackmesatech.com > ******************************************** >
Received on Monday, 12 April 2021 21:48:38 UTC