导入svg文件 在别人的myeclipse2014没问题 eclipse也没问题,到我这在eclipse和myeclipse2014都有红差
错误提示:The content of element type "font-face" is incomplete, it must match "((font-face-src,(desc|title|metadata)*)|((desc|title|metadata)
错误提示:The content of element type "font-face" is incomplete, it must match "((font-face-src,(desc|title|metadata)*)|((desc|title|metadata)
+,font-face-src,((desc|title|metadata))*?))"

注意:是修改了font-face,原来是有font-face的,但是没有font-face-src,所以添加上即可。
<font-face units-per-em="1200" ascent="960" descent="-240">
<font-face-src>
<font-face-name name="Glyphicons Halflings"/>
</font-face-src>
</font-face>

本文解决了一个关于SVG文件中font-face元素的错误问题,在Eclipse和MyEclipse2014中遇到XML验证错误。通过检查并添加font-face-src元素解决了问题。
1万+

被折叠的 条评论
为什么被折叠?



