PEAR_XMLParser::preProcessStupidSaxon()
-- pre-process xml to weed out characters/entities that would kill parsing
Leírás
This method examines xml data prior to parsing and replaces all entities
like à with their equivalent (à in this case). It also
scans the file for any non-ascii characters like à and replaces them with
their entity equivalent (à).
This prevents saxon in PHP 4 and PHP 5 from choking on non-ISO-8859-1 characters.
Paraméterek
- string
$data
The xml data.
Lehetséges hibaértékek
throws
no exceptions thrown
Megjegyzés
Ez a függvény nem hívható
statikusan.