policychecker: skip preprocessor iso_dsdl_include.xsl 36/216136/3
authorsanghyeok.oh <sanghyeok.oh@samsung.com>
Mon, 21 Oct 2019 08:15:10 +0000 (17:15 +0900)
committersanghyeok.oh <sanghyeok.oh@samsung.com>
Mon, 21 Oct 2019 09:03:08 +0000 (18:03 +0900)
commit2f6d6ba8ca8c7453be598bf45c5dae79ae2cf87b
treef378623c8ea38333621d2d029c57ebc35123bc51
parentc302e6270859212d58d0a1e61b7249e9a17f1efa
policychecker: skip preprocessor iso_dsdl_include.xsl

* change option argument (--system,--session) to (-s,-u)
* add option (-v, -p) for checker developement

* skip preprocessor
policy checker using single schema file(rules.xsl) and it doesn't need XPath syntax check.
This reduce policy checking time. (3min -> 19sec at tm1)

Schematron's readme.txt states this:

1) First, preprocess your Schematron schema with iso_dsdl_include.xsl.
This is a macro processor to assemble the schema from various parts.
If your schema is not in separate parts, you can skip this stage.
This stage also generates error messages for some common XPath syntax problems.

Change-Id: Id8dbf03d3a4a5107440823b9bcb0ce1830cc4380
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
policychecker/check.in