Author Message
VasilyL
Joined: Jul 11, 2016
Messages: 230
Offline
Hi, Guys!

I have a quite simple question.
In the OD, in the Problems view I always see annoying warning for adminvarinfo.xml "No grammar constraints (DTD or XML schema) detected for the document."

It could be simply fixed by adding the line <!DOCTYPE xml> directly after the first line <?xml version="1.0" encoding="UTF-8" standalone="no"?>

But since it is an internal file I want to check the following:
1. Is it safe to manually add grammar constraint in adminvarinfo.xml?
2. The file adminvarinfo.xml will be re-generated after another configurable variable is added to the project. Why do not add such line at generation time?

Of cause it is possible to disable it via Preferences -> XML -> XML Files -> Validation
but I do not like hide problems under a carpet...

Thanks in advance!
Vasily.
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
If you alter that file it will just get over written later if the Admin vars are updated.
VasilyL
Joined: Jul 11, 2016
Messages: 230
Offline
Well,

Ok, I see.
So, nothing serious if I add required string.

Thanks for help!
Go to:   
Mobile view