parsing“sandbox”属性时出错:“ms-allow-popups”是无效的沙箱标志

我想做一个非常基本的excel插件。 但是,我在Excel Online加载xml文件后出现错误:

在这里输入图像说明

有谁知道如何解决这些错误?

这里是xml文件:

 <?xml version="1.0" encoding="UTF-8"?> <OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" xmlns:ov="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="TaskPaneApp"> <Id>2145a915-4e7b-473f-a879-a5a5e8654152</Id> <Version>1.0.0.0</Version> <ProviderName>Microsoft</ProviderName> <DefaultLocale>en-US</DefaultLocale> <DisplayName DefaultValue="Fun (online)"/> <Description DefaultValue="Fun (online)"/> <Capabilities> <Capability Name="Workbook" /> </Capabilities> <DefaultSettings> <SourceLocation DefaultValue="https://localhost/PRODSERVER/Fun/addin_online/Home.html" /> </DefaultSettings> <Permissions>ReadWriteDocument</Permissions> </OfficeApp> 

Home.html

 <!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <title>Fun (online)</title> <script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-2.1.4.min.js"></script> <script src="https://appsforoffice.microsoft.com/lib/1/hosted/office.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> <script src="js/Notification.js"></script> <script src="js/Home.js"></script> <link href="css/Common.css" rel="stylesheet" type="text/css" /> <link href="css/Office.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" href="https://appsforoffice.microsoft.com/fabric/1.0/fabric.min.css"> <link rel="stylesheet" href="https://appsforoffice.microsoft.com/fabric/1.0/fabric.components.min.css"> </head> <body class="ms-font-m"> <div class="padding"> <button class="ms-Button" id="open">open</button> </div> </body> </html> 

据我所知,第一个是来自微软的日志噪音(我在Outlook中看到的都是同样的东西),我没有看到第二个,但是看起来和你的加载项无关。 你真的遇到问题吗?