I've modified the docicon.xml file to replace some of the icons by custom icons, however not all the icons are replaced. I'm testing the icons using a search result page. I've managed to replace e.g. the Word document icon but asp and htm files do not seem to get a custom icon. Also before modification of the docicon file, the icons refered to by the file are not used. SharePoint seems to load the html16.png file by default for most of the file types.
Can someone explain why it is loading the html16.png file instead of the configured icons, specified in the docicon.xml file?