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

Debugging XProc Pipelines Using Outdated Paths #255

Closed
aj-stein-nist opened this issue Nov 14, 2022 · 1 comment · Fixed by #256
Closed

Debugging XProc Pipelines Using Outdated Paths #255

aj-stein-nist opened this issue Nov 14, 2022 · 1 comment · Fixed by #256
Assignees
Labels
bug Something isn't working Tech Debt XSLT Implementation Issue relates to the XSLT implementation of Metaschema.

Comments

@aj-stein-nist
Copy link
Collaborator

aj-stein-nist commented Nov 14, 2022

Describe the bug

As a NIST OSCAL developer, in order to locally test complex XSLT transformation scenarios with XProc pipelines, I would like the team to review the pipelines for import file (stylesheet and otherwise) to ensure they have been updated to reflect the new repository structure.

Who is the bug affecting?

OSCAL developers using Metaschema for (OSCAL data format) schema generation, content converters, validation, and content processing utilities via the XSLT M4 toolchain.

What is affected by this bug?

Properly running local development XProc pipelines accordingly to debug and incrementally development changes to Metaschema needed for OSCAL development with Metaschema.

From doing some code spelunking, these are some minor misses from a major cleanup and overhaul that occurred for #172.

When does this occur?

Consistently.

How do we replicate the issue?

{What are the steps to reproduce the behavior?

  1. Check out a current version of the develop branch of this Metaschema repo.
  2. Attempt to use local development and testing transforms, such as test-xml-conversions.xpl.
  3. Note incorrect relative path imports that will cause exceptions when executing the XProc pipeline, such as those examples below:

https://github.com/usnistgov/metaschema/blob/develop/toolchains/xslt-M4/testing/test-xml-conversions.xpl#L78

https://github.com/usnistgov/metaschema/blob/develop/toolchains/xslt-M4/testing/test-xml-conversions.xpl#L162

Expected behavior (i.e. solution)

Relative paths are current, and XProc pipelines as currently specified execute without issue.

Other Comments

{Add any other context about the problem here.}

@aj-stein-nist aj-stein-nist added bug Something isn't working XSLT Implementation Issue relates to the XSLT implementation of Metaschema. Tech Debt labels Nov 14, 2022
@aj-stein-nist aj-stein-nist self-assigned this Nov 14, 2022
@aj-stein-nist
Copy link
Collaborator Author

I am provisionally going to pull this into sprint and quickly work to merge into develop as I did not want to include this work into #235 (where it was originally found from ongoing development) unless expressly requested to do by Dave and Wendell during review. Rather, I will work to quickly fix these, get merged into develop, then rebase that branch.

aj-stein-nist added a commit to aj-stein-nist/metaschema that referenced this issue Nov 14, 2022
@aj-stein-nist aj-stein-nist moved this from Todo to In Progress in NIST OSCAL Work Board Nov 14, 2022
aj-stein-nist added a commit to aj-stein-nist/metaschema that referenced this issue Nov 14, 2022
@aj-stein-nist aj-stein-nist linked a pull request Nov 14, 2022 that will close this issue
5 tasks
@aj-stein-nist aj-stein-nist moved this from In Progress to Under Review in NIST OSCAL Work Board Nov 17, 2022
Repository owner moved this from Under Review to Done in NIST OSCAL Work Board Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Tech Debt XSLT Implementation Issue relates to the XSLT implementation of Metaschema.
Projects
Status: Done
2 participants