note 108810 deleted from simplexml.examples-basic by danbrown
| From: | danbrown@php.net | Date: | Fri, 25 May 2012 23:59:50 +0000 |
| Subject: | note 108810 deleted from simplexml.examples-basic by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-188247@lists.php.net to get a copy of this message | ||
Note Submitter: contact at paulchaplin dot com
----
The previous note from "mishagale at fastmail dot fm" is incorrect. He or she is confusing
defined (named) entities (e.g. ') and decimal or hexadecimal Unicode codepoint references.
The latter are called Numeric Character References and, in most cases, may legitimately be converted
to their corresponding Unicode character directly in the XML. The exceptions are good old control
characters and, obviously, < & ' > when these would appear in a context with special
meaning in XML.
Reference: http://www.w3.org/TR/xml/#charsets