
8 Jun
2015
8 Jun
'15
1:02 p.m.
Not 100% sure what you want, here, but I think it's something more like <sch:assert test=" parent::tei:dataSpec and child::*[not(self::tei:dataRef)]"
An alternate element inside a dataSpec may contain only dataRef children</sch:assert>
But don't <alternate> and <sequence> go inside <content> inside <dataSpec>?
Does this look vaguely right
<sch:assert test="name(parent(.))='dataSpec' and not(contains(dataRef))">An alternate element inside a dataSpec may contain only dataRef children </sch:assert>
?
#tooLazyToLookItUp