和读取文件的任何软件一样,解析器也是围绕着读循环(读入文件的循环)创建的。
Like any software reading a file, the parser is built around a reading loop: a loop that progresses through the file.
这是因为第一个read操作读入了整个文件。
This happens because the first read operation read the whole file.
如果试图将文件直接读入一个xml解析器,就会导致错误。
Attempting to read the file directly into an XML parser results in an error.
应用推荐