stable

Forked from tuleap/stable

Clone or download

Read-only

request #8535: It should be possible to validate import XML externaly

Changes: - All "terminal" rnc are now defined in "grammar" - Modify makefile to force regeneration of all rng from rnc - Introduce a tool to verify XML input according to schema Change-Id: Ib24c01bfa0c771be2103bcedf6a69cdd80214aae

Modified Files

Name
M Makefile +43 −2 Go to diff View file
M plugins/tracker/www/resources/artifact-definition.rnc +10 −5 Go to diff View file
M plugins/tracker/www/resources/artifact-definition.rng +12 −5 Go to diff View file
M plugins/tracker/www/resources/artifacts.rnc +4 −6 Go to diff View file
M plugins/tracker/www/resources/artifacts.rng +1 −5 Go to diff View file
M plugins/tracker/www/resources/tracker-definition.rnc +11 −4 Go to diff View file
M plugins/tracker/www/resources/tracker-definition.rng +15 −6 Go to diff View file
M plugins/tracker/www/resources/tracker.rnc +3 −3 Go to diff View file
M plugins/tracker/www/resources/trackers.rnc +3 −9 Go to diff View file
M plugins/tracker/www/resources/trackers.rng +1 −11 Go to diff View file
M src/common/xml/ParseException.class.php +5 −5 Go to diff View file
A src/common/xml/resources/project/artifact-definition.rng +346 −0 Go to diff View file
A src/common/xml/resources/project/project.rnc +14 −0 Go to diff View file
A src/common/xml/resources/project/project.rng +25 −0 Go to diff View file
A src/common/xml/resources/project/svn-definition.rng +30 −0 Go to diff View file
A src/common/xml/resources/project/tracker-definition.rng +1149 −0 Go to diff View file
A src/common/xml/resources/project/triggers.rng +34 −0 Go to diff View file
A src/common/xml/resources/project/ugroups-definition.rng +40 −0 Go to diff View file
A src/common/xml/resources/svn-definition.rnc +12 −0 Go to diff View file
A src/common/xml/resources/svn-definition.rng +30 −0 Go to diff View file
M src/common/xml/resources/svn.rnc +2 −12 Go to diff View file
M src/common/xml/resources/svn.rng +3 −26 Go to diff View file
A src/common/xml/resources/ugroups-definition.rnc +17 −0 Go to diff View file
A src/common/xml/resources/ugroups-definition.rng +40 −0 Go to diff View file
M src/common/xml/resources/ugroups.rnc +2 −16 Go to diff View file
M src/common/xml/resources/ugroups.rng +3 −33 Go to diff View file
A src/common/xml/resources/validate_xml.sh +50 −0 Go to diff View file
M src/utils/import_project_xml.php +1 −1 Go to diff View file