BUG: XML expansion pack cannot be attached to an Office Word 2003 document when the Document Map view is turned on (832115)



The information in this article applies to:

  • Microsoft Office Word 2003

SYMPTOMS

When you try to attach an XML expansion pack to a Microsoft Office Word 2003 document and the Document Map view is turned on, you may receive the following error message:

You are currently viewing this document in multiple windows. To attach an XML expansion pack, you must first close all additional windows so that you are viewing the document in only one window.

STATUS

Microsoft has confirmed that this is a bug in Word 2003.

RESOLUTION

Attach the XML expansion pack to the Word 2003 document before you turn on the Document Map view.

MORE INFORMATION

Steps to Reproduce the Problem


Note The following steps use information and files that are installed with the Microsoft Office 2003 Smart Document software development kit (SDK). For additional information about how to download and how to install the Office 2003 Smart Document SDK, visit the following Microsoft Web site:
  1. Start Notepad.
  2. Add the following code to the Notepad file.
    <?xml version="1.0" encoding="UTF-8" standalone="no" ?> 
    <?mso-solutionextension URI="SimpleSample" manifestPath="manifest.xml"?> 
    <example xmlns="SimpleSample">
    	<textbox>
    		TextBox
    	</textbox>
    	<commandbutton />
    	<help />
    	<radiobutton />
    	<checkbox />
    	<listbox>
    		ListBox
    	</listbox>
    	<image />
    	<documentfragment />
    	<activex />
    	<hyperlink />
    </example>
  3. Save the Notepad file as DocumentMap.xml.

    Put the DocumentMap.xml file in your folder that contains the SimpleSampleVB6 files.

    By default, the path of this folder is C:\Program Files\Microsoft Office 2003 Developer Resources\Microsoft Office 2003 Smart Document SDK\Samples\SimpleSampleVB6.
  4. Close Notepad.
  5. Locate the DisableManifestSecurityCheck.reg file in the SimpleSampleVB6 folder. Double-click DisableManifestSecurityCheck.reg to add the registry key that disables the manifest security check.
  6. Start Word 2003.
  7. On the File menu, click Open. In the File name box, type DocumentMap.xml, and then click Open.

    Note If you receive the following message, click No:

    XML expansion pack security has been disabled. This makes development of the solution easier but allows unsafe XML expansion pack components to run. Would you like to re-enable XML expansion pack security?
  8. On the View menu, click Document Map to turn on the Document Map view.
  9. In the XML Document pane, click the Simple Sample Document Sample - VB6 link.

    You may receive the error message that is mentioned in the "Symptoms" section.

Modification Type:MajorLast Reviewed:3/23/2006
Keywords:kbOfficeSmartDoc kbBug KB832115 kbAudDeveloper