比如,给定一个DTD(文档类型定义,Document Type Definition)的系统标识符和公共标识符,实体目录(entity catalog)可用于规定XML处理程序从哪里加载dtd。
For example, you can use an entity catalog to specify the location from which an XML processor loads a Document Type Definition (DTD), given the system and public identifiers for that DTD.
熟悉Firefox的程序员都知道Firefox的安全系统不允许从来自其他地方的文档加载本地文件。
Programmers familiar with Firefox will remember that this loading of local files from a document retrieved elsewhere is not permitted by Firefox's security systems.
使用 XMLUnit 进行差异测试所存在的惟一缺点是测试会依赖于文件系统来加载控制文档。
The only possible downside of using XMLUnit for difference testing is that the tests will rely on a file system to load the control document.
应用推荐