ISO SCHEMATRON 2010
XSLT implementation by Rick Jelliffe with assistance from members of Schematron-love-in maillist.
2010-04-21
Two distributions are available. One is for XSLT1 engines.
The other is for XSLT2 engines, such as SAXON 9.
This version of Schematron splits the process into a pipeline of several different XSLT stages.
1) First, preprocess your Schematron schema with iso_dsdl_include.xsl.
This is a macro processor to assemble the schema from various parts.
If your schema is not in separate parts, you can skip this stage.
This stage also generates error messages for some common XPath syntax problems.
2) Second, preprocess the output from stage 1 with iso_abstract_expand.xsl.
This is a macro processor to convert abstract patterns to real patterns.
If your schema does not use abstract patterns, you can skip this
stage.
3) Third, compile the Schematron schema into an XSLT script.
This will typically use iso_svrl_for_xslt1.xsl or iso_svrl_for_xslt2.xsl
(which in turn invoke iso_schematron_skeleton_for_xslt1.xsl or iso_schematron_skeleton_for_saxon.xsl)
However, other "meta-stylesheets" are also in common use; the principle of operation is the same.
If your schema uses Schematron phases, supply these as command line/invocation parameters
to this process.
4) Fourth, run the script generated by stage 3 against the document being validated.
If you are using the SVRL script, then the output of validation will be an XML document.
If your schema uses Schematron parameters, supply these as command line/invocation parameters
to this process.
The XSLT2 distribution also features several next generation features,
such as validating multiple documents. See the source code for details.
Schematron assertions can be written in any language, of course; the file
sch-messages-en.xhtml contains the diagnostics messages from the XSLT2 skeleton
in English, and this can be used as template to localize the skeleton's
error messages. Note that typically programming errors in Schematron are XPath
errors, which requires localized messages from the XSLT engine.
ANT
---
To give an example of how to process a document, here is a sample ANT task.
<target name="schematron-compile-test" >
<!-- expand inclusions -->
<xslt basedir="test/schematron"
style="iso_dsdl_include.xsl" in="test.sch" out="test1.sch">
<classpath>
<pathelement location="${lib.dir}/saxon9.jar"/>
</classpath>
</xslt>
<!-- expand abstract patterns -->
<xslt basedir="test/schematron"
style="iso_abstract_expand.xsl" in="test1.sch" out="test2.sch">
<classpath>
<pathelement location="${lib.dir}/saxon9.jar"/>
</classpath>
</xslt>
<!-- compile it -->
<xslt basedir="test/schematron"
style="iso_svrl_for_xslt2.xsl" in="test2.sch" out="test.xsl">
<classpath>
<pathelement location="${lib.dir}/saxon9.jar"/>
</classpath>
</xslt>
<!-- validate -->
<xslt basedir="test/schematron"
style="test.xsl" in="instance.xml" out="instance.svrlt">
<classpath>
<pathelement location="${lib.dir}/saxon9.jar"/>
</classpath>
</xslt>
</target>
没有合适的资源?快使用搜索试试~ 我知道了~
PCAN 上位机 支持CAN基本通讯功能、UDS测试、UDS自动化测试和生成测试报告
共208个文件
png:60个
pyd:54个
dll:46个
34 下载量 131 浏览量
2023-04-19
22:53:14
上传
评论 1
收藏 69.47MB ZIP 举报
温馨提示
PCAN 上位机 支持CAN基本通讯功能、UDS测试、UDS自动化测试和生成测试报告 1、Python PyQt5 开发上位机 ,打包生成的exe文件 2、支持PEAK CAN盒,开源Canable刷Pcan固件支持 3、支持CAN TP自动组包,无限添加UDS命令,支持自动ASCII码解析 4、支持基本的CAN通讯功能 备注:下载的工具,仅支持CAN基本通讯功能,UDS相关功能受限,需要注册码解除相关限制。可联系我。
资源推荐
资源详情
资源评论
收起资源包目录
PCAN 上位机 支持CAN基本通讯功能、UDS测试、UDS自动化测试和生成测试报告 (208个子文件)
logo.bmp 181KB
libopenblas.FB5AE2TYXYH2IJRDKGDGQ3XBKLKTF43H.gfortran-win_amd64.dll 34.04MB
opengl32sw.dll 19.95MB
Qt5Gui.dll 6.68MB
Qt5Core.dll 5.74MB
mfc140u.dll 5.55MB
Qt5Widgets.dll 5.24MB
python39.dll 4.28MB
d3dcompiler_47.dll 3.98MB
Qt5Quick.dll 3.96MB
Qt5Qml.dll 3.43MB
libcrypto-1_1.dll 3.25MB
libGLESv2.dll 3.23MB
sqlite3.dll 1.47MB
qwindows.dll 1.41MB
Qt5Network.dll 1.28MB
qminimal.dll 825KB
qoffscreen.dll 737KB
libssl-1_1.dll 674KB
pythoncom39.dll 654KB
MSVCP140.dll 576KB
PCANBasic.dll 541KB
qwebp.dll 498KB
qwebgl.dll 471KB
Qt5QmlModels.dll 428KB
Qt5DBus.dll 426KB
qjpeg.dll 411KB
qtiff.dll 381KB
Qt5Svg.dll 323KB
Qt5WebSockets.dll 146KB
qwindowsvistastyle.dll 141KB
pywintypes39.dll 130KB
VCRUNTIME140.dll 95KB
qxdgdesktopportal.dll 67KB
python3.dll 58KB
qicns.dll 44KB
VCRUNTIME140_1.dll 43KB
qsvgicon.dll 41KB
qgif.dll 38KB
qico.dll 37KB
VCRUNTIME140_1.dll 36KB
libffi-7.dll 32KB
qsvg.dll 31KB
qtga.dll 31KB
MSVCP140_1.dll 31KB
qwbmp.dll 29KB
libEGL.dll 24KB
PcanTools.exe 8.76MB
tools.ico 17KB
FuncCfg.ini 250B
Config.ini 51B
car4.jpg 610KB
浅蓝.jpg 228KB
灰色.jpg 209KB
car3.jpg 74KB
car1.jpg 68KB
car2.jpg 47KB
背景1.jpg 38KB
PCANBasic 541KB
底色1.png 1.6MB
3.png 989KB
12.png 50KB
fota.png 3KB
数据库维护服务.png 3KB
connect.png 2KB
led-on-r.png 2KB
连接.png 2KB
uds.png 2KB
led-on-t.png 2KB
技术诊断.png 2KB
led-off-r.png 2KB
led-off-t.png 2KB
编辑.png 2KB
代码文档.png 2KB
注销.png 2KB
文件.png 2KB
active.png 2KB
p.png 2KB
setting.png 1KB
异常代码.png 1KB
icon_激活.png 1KB
trace.png 1KB
u.png 1KB
tools.png 1KB
func.png 1KB
注册.png 1KB
usb.png 1KB
clear.png 1023B
打开.png 927B
ttcan.png 910B
激活.png 909B
test.png 823B
radiobutton_checked_disable.png 817B
radiobutton_checked.png 726B
parameterset.png 723B
func2.png 712B
测试报告.png 660B
del.png 629B
dbc.png 618B
radiobutton_unchecked_disable.png 593B
共 208 条
- 1
- 2
- 3
资源评论
飞翔的汽车人
- 粉丝: 21
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功