Commit Graph

12 Commits

Author SHA1 Message Date
Marcus Schäfer
eaac155067 Add extension validation and data access
If an extension section exists the xml data in this section
is validated against the RelaxNG schema which must be part
of the xmlcatalog for the used extension namespace. If the
data validates the method get_extension_xml_data can be used
to access the etree parse result for each of the extension
configurations
2016-12-01 10:45:17 +01:00
David Cassany
40cf0d1515 Integrating Schematron syntax in schema
Using Schematron syntax in schema co-occurrence constraints can
be easily defined. This commit provides the schematron integration.
2016-10-20 12:32:29 +02:00
David Cassany
0fdd209e73 Command validation
This commit includes a validation in Command.run and Command.call
in order to verify the existance of the command before running it.
It case it is not found in the specified environment it raises a
KiwiCommandNotFound Exception.
2016-08-05 18:38:27 +02:00
David Cassany
d8df88f23a Detailed schema validation report
This commit adds the execution of a jing process if the validation
fails, that way the user has more information about what is
actually failing during the validation process. If jing command
is not found, it just produces an info message to warn the user
and kiwi finalizes as expected.
2016-08-05 09:29:11 +02:00
Marcus Schäfer
ba6847d013
Update test_load_schema_from_xml_content test
Read schemaversion from RelaxNG instead of using
a fixed value
2016-06-15 11:01:16 +02:00
Marcus Schäfer
7d37f3f849
Avoid glob imports
This could start a series of further changes in the
unit test as we have allowed for glob imports there.
So treat this one as a start
2016-06-14 17:27:24 +02:00
Marcus Schäfer
4ca75860e7
Handle XML per content or file more explicit 2016-06-14 11:53:43 +02:00
Bo Maryniuk
95751722c8 Fix tests for Python3 2016-06-09 12:09:47 +02:00
Bo Maryniuk
20c9376f69 Fix tests for the XPath processing 2016-06-09 11:52:33 +02:00
Marcus Schäfer
e6cc5bfa09 Move from nose to pytest
nose is no longer maintained, thus we have to move to another
testing system. This commit updates the tox setup and all tests
to use pytest instead of nose.
2016-03-14 12:23:14 +01:00
Marcus Schäfer
40e6308aa9 Port application from python 2.7 to 3.4
For new applications like this kiwi version and its use cases
it is better to base it on a more recent python version
2016-02-17 22:38:38 +01:00
Marcus Schäfer
09daca60c0
KIWI - appliance builder next generation
a rewrite of the current kiwi from https://github.com/openSUSE/kiwi
2015-12-05 16:17:10 +01:00