SlideShare a Scribd company logo
Schematron &
Schematron Quick Fixes
in <oXygen/>
Octavian Nadolu
octavian_nadolu@oxygenxml.com
@OctavianNadolu
Schematron & SQFSchematron & SQF
Copyright @ Syncro Soft, 2016. All rights reserved.
Overview
● Support for XPath/XSLT 3.0 in Schematron
● Multilingual support in Schematron (*)
● Schematron Quick Fixes in Other Documents
● User Entries in Schematron Quick Fixes
● Displaying Quick Fixes
● Improved Performance for SQF Execution
* Available in next <oXygen/> version
Schematron & SQFSchematron & SQF
Copyright @ Syncro Soft, 2016. All rights reserved.
XSLT 3.0 in Schematron
● ISO Schematron
– queryBinding="xslt3"
● Embedded Schematron rules
● Schematron 1.5
Schematron & SQFSchematron & SQF
Copyright @ Syncro Soft, 2016. All rights reserved.
Multilingual support in Schematron
● Based on the Schematron diagnostic element
● A diagnostic element is used for each language
● Multilingual support in Schematron specification
<sch:assert test="bone" diagnostics="d_en d_de">
A dog should have a bone.
</sch:assert>
….
<sch:diagnostics>
<sch:diagnostic id="d_en" xml:lang="en">
A dog should have a bone.
</sch:diagnostic>
<sch:diagnostic id="d_de" xml:lang="de">
Das Hund muss ein Bein haben.
</sch:diagnostic>
</sch:diagnostics>
Simple example of multulingual schema
Schematron & SQFSchematron & SQF
Copyright @ Syncro Soft, 2016. All rights reserved.
Schematron Messages Language
● Schematron messages options:
● Use the application language
● Use the “xml:lang” attribute set on the Schematron
root
● Ignore the language and show all messages
● Use a custom language
Schematron & SQFSchematron & SQF
Copyright @ Syncro Soft, 2016. All rights reserved.
Schematron Messages
● Separate files for each language
● Include files from the main Schematron
● Support for included diagnostics
– Validation
– Content completion
– Search and rename
Schematron & SQFSchematron & SQF
Copyright @ Syncro Soft, 2016. All rights reserved.
SQF in Other Documents
● Quick fixes can be executed over the nodes
referred with XInclude and external entities
● You can access them as the nodes in the current
document
● Apply quick fixes also over other document
using doc() function
Schematron & SQFSchematron & SQF
Copyright @ Syncro Soft, 2016. All rights reserved.
SQF User Entries
● An sqf:user-entry defines a value that can be
set manually by the user
<sqf:fix id="fix1">
<sqf:description>
<sqf:title>Fix 1</sqf:title>
</sqf:description>
<sqf:user-entry name="ue">
<sqf:description>sqf:title>User Entry</sqf:title></sqf:description>
</sqf:user-entry>
<sqf:replace target="@attr" node-type="element" select="$ue"/>
</sqf:fix>
Schematron & SQFSchematron & SQF
Copyright @ Syncro Soft, 2016. All rights reserved.
SQF User Entries
● You can add multiple User Entries in a quick fix
● Example:
An anchor element is required
Insert the @href attribute value
Schematron & SQFSchematron & SQF
Copyright @ Syncro Soft, 2016. All rights reserved.
SQF Execution Performance
● Quick fixes are generated and executed faster
● Example:
– For a quick fix that adds @id attribute on each section
– Performance improved from 4-5 minutes to 4.5 seconds
● XML validation against Schematron with SQF
performs faster
Schematron & SQFSchematron & SQF
Copyright @ Syncro Soft, 2016. All rights reserved.
Displaying Quick Fixes
● In a Tooltip Window
● Quick drop-down menu in the Author page
Schematron & SQFSchematron & SQF
Copyright @ Syncro Soft, 2016. All rights reserved.
Thank you!
Questions?
<oXygen/> XML Editor
http://www.oxygenxml.com
octavian_nadolu@oxygenxml.com
@OctavianNadolu

More Related Content

PDF
Schematron QuickFix
PDF
XML Quick Fixes
ODP
Java concurrency
ODP
Performance Test Automation With Gatling
ODP
Gatling
PDF
Performance tests with gatling
PDF
Effective java item 80 prefer executors, tasks, and streams to threads
PPTX
Schematron QuickFix
XML Quick Fixes
Java concurrency
Performance Test Automation With Gatling
Gatling
Performance tests with gatling
Effective java item 80 prefer executors, tasks, and streams to threads

What's hot (14)

