manage error in parsing xml file and gradient css for chrome