Last modified: 2013-10-30 08:59:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T58294, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56294 - WSExport EPUB errors
WSExport EPUB errors
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
Other (Other open bugs)
unspecified
All All
: Unprioritized critical
: ---
Assigned To: Nobody - You can work on this!
aklapper-moreinfo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-29 04:08 UTC by Daniel Schwen
Modified: 2013-10-30 08:59 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Schwen 2013-10-29 04:08:54 UTC
I just wanted to download The Count of Monte Cristo to read on my tablet. Validation of the file at http://validator.idpf.org/ failed with a ton of error messages (and the file could not be uploaded to my Google Books account).
The issues turned out to be:

* XML IDs must not start with numbers
* & symbols must be escaped in XML.

(After fixing them manually with sed etc. the file worked fine)
Comment 1 Andre Klapper 2013-10-29 09:02:46 UTC
Hi Daniel, 
unfortunately this report is not very useful because it does not describe well how to reproduce the problem (step by step).
Comment 2 Daniel Schwen 2013-10-29 13:34:22 UTC
Really? Click on

http://wsexport.wmflabs.org/tool/book.php?lang=en&format=epub&page=The_Count_of_Monte_Cristo

And download a broken EPUB file. Done.
Comment 3 Andre Klapper 2013-10-29 13:59:12 UTC
Yeah, really. I don't know every single wiki on Labs by heart. Sorry. ;)
Comment 4 Daniel Schwen 2013-10-29 14:03:41 UTC
Ah, well, ok, I understand. I did have User:Tpt in mind when I wrote the rudimentary report above. I have noticed him of this report. (https://fr.wikisource.org/w/index.php?title=Discussion_utilisateur:Tpt&diff=4273555&oldid=4245395)
Comment 5 Tpt 2013-10-30 08:59:24 UTC
I've fixed the issues in https://github.com/wsexport/tool/commit/36ba9fb84b7d4f04523a9e8a7568ab5256c736bd and https://github.com/wsexport/tool/commit/0dbdb9cfa1334039308299cbff86720ebd26de91

Please reports other issues directly in the "issue" section of the github repo:
https://github.com/wsexport/tool/issues

(I've added a link in the footer of the export form in order to be more discoverable)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links