PDF
Three Lessons about Gatling and Microservices
PDF
Advanced web application architecture - Talk
PDF
Migration from joc to jpc or choral
PDF
Plsql commons
PDF
JChem Microservices
PPTX
Gatling Tool in Action at Devoxx 2012
PDF
Load test REST APIs using gatling
PDF
Load testing in Zonky with Gatling
PPTX
Sql plsql online training
PDF
Performant Django - Ara Anjargolian
ODP
Boost your App with Gatling
PPT
Module Owb External Execution
PDF
202107 - Orion introduction - COSCUP
PDF
GraphQL-PHP: Dos and don'ts
Three Lessons about Gatling and Microservices
Advanced web application architecture - Talk
Migration from joc to jpc or choral
Plsql commons
JChem Microservices
Gatling Tool in Action at Devoxx 2012
Load test REST APIs using gatling
Load testing in Zonky with Gatling
Sql plsql online training
Performant Django - Ara Anjargolian
Boost your App with Gatling
Module Owb External Execution
202107 - Orion introduction - COSCUP
GraphQL-PHP: Dos and don'ts
Ad

Similar to Schematron & SQF In oXygen (9)

PDF
Schematron 2016 and SQF Update
PPTX
Schematron QuickFix on XMLPrague
PDF
XML Quick Fixes
PDF
The Power Of Schematron Quick Fixes - XML Prague 2019
PDF
Exploring the new features in Oxygen XML Editor 20 - Development
PDF
Leveraging the Power of AI and Schematron for Content Verification and Correc...
PDF
Documentation Quality Assurance with ISO Schematron
ODP
JSON Edit, Validate, Query, Transform, and Convert
PDF
Introduction to Schematron
Schematron 2016 and SQF Update
Schematron QuickFix on XMLPrague
XML Quick Fixes
The Power Of Schematron Quick Fixes - XML Prague 2019
Exploring the new features in Oxygen XML Editor 20 - Development
Leveraging the Power of AI and Schematron for Content Verification and Correc...
Documentation Quality Assurance with ISO Schematron
JSON Edit, Validate, Query, Transform, and Convert
Introduction to Schematron
Ad

More from Octavian Nadolu (20)

PDF
Verify Content With Artificial Intelligence
PDF
Artificial Intelligence for XMLDevelopment
PDF
Artificia Intellicence and XPath Extension Functions
PDF
YAML Editing and Validation In Oxygen
PDF
Oxygen JSON Editor
PDF
OpenAPI/AsyncAPI Support in Oxygen
PDF
Validating XML and JSON Documents Using Oxygen Scripting
PDF
OpenAPI Editing, Testing, and Documenting
PDF
JSON, JSON Schema, and OpenAPI
PDF
Create an Design JSON Schema
PDF
Compare And Merge Scripts
PDF
JSON Schema Design
PDF
Schematron For Non-XML Languages
PDF
JSON and JSON Schema in Oxygen
PDF
HTML5 Editing Validation
PDF
Hands on JSON
PDF
Collaboration Tools to Help Improve Documentation Process
ODP
Schematron step-by-step
PDF
Comparing and Merging XML Documents in Visual Mode
PDF
XSLT 3.0 Improvements - XML Prague 2018
Verify Content With Artificial Intelligence
Artificial Intelligence for XMLDevelopment
Artificia Intellicence and XPath Extension Functions
YAML Editing and Validation In Oxygen
Oxygen JSON Editor
OpenAPI/AsyncAPI Support in Oxygen
Validating XML and JSON Documents Using Oxygen Scripting
OpenAPI Editing, Testing, and Documenting
JSON, JSON Schema, and OpenAPI
Create an Design JSON Schema
Compare And Merge Scripts
JSON Schema Design
Schematron For Non-XML Languages
JSON and JSON Schema in Oxygen
HTML5 Editing Validation
Hands on JSON
Collaboration Tools to Help Improve Documentation Process
Schematron step-by-step
Comparing and Merging XML Documents in Visual Mode
XSLT 3.0 Improvements - XML Prague 2018

Recently uploaded (20)

PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
L1 - Introduction to python Backend.pptx
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Download FL Studio Crack Latest version 2025 ?
PDF
Nekopoi APK 2025 free lastest update
PDF
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Autodesk AutoCAD Crack Free Download 2025
PPTX
Computer Software and OS of computer science of grade 11.pptx
PPTX
Patient Appointment Booking in Odoo with online payment
PPTX
Reimagine Home Health with the Power of Agentic AI​
PPTX
Advanced SystemCare Ultimate Crack + Portable (2025)
PPTX
history of c programming in notes for students .pptx
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
Monitoring Stack: Grafana, Loki & Promtail
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Tally Prime Crack Download New Version 5.1 [2025] (License Key Free
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
L1 - Introduction to python Backend.pptx
Design an Analysis of Algorithms II-SECS-1021-03
Design an Analysis of Algorithms I-SECS-1021-03
Download FL Studio Crack Latest version 2025 ?
Nekopoi APK 2025 free lastest update
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Autodesk AutoCAD Crack Free Download 2025
Computer Software and OS of computer science of grade 11.pptx
Patient Appointment Booking in Odoo with online payment
Reimagine Home Health with the Power of Agentic AI​
Advanced SystemCare Ultimate Crack + Portable (2025)
history of c programming in notes for students .pptx
Wondershare Filmora 15 Crack With Activation Key [2025
Monitoring Stack: Grafana, Loki & Promtail
wealthsignaloriginal-com-DS-text-... (1).pdf
Odoo Companies in India – Driving Business Transformation.pdf
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Tally Prime Crack Download New Version 5.1 [2025] (License Key Free

Schematron & SQF In oXygen

  • 1. Schematron & Schematron Quick Fixes in <oXygen/> Octavian Nadolu octavian_nadolu@oxygenxml.com @OctavianNadolu
  • 2. Schematron & SQFSchematron & SQF Copyright @ Syncro Soft, 2016. All rights reserved. Overview ● Support for XPath/XSLT 3.0 in Schematron ● Multilingual support in Schematron (*) ● Schematron Quick Fixes in Other Documents ● User Entries in Schematron Quick Fixes ● Displaying Quick Fixes ● Improved Performance for SQF Execution * Available in next <oXygen/> version
  • 3. Schematron & SQFSchematron & SQF Copyright @ Syncro Soft, 2016. All rights reserved. XSLT 3.0 in Schematron ● ISO Schematron – queryBinding="xslt3" ● Embedded Schematron rules ● Schematron 1.5
  • 4. Schematron & SQFSchematron & SQF Copyright @ Syncro Soft, 2016. All rights reserved. Multilingual support in Schematron ● Based on the Schematron diagnostic element ● A diagnostic element is used for each language ● Multilingual support in Schematron specification <sch:assert test="bone" diagnostics="d_en d_de"> A dog should have a bone. </sch:assert> …. <sch:diagnostics> <sch:diagnostic id="d_en" xml:lang="en"> A dog should have a bone. </sch:diagnostic> <sch:diagnostic id="d_de" xml:lang="de"> Das Hund muss ein Bein haben. </sch:diagnostic> </sch:diagnostics> Simple example of multulingual schema
  • 5. Schematron & SQFSchematron & SQF Copyright @ Syncro Soft, 2016. All rights reserved. Schematron Messages Language ● Schematron messages options: ● Use the application language ● Use the “xml:lang” attribute set on the Schematron root ● Ignore the language and show all messages ● Use a custom language
  • 6. Schematron & SQFSchematron & SQF Copyright @ Syncro Soft, 2016. All rights reserved. Schematron Messages ● Separate files for each language ● Include files from the main Schematron ● Support for included diagnostics – Validation – Content completion – Search and rename
  • 7. Schematron & SQFSchematron & SQF Copyright @ Syncro Soft, 2016. All rights reserved. SQF in Other Documents ● Quick fixes can be executed over the nodes referred with XInclude and external entities ● You can access them as the nodes in the current document ● Apply quick fixes also over other document using doc() function
  • 8. Schematron & SQFSchematron & SQF Copyright @ Syncro Soft, 2016. All rights reserved. SQF User Entries ● An sqf:user-entry defines a value that can be set manually by the user <sqf:fix id="fix1"> <sqf:description> <sqf:title>Fix 1</sqf:title> </sqf:description> <sqf:user-entry name="ue"> <sqf:description>sqf:title>User Entry</sqf:title></sqf:description> </sqf:user-entry> <sqf:replace target="@attr" node-type="element" select="$ue"/> </sqf:fix>
  • 9. Schematron & SQFSchematron & SQF Copyright @ Syncro Soft, 2016. All rights reserved. SQF User Entries ● You can add multiple User Entries in a quick fix ● Example: An anchor element is required Insert the @href attribute value
  • 10. Schematron & SQFSchematron & SQF Copyright @ Syncro Soft, 2016. All rights reserved. SQF Execution Performance ● Quick fixes are generated and executed faster ● Example: – For a quick fix that adds @id attribute on each section – Performance improved from 4-5 minutes to 4.5 seconds ● XML validation against Schematron with SQF performs faster
  • 11. Schematron & SQFSchematron & SQF Copyright @ Syncro Soft, 2016. All rights reserved. Displaying Quick Fixes ● In a Tooltip Window ● Quick drop-down menu in the Author page
  • 12. Schematron & SQFSchematron & SQF Copyright @ Syncro Soft, 2016. All rights reserved. Thank you! Questions? <oXygen/> XML Editor http://www.oxygenxml.com octavian_nadolu@oxygenxml.com @OctavianNadolu