Wednesday, September 30, 2009

Change Secondary Schema to IE7 for SharePoint Designer 2007

Error:- "In Internet Explorer 6.0 the tag "" is not permitted.

In SharePoint Designer 2007, we need to change the Secondary Schema to IE7 so that certain tags would render without any errors.

On the machine where SharePoint Designer 2007 is installed:
Browse to %SystemDrive%\Program Files\Common Files\Microsoft Shared\OFFICE12\SCHEMAS\HTML

2. Copy the IE6_0.XSD and then rename the copied file to IE7_0.XSD
3. Open the IE7_0.XSD file using Notepad or Visual Studio and edit the following lines:
<-- xsd:schema color="#ff0000" targetnamespace="'<--font" version="1.0"><--xsd:schema color="#ff0000" targetnamespace="'<-- xsd:schema version="1.0" targetNamespace='' elementFormDefault='qualified' xmlns=''
xmlns:xsd='' xmlns:vs='' xmlns:fp=''
vs:cssschema="CSS 2.1"
vs:SuccinctFriendlyName="Internet Explorer 7">
Note: the DOM reference for client side IntelliSense (vs:clientom=”ie6_0dom.tlb) remains the same.
Save and close the file.

Next, open your registry and browse to:[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Common\Schemas\] Note: This is on 32bit version machines

If you are using Windows Server 2008, 64bit machine

Create a new key and name it ie7_0.xsd and then create the following string values:
Value Name:-
Abbrev Name
Value Data:- IE7
Value Name:- File
Value Data:- html\\ie7_0.xsd
Value Name:- Friendly Name
Value Data:- Internet Explorer 7.0
Value Name:- URI
Value Data:-

Now, restart SharePoint Designer 2007 and click on Tools > Page Editor Options… In the Secondary Schema drop down select Internet Explorer 7.0. Click OK.


Anonymous said...

dude that worked

gemangeert said...

did all you described, do not see ie7 in designer, searching for ie6 shows a lot of other places in registry, have no idea where i have to add it, working on windows 7

Parmi said...

Hi gemangeert,

I am not sure if windows 7 comes with IE7 or IE8. may be in windows 7 its different registry hive.

dlgross said...

It looks like you copied most of this from, when you do this you should state this and give the original author credit.

Total Pageviews