Lines Matching refs:xmlParser
126 …* @param Resource $xmlParser The XML parser used for parsing this file. The constructor automatica…
131 public function __construct(&$xmlParser, $outputFileName, &$bindingValues) { argument
132 xml_set_object($xmlParser, $this);
133 xml_set_default_handler($xmlParser, 'xmlPassthroughHandler');
134 xml_set_character_data_handler($xmlParser, 'xmlPassthroughHandler');
135 xml_set_element_handler($xmlParser, 'xmlStartElementHandler', 'xmlEndElementHandler');
137 xml_parser_set_option($xmlParser, XML_OPTION_CASE_FOLDING, 0);
138 xml_parser_set_option($xmlParser, XML_OPTION_SKIP_WHITE, 1);
263 $xmlParser = xml_parser_create();
264 $handler = new XmlHandler($xmlParser, $outputFile, $bindingValues);
269 …if (xml_parse($xmlParser, $data, true) == 0) throw new Exception('Parsing SVG failed: ' . xml_erro…
271 unset($xmlParser);