Conversation
…o XPath expressions Agent-Logs-Url: https://github.com/DaymareOn/FSMP-Validator/sessions/54fc6c07-bdf2-4d58-9c3c-dfd2bd14fd44 Co-authored-by: DaymareOn <11396847+DaymareOn@users.noreply.github.com>
Owner
|
@copilot Ok, continue |
Copilot
AI
changed the title
[WIP] Investigate why inertia tag line 76 is not raising an error
Fix schematron rules silently skipping all checks due to namespace mismatch
Apr 30, 2026
Contributor
Author
The fix is in commit Root cause: The schematron XPath expressions used unprefixed element names (e.g., Fix: Added |
DaymareOn
approved these changes
May 1, 2026
Owner
|
@copilot Ok, it still doesn't raise any error. |
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.
The schematron rules in
hdtSMP64.schnever fired because their XPath expressions used unprefixed element names, which match elements in no namespace — but valid FSMP config files must declarexmlns="FSMP-Validator"(required bytargetNamespacein the XSD), placing all elements in that namespace.Changes
hdtSMP64.sch: Add<sch:ns prefix="f" uri="FSMP-Validator"/>and qualify all XPath expressions withf::This applies to both
f:boneandf:bone-defaultrules, and all three assert tests (inertia,linearDamping,angularDamping).Original prompt
Created from VS Code.