外部实体".../htmlhelp.xsl"失败 [英] Failed to external entity ".../htmlhelp.xsl"

查看:133
本文介绍了外部实体".../htmlhelp.xsl"失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在按照Wireshark的开发版本来创建解剖器,请按照其官方文档中的教程进行操作

I'm building a development version of Wireshark to create dissectors, following the tutorial found in their official documentation

我收到两个警告和四个错误.这四个错误似乎是由于以下事实造成的:此链接不能为已加载.错误是:

I receive two warnings and four errors. The four errors seems to come from the fact this link cannot be loaded. The errors are:

Build FAILED.
   "C:\Development\wsbuild64\Wireshark.sln" (default target) (1) ->
   "C:\Development\wsbuild64\docbook\developer_guide_chm.vcxproj.metaproj" (default target) (15) ->
   "C:\Development\wsbuild64\docbook\developer_guide_chm.vcxproj" (default target) (118) ->
   (CustomBuild target) -> 
     CUSTOMBUILD : warning : failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl" [C:\Development\wsbuild64\docbook\developer_guide_chm.vcxproj]


   "C:\Development\wsbuild64\Wireshark.sln" (default target) (1) ->
   "C:\Development\wsbuild64\docbook\user_guide_chm.vcxproj.metaproj" (default target) (65) ->
   "C:\Development\wsbuild64\docbook\user_guide_chm.vcxproj" (default target) (119) ->
     CUSTOMBUILD : warning : failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl" [C:\Development\wsbuild64\docbook\user_guide_chm.vcxproj]


   "C:\Development\wsbuild64\Wireshark.sln" (default target) (1) ->
   "C:\Development\wsbuild64\docbook\developer_guide_chm.vcxproj.metaproj" (default target) (15) ->
   "C:\Development\wsbuild64\docbook\developer_guide_chm.vcxproj" (default target) (118) ->
   (CustomBuild target) -> 
     CUSTOMBUILD : I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl [C:\Development\wsbuild64\docbook\developer_guide_chm.vcxproj]
     CUSTOMBUILD : compilation error : file /Development/wireshark/docbook/custom_layer_chm.xsl line 8 element import [C:\Development\wsbuild64\docbook\developer_guide_chm.vcxproj]


   "C:\Development\wsbuild64\Wireshark.sln" (default target) (1) ->
   "C:\Development\wsbuild64\docbook\user_guide_chm.vcxproj.metaproj" (default target) (65) ->
   "C:\Development\wsbuild64\docbook\user_guide_chm.vcxproj" (default target) (119) ->
     CUSTOMBUILD : I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl [C:\Development\wsbuild64\docbook\user_guide_chm.vcxproj]
     CUSTOMBUILD : compilation error : file /Development/wireshark/docbook/custom_layer_chm.xsl line 8 element import [C:\Development\wsbuild64\docbook\user_guide_chm.vcxproj]

2 Warning(s)
4 Error(s)
Time Elapsed 00:00:07.72

当我直接转到URL时,将带到空白页.在线浏览目录,我可以转到此处,但是单击"htmlhelp". xsl"将我带回到空白页.

When I go to the URL directly, I am taken to a blank page. Going through the directory online I can go up to here, but clicking on "htmlhelp.xsl" brings me back to the blank page.

但是,尽管VS 2015 CMD表示构建失败,但是构建了可执行版本Wireshark,我可以将其与或多或少的完整功能一起使用.

However, although the VS 2015 CMD says the build failed, an executable version Wireshark is built and I can use it with more or less full functionality.

我的主要问题是由于LNK错误,我在构建C ++解剖器时一直遇到错误(Lua解剖器工作正常).我当时在想,因为构建是不完整的",所以问题可能是由文件丢失之类的引起的.

My main issue is I kept on having errors building a C++ dissector (Lua dissectors work just fine) due to LNK errors. I was thinking, because the build is "incomplete", the issues could be arising from a missing file or such.

推荐答案

希望这将对遇到类似问题的人有所帮助.

Hopefully this will help someone with similar issues.

事实证明,由于公司的代理服务器设置,无法访问该文件.我一直在使用IE,因此无法加载该文件.

It turns out the file could not be reached because of the company's proxy settings. I have been using IE and the file would not load.

但是,当我使用Mozilla Firefox时,我能够下载该文件.我将XSL导入地址更改为包含下载文件的本地目录,并且修复了导入错误.

However, when I used Mozilla Firefox, I was able to download the file. I changed the XSL import address to a local directory containing the downloaded file and the import errors were fixed.

这篇关于外部实体".../htmlhelp.xsl"失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