This repository contains:
Title | Path | Detail |
---|---|---|
XML Schema files | xsd | Converted from epubcheck using trang. |
C# files for serialization | CS | Generated from XML Schema files using xsd.exe. |
GitHub Actions yamls | .github | Instead of conversion script. |
A dotnet library | kurema.Epub | A simple library for epub. Currently incomplete. |
graph LR
A(*.rnc/*.rng on epubcheck) -- trang --> B(xsd)
D(*.xsd/*.rnc on W3C) --> B
B -- xsd.exe --> C(*.cs)
C -- some work --> E(kurema.Epub)
We got a lot of errors during the conversion but couldn't fix some. Failed files include well-known formats such as XHTML, SVG and XML Security. Some may be already supported by the runtime.
Stage | 3.0 | 2.0 | Other |
---|---|---|---|
Origin | 9 | 16 | 2 |
XML Schema | 7 | 16 | 2 |
C# | 4 | 5 | 2 |
pie title Survival rate (EPUB 3.0)
"Failed on trang" : 2
"Failed on xsd.exe" : 3
"Successful conversion" : 4
pie title Survival rate (EPUB 2.0)
"Failed on trang" : 0
"Failed on xsd.exe" : 11
"Successful conversion" : 5
Generated *.cs file may be incomplete. Read this.