[Home] [By Thread] [By Date] [Recent Entries]
If you are using Schematron strictly to validate to get a simple valid/invalid result, then any failed-assert or successful-report means invalid. If you are going beyond that, and using the role attribute to get different degrees of validity, or using reports to do feature extraction, etc, then the simple default valid/invalid result is irrelevant to your case. When I write schemas, I only use assert to state what should be, and I only use report when doing some feature extraction or ad hoc pattern detection. If you have some assertions that pertain to validity, and some that pertain to feature extraction, check whether they actually are unrelated patterns, and group the rules into their appropriate patterns. (Also, you would be better making your assertion into an assertion: a natural language statement of what is expected. If you just have a "whoops someone farted" kind of assertion text, you are not creating a schema you are creating a kind of unit test: the purpose of a schema is to state the rules clearly and precisely. That kind of text is fine for a report element, though.) Kind regards, Rick On 23 May 2017 05:04, "Frank Steimke" <f-steimke@b...> wrote:
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



