Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Revert XMLValidator workaround#1590

Merged
shorowit merged 3 commits into
masterfrom
revert_xmlvalidator
Jan 17, 2024
Merged

Revert XMLValidator workaround#1590
shorowit merged 3 commits into
masterfrom
revert_xmlvalidator

Conversation

@shorowit

@shorowit shorowit commented Jan 16, 2024

Copy link
Copy Markdown
Contributor

Pull Request Description

Avoid creating our own temp xmlvalidation directories for schematron validation, which was a workaround several years ago to prevent errors due to collisions.

I previously tried removing the workaround but subsequently had to revert it because it was failing on the CI. I forget exactly what the issue was. But this time, it looks like the CI is happy. It's possible that the CI issue was addressed by this change?

Checklist

PR Author: Check these when they're done. Not all may apply. strikethrough and check any that do not apply.

PR Reviewer: Verify each has been completed.

  • Schematron validator (EPvalidator.xml) has been updated
  • Sample files have been added/updated (openstudio tasks.rb update_hpxmls)
  • Tests have been added/updated (e.g., HPXMLtoOpenStudio/tests/test*.rb and/or workflow/tests/test*.rb)
  • Documentation has been updated
  • Changelog has been updated
  • openstudio tasks.rb update_measures has been run
  • No unexpected changes to simulation results of sample files

@shorowit shorowit self-assigned this Jan 16, 2024
@shorowit shorowit marked this pull request as ready for review January 16, 2024 16:57
@shorowit

Copy link
Copy Markdown
Contributor Author

@joseph-robertson Should we do a ResStock test with this?

@joseph-robertson joseph-robertson left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pulled this PR into resstock here, and CI was successful: NatLabRockies/resstock#1191.

…o revert_xmlvalidator

# Conflicts:
#	HPXMLtoOpenStudio/measure.xml
@shorowit

Copy link
Copy Markdown
Contributor Author

I'm not going to bother running it through CI again. Thanks for testing, @joseph-robertson.

@shorowit shorowit merged commit 0d2ad4c into master Jan 17, 2024
@shorowit shorowit deleted the revert_xmlvalidator branch January 17, 2024 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants