Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema(tron) for static template checking #21

Open
LandingEllipse opened this issue May 12, 2021 · 0 comments
Open

Schema(tron) for static template checking #21

LandingEllipse opened this issue May 12, 2021 · 0 comments
Labels
feature New feature or request

Comments

@LandingEllipse
Copy link
Contributor

LandingEllipse commented May 12, 2021

An avenue to consider is implementing some of PT's state checks in schema(tron) form, to allow for in-editor feedback (for those who use schema-aware editors).

Because of the dynamic evaluation context of many of PT's properties, there are limited opportunities to delve deep into schematron territory, but we should be able to at least cover the basics (pt:sources needed in parent context of other properties, etc.).

The proposed static validator console script entry point could rely on this schema(tron) instead of implementing a separate backend in e.g. Template.

@LandingEllipse LandingEllipse added the feature New feature or request label May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant