You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Michael Beckerle (JIRA)" <ji...@apache.org> on 2018/03/09 22:02:00 UTC

[jira] [Issue Comment Deleted] (DAFFODIL-1807) schematron validation

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

Michael Beckerle updated DAFFODIL-1807:
---------------------------------------
    Comment: was deleted

(was: This ticket isn't about daffodil. It is about the JPEG Schema.

Ticket https://github.com/DFDLSchemas/JPEG/issues/2 replaces this ticket. )

> schematron validation
> ---------------------
>
>                 Key: DAFFODIL-1807
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1807
>             Project: Daffodil
>          Issue Type: New Feature
>          Components: Back End
>            Reporter: Michael Beckerle
>            Priority: Major
>
> 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
(v7.6.3#76005)