...
Note | ||
---|---|---|
| ||
The XML schemas must be accessible to third party developers. Since the certification service will need to keep copies of all schema versions, it will also be able to act as the source of the XML schemas for third party developers. |
Specific Checks
The following table lists specific checks and conditions that should be detected and handled.
Condition | Remarks |
---|---|
Invalid encoding | The document encoded in something besides UTF-8 or UTF-16 |
Missing preamble |
|
Invalid preamble |
|
Encoding attribute invalid | The encoding attribute in the preamble something besides UTF-8 or UTF-16 |
Encoding attribute inconsistent | The encoding attribute in the preamble valid, but not the same as the actual document encoding |
Missing close tag |
|
Missing / on close tag |
|
Missing closing > on tag |
|
Missing closing > on close tag | |
Misspelled tag |
|
Misspelled close tag |
|
Misspelled tag and close tag |
|
Missing required element |
|
Unknown element |
|
Required element with no data | as <tag></tag> |
Required element with no data | as <tag/> |
Optional element with no data | as <tag></tag> |
Optional element with no data | as <tag/> |
Invalid data type for element | Non-numeric data for an element specified as numeric in the XML Schema or non-date data in an element specified as date |
Invalid data value for element | illogical data, such as 00 for gear code |