nlbdev / nordic-epub3-dtbook-migrator

Tools for converting between a strict subset of DTBook and EPUB3.
http://nlbdev.github.io/nordic-epub3-dtbook-migrator/
GNU Lesser General Public License v2.1
8 stars 7 forks source link

Make it possible to validate without Pipeline 2 #395

Closed josteinaj closed 1 year ago

josteinaj commented 4 years ago

Try to modify the validation rules so that validation can be run outside of Pipeline 2, such as in an XML editor. It would be convenient to be able to validate (maybe just partially validate) the EPUBs according to our validation rules when you're working in an XML editor. If Oxygen XML Editor is used by almost everyone, then maybe we could make a semi-official oxygen scenario that can be easily installed. We'll have to gather more information first (#394) before we know whether or not this is something we want to do.

Pipeline 2 not needed, can already be used outside of Pipeline 2:

Pipeline 2 used to preprocess documents before validation:

Validations performed in Pipeline 2 that are not based on Schematron or RelaxNG:

martinpub commented 3 years ago

Discussed on validation group meeting on October 15. The group is interested in pursuing this, as it will simplify the editing process. @stesk will share Nota's current setup and @kalaspuffar will provide information regarding what parts of the validation schemata need to updated for a standalone, non-Pipeline, validation scenario.

josteinaj commented 1 year ago

@kalaspuffar where are we on this one?

@oscarlcarlsson have you worked on this? done any testing?

oscarlcarlsson commented 1 year ago

@josteinaj as far as i know, the latest version can be run outisde of pipeline2. We are still not using Oxygen in general at MTM.

josteinaj commented 1 year ago

This issue description is a bit fuzzy. If it's only about running without Pipeline 2, then this is solved. But I think Pipeline 2 is still part of the build process, and the validation rules cannot be run outside of this project in a pure oxygen environment (or other editors). So we just need to decide whether or not we consider this issue done or not.

josteinaj commented 1 year ago

I'm closing this for now. If we want to pursue this in the future, then we should describe a more concrete use case and success criteria.