stable

Clone or download

Read-only

RelaxNG validation of docman

If you try to import an invalid docman xml structure, then the importer will raise an error. The .rnc definition matches the current situation of docman import/export. It will be enhanced later as soon as we improve the import. Part of request #14507: XML import/export : docman Change-Id: Id893cfdbd82391eaed51c6015218b01614756e2f

Modified Files

Name
M Makefile +4 −1 Go to diff View file
M plugins/docman/include/XML/XMLImporter.php +13 −1 Go to diff View file
M plugins/docman/include/docmanPlugin.php +2 −1 Go to diff View file
M plugins/docman/phpunit/XML/XMLImporterTest.php +41 −2 Go to diff View file
A plugins/docman/resources/docman-definition.rnc +57 −0 Go to diff View file
A plugins/docman/resources/docman-definition.rng +91 −0 Go to diff View file
A plugins/docman/resources/docman.rnc +7 −0 Go to diff View file
A plugins/docman/resources/docman.rng +9 −0 Go to diff View file
A src/common/xml/resources/project/docman-definition.rng +91 −0 Go to diff View file
M src/common/xml/resources/project/project.rnc +3 −1 Go to diff View file
M src/common/xml/resources/project/project.rng +6 −0 Go to diff View file