Closed Bug 526475 Opened 15 years ago Closed 15 years ago

XML doesn't match spec

Categories

(Webtools :: ISPDB Server, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: BenB, Assigned: LouieDinh)

References

Details

Actual result:
<http://ispdb.mozillamessaging.com/export_xml/55>

Expected result (spec):
<https://wiki.mozilla.org/Thunderbird:Autoconfiguration:ConfigFileFormat#XML>

Concretely:
1. ID and domains are covered in bug 526471.
2. DB-internal management values like
   - DB <id>
   - <createdDatetime>
   - <lastUpdateDatetime>
   - <approved>
   - <invalid>
   - <flaggedByEmail>
   should not be in the XML at all.
   Or, at the minimum, they
   should be underneath a <manage> node and not part of the official file.
   Also, <id> then should be renamed to <dbid>.
   <flaggedByEmail> is probably not a good idea to publish at all,
   to protect the email address and the reporter.
3. <flaggedAsIncorrect>, <confirmations> and <problems> may be marginally
   useful for some kinds of clients and /could/ be published under <manage>.
4. <settingsPageUrl> should be <settingsDescriptionURL> to avoid
   confusion with <enableURL> (the settings page is static just describes
   the config, while enableURL is something the user must have visited
   at least one to make it work)
5. Which values does <settingsPageLanguage> have? Cleartext or
   ISO 2-char lang code? Maybe both, the latter as attribute?
6. "True"/"False" should be "true"/"false". This actually breaks:
   TB code has: if (unchecked == "true") return true;
Blocks: 526559
Depends on: 522253
The changes by Louie in bug 522253 dramatically improve the situation. They removed 3. and 4. entirely, but OK.
Keeping open until I see it on ispdb.
Assignee: nobody → LouieDinh
Marking FIXED and waiting with verification until I can see it on ispdb.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Component: ispdb → ISPDB Server
Product: Mozilla Messaging → Webtools
You need to log in before you can comment on or make changes to this bug.