Inspector XSLT, beta version #88
wendellpiez
started this conversation in
Show and tell
Replies: 1 comment
-
The latest addition to this project is a demo Schematron 'wrapper' that can return reports from an XSLT-based Schematron engine. An example for the Computer Model is given in the InspectorXSLT/testing folder. This is in lieu of a full-fledged Schematron implementation as described in #90. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
InspectorXSLT is a validator or schema emulator for XML defined by a Metaschema.
In addition to rules (over element and attribute names and occurrences) such as are typically expressed by a document grammar or equivalent (such as XSD), the InspectorXSLT includes a draft implementation of Metaschema constraints, including the constraints
allowed-values
, 'matches
,index-has-key
,is-unique
andexpect
.A version for beta testing is now available from PR #73 - the application folder (on its fork) is here: https://github.com/wendellpiez/metaschema-xslt/tree/issue72-XSLT-inspectorA/src/schema-gen/InspectorXSLT
Working from the command line, served in a web page (in development), or integrated into an application, InspectorXSLT is intended to support and complement other Metaschema-based validation methods applied to XML, including schemas (such as XSD), Schematron, or a Metaschema-aware parse. It depends on the same composition pipeline as other metaschema-xslt applications (to produce a linked standalone metaschema module from a set of files), but is independent of other schema or converter generators.
InspectorXSLT assumes an XSLT platform for runtime; but the XSLT produced for a given Metaschema module is a standalone, self-contained artifact, portable and readily deployed on an XSLT 3.0/XPath 3.1 implementation such as Saxon.
Since it is declarative XSLT, it is also open for inspection and analysis.
For testers without access to their own metaschema sources, the application contains two test metaschemas to try:
A wiki page gives more info.
Thanks to DW, AG and anonymous Google security person for inspiration and encouragement.
Good luck / enjoy / please comment
Beta Was this translation helpful? Give feedback.
All reactions