[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: 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] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|