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

Schematron improvements #1821

Open
5 tasks
shorowit opened this issue Sep 3, 2024 · 0 comments
Open
5 tasks

Schematron improvements #1821

shorowit opened this issue Sep 3, 2024 · 0 comments

Comments

@shorowit
Copy link
Contributor

shorowit commented Sep 3, 2024

Possible schematron improvements:

  • Rename from .xml to .sch (requires Allow .sch extensions for schematron documents OpenStudio#5248)
  • Remove useless asserts, e.g., Count(h:Foo) <=1 where the HPXML schema only allows zero or one element
  • Replace Count(h:Foo) = 1) with simply h:Foo
  • Replace "Expected 1 element(s) for xpath: Foo" messages with something simpler like "Expected Foo"
  • Use consistent choice messages between Schematron and docs for easy copy and paste.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant