The deleted code called the html parser if parsing of a suposed xml file failed. This was causing incorrect processing of malformed xml. To process a plain html file (not xhtml) specify htmlDoc in the mode parameter or use mode htmlDoc in a configuration file. John -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities For a description of the software, to download it and links to project pages go to http://www.abilitiessoft.com