[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#602781: [wnpp] work aound for src/FlightCrew/Schemas/ncx-2005-1.dtd



Package: wnpp

Hi to work around the problem of missing license for
src/FlightCrew/Schemas/ncx-2005-1.dtd, I propose to:

1) gather a large pool of freely-licensed epub files, possibly from
different sources and produced with different tools

2) extract the ncx files

3) run them though DTDGenerator

4) clean up and find a structure that matches them all

5) test by validing the pool of ncx files with the unfied dtd

Example :

wget http://prdownloads.sourceforge.net/saxon/dtdgen7-0.zip
unzip dtdgen7-0.zip
wget -O a.epub http://www.gutenberg.org/ebooks/24754.epub.noimages
unzip a.epub
java -cp dtdgen.jar DTDGenerator 24754/toc.ncx > output.dtd

I attach the output. What do you think ?

--- System information. ---
Architecture: i386
Kernel:       Linux 3.2.0-4-686-pae

Debian Release: 7.1
  500 stable-updates  mi.mirror.garr.it
  500 stable          security.debian.org
  500 stable          mi.mirror.garr.it

--- Package information. ---
Package's Depends field is empty.

Package's Recommends field is empty.

Package's Suggests field is empty.



Attachment: output.dtd
Description: application/xml-dtd


Reply to: