Re: [xml-dev] Is XML a language or a data format?

From
Tony Graham <>
To
Date
2022-07-14T11:19:26Z
ID
<>
Thread
Re: [xml-dev] Is XML a language or a data format?
On 14/07/2022 11:27, Michael Kay wrote:
...
> A traffic light can only send out a small finite set of messages 
> ("Stop", "Go", "Get Ready") and we wouldn't normally call such a
> small set of utterances a language, because it doesn't have
> sufficient expressive power; but in any rigorous definition of what a
> language is, it's very likely to qualify. There is certainly a
> grammar:
> 
> SIGNAL := RED | GREEN | AMBER | RED+AMBER

Where RED+AMBER, while allowed by the grammar [2], is mostly a feature
of the UK dialect of the language [1], and BLUE is the Japanese
for GREEN. [1]

Regards,


Tony Graham.
-- 
Senior Architect
XML Division
Antenna House, Inc.
----
Skerries, Ireland


[1] https://en.wikipedia.org/wiki/Traffic_light#Variations
[2] https://en.wikipedia.org/wiki/Traffic_light#Meanings_of_signals