xml中出现“文档中根元素后面的标记必须格式正确。”的错误
出现这个错误的原因是,没有加根节点。请看下面的代码://如果这里和结尾的不加,就会出现如题的错误5.03.00.00.00.00.0ok5.03.00.00.00.00.0ok
·
出现这个错误的原因是,没有加根节点。请看下面的代码:
<?xml version="1.0" encoding="GB2312" standalone="no"?>
<time>//如果这里和结尾的</time>不加,就会出现如题的错误
<monday>
<playGameTime>5.0</playGameTime>
<studyTime>3.0</studyTime>
<readTechnologyTime>0.0</readTechnologyTime>
<officialTime>0.0</officialTime>
<otherTime>0.0</otherTime>
<efficiency>0.0</efficiency>
<state>ok</state>
</monday><tuesday>
<playGameTime>5.0</playGameTime>
<studyTime>3.0</studyTime>
<readTechnologyTime>0.0</readTechnologyTime>
<officialTime>0.0</officialTime>
<otherTime>0.0</otherTime>
<efficiency>0.0</efficiency>
<state>ok</state>
</tuesday>
</time>
魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐

所有评论(0)