Commit 82457858 authored by Maxime Lefrançois's avatar Maxime Lefrançois

prefix ex: in examples

parent 6ff73c0d
......@@ -102,8 +102,8 @@ public class Clause_9_6_2_Checker extends AbstractClauseChecker {
}
String exNamespace = prefixes.get(EX_PREFIX);
if (exNamespace != null && exNamespace.equals(example.getNamespace())) {
logError(getMessage(MESSAGE.namespace, example.getNamespace()));
if (exNamespace != null && !exNamespace.equals(example.getNamespace())) {
logError(getMessage(MESSAGE.namespace, example.getNamespace(), exNamespace));
}
// how to check MESSAGE.BASE ?
......
different=If a prefix declaration has prefix `%s`, then the namespace shall be equal to `<%s>`. Got: `<%s>`. See Clause 9.6.2 in TS 103 673.
expect=The ontology document shall contain namespace %s with corresponding prefix %s.
base=If the ontology document contains a base declaration, then the base declaration shall be equal to %s.
namespace=If the ontology document contains a prefix `ex`, then the namespace shall be equal to `%s`
\ No newline at end of file
namespace=If the ontology document contains a prefix `ex`, then the namespace shall be equal to `%s`. Got: `%s`
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment