Red Hat Bugzilla – Bug 756235
XML and HTML tags to be checked for completeness
Last modified: 2012-04-23 00:33:10 EDT
As a translator I want the XML and HTML tags to be checked for completeness so that I do not face any errors which compiling documents with files containing these tags.
This is a common error that is faced by translators if they are translating long strings with multiple tags.
* Validation Checks are only Warnings (Advisory)
* How to display the error messages - simple validation checks.
The users would be give an option to enable/disable the test via a checkbok somewhere within the top part of the editor screen.
The warning for any incomplete tag can be displayed in a collapsable tab (similar to the one with the list of users)
Implemented. See https://github.com/zanata/zanata/commit/c16906005ad0c1f4c5d5587d3595e1c7f2dde133
The following validations are not present, but would be very useful in preventing broken XML or HTML:
- validation does not check for added tags
- validation does not check whether the order of tags is different
Translators may need to add tags and change the order of tags, in these cases it would be more useful to show a warning and let the translator ignore it as they know the change was made on purpose, rather than have no warning when a change is accidentally made.
The following are different from the above description, but seem reasonable:
- enable/disable checkbox is on the lower right (above comment specifies top).
- tab is collapsible, but does not stay collapsed for long if there are warnings to display.
Implemented fix. See https://github.com/zanata/zanata/commit/8c5e2aee6e66704623c9a1dc18701786d600ff58
- updated to use localisable message strings
- updated tag order algorithm to detect single moved tag
UI updates, see: