[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Weird XML rules
- From: Michael Kay <mike@saxonica.com>
- To: Roger L Costello <costello@mitre.org>
- Date: Sat, 19 Mar 2022 14:42:35 +0000
>
> So, the same character is treated differently purely because of the way the character is lexically represented.
>
> Isn't that weird?
>
On the contrary, it's exactly what you would expect.
Perhaps in an ideal world there would be symbols that could only be used for markup, completely separate from the symbols used for text.
But then you wouldn't be able to write a markup guide that talks about the symbols used for markup.
As soon as you decide that markup is done using characters that can also be used as ordinary data, you realise that you need escape mechanisms to avoid ambiguities.
Michael Kay
Saxonica
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]