> or some such, so it's not outrageous.
>
I think I now understand a lot better how the @pattern proposal relates to our
existing use of @target, which (being a URI) does permit inclusion of an xpath.
We could choose to use either @pattern or @target only, since they have almost
entirely overlapping expressivity, but this would close the door to a large
number of syntactic sumplifications. Without @target you couldn't say
@target="#foo"; without @pattern you couldn't say just '@foo' to acccess an
attribute value. So I think the problems are really just of
description/documentation. I also think that this new facility makes the
proposals in the Certainty module really useful -- enabling us to deliver on
some vague hand waving at various points of the Guidelines in a practical and
useful way. Consider, for example, the ability to include a set of
elements in your
to specify that e.g. the elements were
all added automatically and are therefore less reliable than the
elements which were manually added by an expert.
> Finally, regarding namespaces, I think it'd be enough to assert in the
> guidelines that the namespace bindings to use in the evaluation of the
> @pattern expression should just be the namespace bindings in effect at that
> location in the document (i.e. on that element).
>
Yes, that's my opinion too. The namespace prefixes available in your @pattern
value are those available in the parent document. (This is another example of
the syntactic sugaring provided by this attribiute; in an xpaths you must
specify namespaces fully.)
p.s. Hello Con!
> Con