تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4544 أدوات العرض

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
يناير 24
23306
Attrs attribute تم الحل
2
يناير 24
2575
1
سبتمبر 23
2183
0
أغسطس 23
2362
5
سبتمبر 21
17664