[
Lists Home |
Date Index |
Thread Index
]
On Thu, 2004-03-04 at 19:35, Pedro Salazar wrote:
> Greetings,
>
> Has anyone already detected any anormal behavior with schematron rules
> when matching on context?
.../...
> More debug:
> I moved my rule to the top of the pattern, and suddenly it started to
> report. It appears that there is some kind of overflow and last the
> rules aren't processed.
>
> Anyone can confirm this behavior of schematron?
Yes, and it's not anormal but conform to the specification :) ...
For each node and each pattern, the rules are evaluated in the order in
which they appear in the Schematron schema and this evaluation stops
after the first matching rule.
Hope that helps.
Eric
>
> regards,
> Pedro Salazar.
--
Have you ever thought about unit testing XSLT templates?
http://xsltunit.org
Upcoming XML schema languages tutorial:
- Santa Clara -half day- (15/03/2004) http://masl.to/?J24916E96
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
(ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------
|