Re: rule context="X" semantic?
Pedro Salazar <[email protected]> 04 Mar 2004 19:12:44 +0000
| Newsgroups | gmane.text.xml.schematron |
|---|---|
| Message-ID | <[email protected]> |
> I found the buggy here. > > I have my schematron rules divided by several patterns. However, the > patterns by them selfs are quite large, with about 20 rules each?... > > So, I was trying to pick the rule with bug and put it on a separated > file (isolated from the others) to show you. Strange but isolated it > worked!! So, I picked that rule and I put it on the top of my pattern > element. What happened? - I worked too!! > > It appears that there is some kind of overflow. Can you confirm this > behavior? If you want I may send you may case sample. > Correction: it's not an abnormal behavior but just a conform to the specification. This is the behavior of schematron in respect of patterns: " 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. " (from Eric van der Vlist in "xml-dev" mailing list) -- -PS ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click