Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4549 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ

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

Tác giả

Thanks. Even the XML content cannot pass the validation.

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

Tác giả Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 1 24
23311
Attrs attribute Đã xử lý
2
thg 1 24
2576
1
thg 9 23
2186
0
thg 8 23
2363
5
thg 9 21
17664