Project

Profile

Help

Feature #6330

open

XSD Schema Validation in SaxonJS

Added by Eric Van Boxsom 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2024-01-26
Due date:
% Done:

0%

Estimated time:
Applies to JS Branch:
Fix Committed on JS Branch:
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

Description

it would be amazing to have a XSD Schema Validation feature in SaxonJS.

Do you think it is something you could be working on anytime soon ?

Thank you

Actions #1

Updated by Michael Kay 3 months ago

It's a big project and we're overstretched, but yes, it would be great.

I did some work a few years ago on writing a schema validator in XSLT. Not the schema compiler itself, but an instance validator that's driven from the SCM file exported by the existing schema compiler in SaxonJ. If it's pure XSLT, then of course it can run in SaxonJS. I wrote up the project at https://www.saxonica.com/papers/markupuk-2018mhk.pdf but it never saw the light of day (although the effort wasn't wasted because it led to a lot of the ideas that are finding their way into XSLT 4.0). It would be nice to revive it.

Actions #2

Updated by Eric Van Boxsom 3 months ago

Thank you for your quick response,

I like the idea of doing the validation using xslt. I will have a look at your paper

Thank you Michael

Please register to edit this issue

Also available in: Atom PDF Tracking page