Skip to content

Commit

Permalink
Pushing a fix that is causing the JSON schemas to not come out as val…
Browse files Browse the repository at this point in the history
…id JSON.
  • Loading branch information
david-waltermire committed Mar 20, 2022
1 parent de7ef3b commit db13180
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions toolchains/xslt-M4/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ generate_xml_schema() {
return $cmd_exitcode
else
echo -e "${result}"
echo "Using transform: ${transform}"
fi
return 0;
}
Expand All @@ -35,6 +36,7 @@ generate_json_schema() {
return $cmd_exitcode
else
echo -e "${result}"
echo "Using transform: ${transform}"
fi
return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion toolchains/xslt-M4/schema-gen/make-json-schema-metamap.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<!--<xsl:apply-templates select="schema-version"/>-->
<string key="type">object</string>
<map key="definitions">
<xsl:apply-templates select="*"/>
<xsl:apply-templates select="define-assembly | define-field"/>
</map>
<xsl:apply-templates select="." mode="require-a-root"/>
</map>
Expand Down

0 comments on commit db13180

Please sign in to comment.