Re: Is XML a language or a data format?
Tony Graham <[email protected]>
| Newsgroups | gmane.text.xml.devel |
|---|---|
| Message-ID | <[email protected]> |
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
[email protected]
[1] https://en.wikipedia.org/wiki/Traffic_light#Variations
[2] https://en.wikipedia.org/wiki/Traffic_light#Meanings_of_signals
_______________________________________________________________________
XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: [email protected]
subscribe: [email protected]
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php