Re: [xml-dev] Why is the > symbol a reserved character?

From
David Carlisle <>
To
"Costello, Roger L." <>
Date
2010-07-09T12:57:49Z
ID
<>
Thread
Re: [xml-dev] Why is the > symbol a reserved character?
On 09/07/2010 13:42, Costello, Roger L. wrote:

a perhaps more helpful answer

xml doesn't have any "reserved characters" (it does "reserve" the prefix 
xml in any case for possible future use though)

You can use > in attribute values and character data unquoted.
You need some way of quoting the character string ]]> which can't appear 
in character data, but that could be done without using & l t ;

If your question is why is that entity reference pre-defined, probably 
just for symmetry. If you get used to writing tests like a &lt; b then 
it is rather natural to write b &gt; a rather than remember that one is 
allowed and the other isn't.

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________