跳至内容
菜单
此问题已终结
1 回复
4568 查看

Hi all, when I create a new View, no matter what I enter, it will prompt

"ValidateError

Error occurred while validating the field(s) arch: Invalid XML for View Architecture!."

Even when I duplicate a View in the system and just modify the name, the same error shows again. Could you give me some suggestions? Thanks.

形象
丢弃

Will be a lot easier to help for a lot of people here if you pasted the xml. You might be have a , or > or < or - etc somewhere in the xml that it should not be or you are trying to add a view where it cannot go. Endless possibilities with that error without seeing the code

编写者

Thanks. Even the XML content cannot pass the validation.

<?xml version="1.0"?> <tree string="My view"> <field name="name"/> </tree>

编写者 最佳答案

It my fault. I copied the xml from a tutorial in web. But the content such as double quotation marks have been changed to another format and involved the validation errors.

形象
丢弃
相关帖文 回复 查看 活动
4
1月 24
23331
2
1月 24
2580
1
9月 23
2190
0
8月 23
2363
5
9月 21
17668