On Sat, 31 Aug 2013, Paolo Greppi wrote: > 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 ?
Thanks for doing this work. I've actually now done a re-implementation of the DTD directly from the standard. I'm working on tying up some remaining loose ends (mainly cleaning up the copies of the original DTD from the git repository) and I should be doing an upload in the next few days. -- Don Armstrong http://www.donarmstrong.com A Bill of Rights that means what the majority wants it to mean is worthless. -- U.S. Supreme Court Justice Antonin Scalia -- To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130909190107.gk27...@rzlab.ucr.edu