[tei-council] naming names again (<precision> and <certainty>)

James Cummings James.Cummings at oucs.ox.ac.uk
Thu Jun 11 09:54:08 EDT 2009


Sebastian Rahtz wrote:
> James Cummings wrote:
>>
> so <certaintly select="concat('a','b')"> would be a nonsense

Yes, and not allowed because we expressly say it has to be an xpath2 
pattern.  Ok, we can't validate patterns (as far as I'm aware) but that 
just means it is another thing determined by the prose of the guidelines.

> if I understand it right, a pattern always identifies a node set, whereas
> a path can return other datatypes?

Yes.  You can't have <xsl:template match="concat('a, 'b')">.

But you can have <xsl:template match="tei:seg | tei:hi">.  I've been 
assuming we are saying that this attribute would only allow a single 
pattern?  Or could I do: <certainty target="#foo" match="@notBefore | 
@notAfter">  or would I have to do two certainty elements?

>> <certainty target="#FOO" match="@bar">
>>
> yeah, I don't mind. its more passive than @select.

I'm not trying to be argumentative, just trying to make sure we nail 
down any objections/confusions that might arise.

-James

-- 
Dr James Cummings, Research Technologies Service, University of Oxford
James dot Cummings at oucs dot ox dot ac dot uk


More information about the tei-council mailing list