developer.jelix.org is not used any more and exists only for
history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
Opened 12 years ago
Last modified 9 years ago
#975 confirmed enhancement
Parsers of XML files should be more strict
Reported by: | laurentj | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | jelix | Version: | 1.1.3 |
Severity: | normal | Keywords: | jforms, url significant, daos |
Cc: | Blocked By: | ||
Blocking: | Documentation needed: | no | |
Hosting Provider: | Php version: |
Description
Many of the XML parsers of Jelix ignore some errors, like unknow elements, or elements in a bad place. So the developer doesn't know there is an error. (see ticket #974).
Instead of checking all the content of the xml document, a solution could be to validate the document against given relaxNG schemas (lib/jelix/docs/ns/), before the data extraction.
These validations should be made only in the DEV edition of course...
Note: See
TracTickets for help on using
tickets.