【发布时间】:2021-03-04 20:44:05
【问题描述】:
我最近使用this instructions 在 Windows 中安装了 xmllint。但是,当我对任何 xml 文件运行 xmllint 时,它会在行首添加双引号。 示例
<?xml version="1.0"?>
<library path="lib/libplugin_triangle">
<class type="triangle::cPlugingTriangle" base_class_type="regular_polygon::cRegularPolygon">
<description>This is a triangle plugin.</description>
</class>
</library>
变成
<?xml version="1.0"?>
<library path="lib/libplugin_triangle">
" " <class type="triangle::cPlugingTriangle" base_class_type="regular_polygon::cRegularPolygon">
" " " " <description>This is a triangle plugin.</description>
" " </class>
</library>
我已经使用 windows 环境变量工具对 XMLLINT_INDET 的几个定义进行了尝试。但是什么也没发生。
这些双引号在 XML 中合法吗?
【问题讨论】: