XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
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 < b then 
it is rather natural to write b > 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. 
________________________________________________________________________


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS