Vista Home Premium 32-bit Service Pack 2Microsoft Visual Studio 2010Version 10.0.40219.1 SP1RelMicrosoft .NET FrameworkVersion 4.0.30319 SP1RelInstalled Version: ProfessionalInternet Explorer 9.0.8112.1642ICThe XML file shows an error "Entity 'type' not defined." In VS 2010 / VWD...<?xml version="1.0" encoding="utf-8" ?><websiteType type="shopping"> <website address="https://www-ssl.bestbuy.com/site/olspage.jsp?id=pcat17000&type=page"> <username></username> <password></password> </website></websiteType>In IE9, ActiveX object Microsoft.XMLDOM method load gives this error in the immediate window of Visual Studio 2010 / Web Developer 2010.xmlObject.parseError{...} errorCode: 0xC00CE50D filepos: 0x21DA line: 0xDD linepos: 0x55 reason: "A semi colon character was expected." srcText: " <website address="https://www-ssl.bestbuy.com/site/olspage.jsp?id=pcat17000&type=page">" url: "http://localhost:49310/Username_Password_Search/UsernameAndPassword.xml"I used the valid script below:<script type="text/javascript"> var xmlObject; var xmlDocument; function LoadXMLDocument(xmlFile) { xmlObject = new ActiveXObject("Microsoft.XMLDOM"); xmlObject.async = "false"; xmlObject.onreadystatechange = verify; xmlObject.load(xmlFile); if (xmlObject.parseError.errorCode != 0) document.write("There was an error with the xml document: " + xmlObject.parseError.reason + " Error code: " + xmlObject.parseError.errorCode.toString()); xmlDocument = xmlObject.documentElement; }</script>
Visual Studio/Team Foundation Server/.NET Framework Tooling Version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results