Skip to content

Commit 127c782

Browse files
committed
Workaround and resolution for ndw/xmlcalabash1#297.
1 parent 2bce3a0 commit 127c782

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

computing/notes.md

+24
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,30 @@ $ # Returns 0 because the document is valid.
9595

9696
[Source: usnistgov-OSCAL/Lobby conversation on Gitter](https://gitter.im/usnistgov-OSCAL/Lobby?at=62263d32257a3578251a9a21)
9797

98+
### Oxygen XML Editor
99+
100+
#### Oxygen XML Editor 24.1 and XML Calabash 1.3.2-100 Bug with `<p:with-param>` arguments
101+
102+
When reviewing a code change with a XProc 1.0 pipeline file (.xpl file), the pipeline worked on another developer's computer, but not mine (XML Editor 24.1, build 2022030807 with XML Calabash 1.3.2-100). The following error was returned in the IDE's error message list in the Results Window.
103+
104+
> err:XD0023 : The supplied node has been schema-validated, but the XPath expression was compiled without schema-awareness It is a dynamic error if an XPath expression is encountered which cannot be evaluated (because it is syntactically incorrect, contains references to unbound variables or unknown functions, or for any other reason).
105+
106+
The offending code is here:
107+
108+
```xml
109+
<p:xslt name="finalized-catalog">
110+
<p:with-param name="xslt-process" select="'SP800-53 (Rev5) OSCAL CONVERSION'"/>
111+
<p:input port="stylesheet">
112+
<p:document href="oscal-finalize.xsl"/>
113+
</p:input>
114+
115+
</p:xslt>
116+
```
117+
118+
When running the pipeline with the released JAR in a Linux-based OCI container with XML Calabash 1.4.1-100 it did work. Removing the unused param was a temporary workaround and upgrading to the current release of Oxygen XML Editor 24.x with XML Calabash 1.4.1-100 bundled in resolved the issue.
119+
120+
More details can be found in [ndw/xmlcalabash1#297](https://github.com/ndw/xmlcalabash1/issues/297).
121+
98122
### Visual Studio 2022
99123

100124
#### Nuget Package Manager Stuck in Offline Mode

0 commit comments

Comments
 (0)