Epubcheck 2 and 3

Are you missing a feature? Request it's implementation here.
burbles
Posts: 37
Joined: Wed Dec 23, 2009 6:13 am

Epubcheck 2 and 3

Post by burbles » Wed Jan 09, 2013 1:21 am

In the Archive Browser, it would be useful to have validation options for both epubcheck2 and epubcheck3. I'm having to open an older version of oXygen which has epubcheck2, which isn't efficient.
Thanks

adrian
Posts: 2533
Joined: Tue May 17, 2005 4:01 pm

Re: Epubcheck 2 and 3

Post by adrian » Wed Jan 09, 2013 4:07 pm

Hello,

Currently (v14.1) you can only use one version of epubcheck at a time in Oxygen. In theory you should be able to replace epubcheck 3 with epubcheck 2. Let me know if you're interested in this possibility.

I've submitted a request on our issue tracking to support multiple (configurable) versions of epubcheck.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

burbles
Posts: 37
Joined: Wed Dec 23, 2009 6:13 am

Re: Epubcheck 2 and 3

Post by burbles » Thu Jan 10, 2013 5:42 am

Adrian,
I know that theoretically I could substitute some .jar files in oXygen's epub directory to switch back to epubcheck2, but there needs to be some choice for users to select either epubcheck2 or 3 from the Archive Browser, especially as there are still not many ereaders that support EPUB 3.0 (as authors are more likely to produce EPUB 2.0). Epubcheck2 is available in older versions of oXygen, not the current version. If both versions can't be accommodated in the Archive Browser for some technical reason, perhaps consider repricing an older version of oXygen Author (13.0?) that supports epubcheck2 and release it as a special for EPUB validation only?

adrian
Posts: 2533
Joined: Tue May 17, 2005 4:01 pm

Re: Epubcheck 2 and 3

Post by adrian » Thu Jan 10, 2013 11:22 am

Hi,

I understand the use case. I've mentioned on our issue tracking tool to also include epubcheck 2 (1.2) out-of-the-box.
This use case actually has a wider range (not just for epubcheck 2) because sometimes a specific version of epubcheck (e.g. 3.0b3) is necessary, since that specific version is used to validate the EPUB when submitting it to some shop/repository. So, it would probably be more useful if Oxygen could accommodate multiple (custom) versions of epubcheck.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

adrian
Posts: 2533
Joined: Tue May 17, 2005 4:01 pm

Re: Epubcheck 2 and 3

Post by adrian » Thu Jan 10, 2013 12:31 pm

If both versions can't be accommodated in the Archive Browser for some technical reason, perhaps consider repricing an older version of oXygen Author (13.0?) that supports epubcheck2 and release it as a special for EPUB validation only?
That would be redundant.
Until the support for both (or multiple) versions of epubcheck is implemented, you can simply install a second instance of Oxygen in a different folder (make sure the file association won't interfere with each other) and replace the folder Oxygen\lib\zip\epub from this one with the one from Oxygen v13.2 (uses epubcheck 1.2).
I've uploaded and linked below an archive that contains the epub folder with epubcheck 1.2 for Oxygen. Remove the old epub folder from Oxygen\lib\zip and unpack this archive there:
epubcheck1.2forOxygen.zip

The errors reported by epubcheck 1.2 appear in Oxygen in the form: E [EpubCheck] while the ones reported by epubcheck3.0b5 have the form E [EpubCheck3.0b5].

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Post Reply