docs(schematron): README rule tables match the 11 patterns; count SVRL by @role - #26
Merged
Merged
Conversation
…L by @ROLE The "Validation Rules Summary" still described the pre-split ruleset (7 sections, percentage/position rules folded into "Pattern 3"). Rewrite it as one section per <pattern> in basic_checks.sch, in file order, with the pattern id, the actual rule contexts, and a note on each pattern that exists only to avoid ISO rule shadowing. The PowerShell/Bash/Python/Java result-counting snippets classified failed-assert as ERROR and successful-report as WARNING. In this ruleset severity is the @ROLE attribute: most warnings are <assert role="warning"> (=> failed-assert) and only the rounding checks are <report>, so those snippets printed "Warnings: 0" for the canonical sample. Count by @ROLE; verified against a real SVRL of the negative fixture: 1 error, 12 warnings (same as the Java runner's summary). SVRL example and "Key Elements" table updated to match; PowerShell sample path gained the missing positions\. Cross-reference the tolerance bands shared with the Basic XSLT report. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YXZWhwE5EbHSybt55K6oUZ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up deferred from #25 (would have conflicted with #23):
<pattern>inbasic_checks.sch, in file order, with pattern id, real rule contexts, and a note on each pattern that exists only to avoid ISO rule shadowing (4, 6, 8).failed-assert= ERROR andsuccessful-report= WARNING. Severity is@role: most warnings here are<assert role="warning">(→failed-assert), only the rounding checks are<report>, so the snippets printedWarnings: 0on the canonical sample. All four now classify by@role; SVRL example + "Key Elements" table updated.Verification
xmllint --xpathcounts from the Bash snippet on a real SVRL of the negative fixture: 1 error / 12 warnings — identical to the Java runner's summary. Docs-only change; CI unaffected.🤖 Generated with Claude Code
https://claude.ai/code/session_01YXZWhwE5EbHSybt55K6oUZ