V3.0.1 beta OPDS Error: At line 6, column 20: not well-formed (invalid token)

Matthew Bourns 1 month ago updated 4 weeks ago 3

I just tried to use moon Reader on my android to view my book collection via OPDS. After I select my subcategory and I get to the author folders I get an error for invalidated OPDS content. Here is how I have everything organized with library access authorization for the two users

Books -->sci/fantasy->author->book folders for series & loose epub files

          -->mystery ->Author

Login is successful and all sub categories display correctly, just the same error whenever I try to go below the subcategory.

Here is a partial dump from the log from moonreader the log repeats for each author on the first page of the library that it should be displaying. Let me know if there is anything else you need.

Invalidated OPDS content, please contact owner of this OPDS site to verify below error:

At line 6, column 20: not well-formed (invalid token)

<?xml version="1.0" encoding="UTF-8"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:pse="http://vaemendis.net/opds-pse/ns" xmlns:opds="http://opds-spec.org/2010/catalog" xml:lang="en" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">   <id>http://5c97d45ac2ab4b96abb759e355834af9-377148-folders</id>
 <title>Fantasy & SciFi</title>
    <name>Ubooquity server</name>

<link type="application/atom+xml; profile=opds-catalog; kind=navigation" rel="self" href="/collection/opds/books/377148"/> <link type="application/atom+xml; profile=opds-catalog; kind=navigation" rel="start" href="/collection/opds"/>

<title>Aaronovitch, Ben</title>
<content type="html"/>
<link type="application/atom+xml; profile=opds-catalog; kind=acquisition" rel="subsection" href="/collection/opds/books/377149/?displayFiles=true"/>
  <title>Abraham, Daniel</title>
  <content type="html"/>
<link type="application/atom+xml; profile=opds-catalog; kind=acquisition" rel="subsection" href="/collection/opds/books/377163/?displayFiles=true"/>

<!-- Powered by Ubooquity -->

Under review

Thanks for the detailed report, I will investigate !


The page title was not properly escaped, so the special character "&" in "Fantasy & SciFi" triggered the error.

This is fixed and will be in the next version.

Thanks for taking care of that.