解析XML时出错,第2152行,第10列:XML文档结构必须在同一实体内开始和结束

时间:2022-01-07 19:37:39

Please help. I'm not sure what "entity" the error refers to. I've tried to copy the answers from previous questions similar to this but i think it depends on the html. I know it's not that complicated but I am new to this so I'm not familiar with tweaking the html of an existing blogger template.

请帮忙。我不确定错误所指的“实体”是什么。我试图复制以前类似的问题的答案,但我认为这取决于HTML。我知道这并不复杂,但我是新手,所以我不熟悉调整现有博客模板的html。

I appreciate prompt answers.

我很欣赏及时的答案。

1 个解决方案

#1


1  

An XML entity for the purposes of this message is an external parsed entity. That is, a blob of XML sitting off in some other location that is being incorporated into your XML via a DTD definition. The error is telling you that a start (<something>) and its corresponding end (</something>) must live inside the same entity -- the original main XML input, or one external incorporated item. You can't start in one and end in another.

出于此消息的目的,XML实体是外部解析的实体。也就是说,一小块XML坐在其他位置,通过DTD定义合并到XML中。错误告诉您开始( )及其对应的结尾( )必须位于同一实体内 - 原始主XML输入或一个外部合并项。你不能从一个开始到另一个结束。

#1


1  

An XML entity for the purposes of this message is an external parsed entity. That is, a blob of XML sitting off in some other location that is being incorporated into your XML via a DTD definition. The error is telling you that a start (<something>) and its corresponding end (</something>) must live inside the same entity -- the original main XML input, or one external incorporated item. You can't start in one and end in another.

出于此消息的目的,XML实体是外部解析的实体。也就是说,一小块XML坐在其他位置,通过DTD定义合并到XML中。错误告诉您开始( )及其对应的结尾( )必须位于同一实体内 - 原始主XML输入或一个外部合并项。你不能从一个开始到另一个结束。