Attempting to read the file directly into an XML parser results in an error.
如果试图将文件直接读入一个xml解析器,就会导致错误。
A few good heuristics based solely on the first few bytes will tell you if a file or stream is likely to be XML, and therefore worth checking further with a parser.
一些基于最初几个字节的较好的启发式方法可以告诉您,一个文件或流是否可能是XML,是否值得让解析器作进一步检查。
Issue 1 — for a parser to read the XML accurately, the content stored within the XML file had to format entities accordingly.
第1个问题—为使解析器精确读取XML,存储在XML文件中的内容必须对实体进行相应地格式化。
应用推荐