[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xml-dev] Ambiguous Content Model
- From: Rick Jelliffe <firstname.lastname@example.org>
- To: email@example.com
- Date: Sat, 29 Sep 2001 10:08:36 +1000
From: "Kohsuke KAWAGUCHI" <firstname.lastname@example.org>
> I thought it was me but anyway, this is not a difficult one; this is an
> impossible one.
For what it is worth, it is simple to specify in Schematron:
<assert test="count(*) = count(A[not(previous-sibling::A)] + count(B[previous-sibling::A])"
>The content model is (A, B)*, A?</assert>
P.S. I am enjoying the code for MSV. Very interesting!