Martin Holmes - 2015-05-31
  • Description has changed:

Diff:

--- old
+++ new
@@ -6,4 +6,4 @@

 >The expression of certainty applies to the nodeset identified by the value of the target attribute, possibly modified additionally by the value of the match attribute. If neither attribute is present, the expression of certainty applies to the context of the certainty element itself, i.e. its parent element.

-The one seems to mean that `<certainty>` (for instance) is the default XPath context, while the other means that `<certainty>`'s parent is the default context. But in fact it's more subtly confusing than that; the one refers to the @match attribute, while the other refers to the expression of uncertainty itself. This is such a potential source of confusion that I think it needs to be reviewed, and it should also be illustrated with more examples. Finally, I think we should strongly suggest that @target be used, to avoid this concern.
+The one seems to mean that `<certainty>` (for instance) is the default XPath context, while the other means that `<certainty>`'s parent is the default context. But in fact it's more subtly confusing than that; the one refers to the @match attribute, while the other refers to the expression of uncertainty itself. This is such a potential source of error that I think it needs to be reviewed, and it should also be illustrated with more examples. Finally, I think we should strongly suggest that @target be used, to avoid this concern.