Page MenuHomePhabricator

HTML entity error (unencoded ampersand) in OPDS export for Wikisource
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce:

What happens?:

  • XML error at line 27, column 164427
  • The error occurs because the content of a title XML tag is "Le Conte du tonneau (1704) contenant tout ce que les arts, & les sciences ont de plus sublime et de plus mystérieux ; avec plusieurs autres pièces très curieuses." (where & is obviously incorrect XML)

What should have happened instead?:

... & ...

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Seudo renamed this task from HMLT entity error in OPDS export for Wikisource to HTLM entity error in OPDS export for Wikisource.Feb 14 2022, 8:33 AM

A fix has just been merged https://github.com/wikimedia/ws-export/pull/397 with a nicer follow up https://github.com/wikimedia/ws-export/pull/398

This will be fixed in the next WS-export update.

Aklapper renamed this task from HTLM entity error in OPDS export for Wikisource to HTML entity error (unencoded ampersand) in OPDS export for Wikisource.Feb 14 2022, 9:56 AM

The fix is deployed in version 2.10.2, and I'm re-running the OPDS build now. The generation time is shown at https://ws-export.wmcloud.org/opds/fr/ (it's currently 2022-02-15 00:16 Z so that'll update soon).

Samwilson claimed this task.

Looks like all is well again with the OPDS feed.