Re: Weird XML rules

Michael Kay <[email protected]>
Newsgroups gmane.text.xml.devel
Message-ID <[email protected]>
> 
> 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


_______________________________________________________________________

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.