You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Dave Thompson (Jira)" <ji...@apache.org> on 2021/01/11 11:11:00 UTC

[jira] [Closed] (DAFFODIL-1807) schematron validation

     [ https://issues.apache.org/jira/browse/DAFFODIL-1807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Thompson closed DAFFODIL-1807.
-----------------------------------

Verified the specified commit (commit d65af5b22a742a09594f277e8154dd4078cf3459) is included in the latest pull from the incubator-daffodil repository.

Verified the all incubator-daffodil sbt test suites execute successfully including the added test.

Verified the nightly test schemas compile and save successfully.

Verified the nightly test suite executes successfully.

> schematron validation
> ---------------------
>
>                 Key: DAFFODIL-1807
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1807
>             Project: Daffodil
>          Issue Type: New Feature
>          Components: Back End
>            Reporter: Mike Beckerle
>            Priority: Major
>             Fix For: 3.1.0
>
>
> Daffodil can run the standard XSD validator that is in Xerces.
> We should also be able to provide schematron-based validation. This should allow use of a separate rule file (usually filename.sch extension), or schematron annotations embedded directly in the DFDL schema.
> Note: the way schematron validation commonly works is that the schematron rules are converted into an XSLT, and the XSLT is run on the XML infoset to produce the schematron output. We can do this same thing, but should insure that the conversion from schematron rules into XSLT is part of schema compilation so that aspect is done once only, and the XSLT created from that has its corresponding Java "transformer" object created only once as well.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)