graceful handling of invalid xml
V5 - a formally correct (passes xmllint test) xml file, which does not conform to OpenERP specs, is imported and (not) installed via GTK client - the server hangs - the zip file must be removed manually
IMHO
a) the error handling of the server should gracefully handle (exclude) such zip files)
b) provide a xsd file to alow complete checks with
xmllint --noout --schema OpenERP_V5.xsd
to avoid hanging server
ferdinand 20091126
man:/xmllint
--format
Reformat and reindent the output. The XMLLINT_INDENT environment variable controls the indentation. The default value is two spaces " ")
Meanwhile I use this 2 spaces default , because reading "deep" xml structures is much easier having 2 instead of 4 spaces indent
Suggestion to use this default in OpenERP
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by