Pressbooks xml exportation fail

#1

52

#2

System Information

Book Info

Book ID: 32
Book URL: https://open.books4languages.com/english-a1-grammar/
Book Privacy: Public

Browser

Platform: OS X
Browser Name: Firefox
Browser Version: 67.0
User Agent String: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:67.0) Gecko/20100101 Firefox/67.0

WordPress Configuration

Network URL: http://open.books4languages.com/
Network Type: Subdirectory
Version: 5.2.1
Language: en_US
WP_ENV: Not set
WP_DEBUG: Disabled
Memory Limit: 64M

Pressbooks Configuration

Version: 5.8.2
Book Theme: Books4languages Book Child theme for Pressbooks
Book Theme Version: 1.2.3
Root Theme: Books4Languages Aldine Child Theme
Root Theme Version: 0.1

Pressbooks Dependencies

Epubcheck: Not Installed
Kindlegen: Not Installed
xmllint: Not Installed
PrinceXML: Not Installed
Saxon-HE: Not Installed

Must-Use Plugins

hm-autoloader.php: n/a
WP Migrate DB Compatibility: 1.2

Network Active Plugins

Activity Log: 2.5.2
BackUpWordPress: 100.3.8
BackWPup: 3.6.9
Cookie Notice: 1.2.46
Extensions for PressBooks: 1.2.1
Featured Image for PressBooks CPTs: 0.3
mPDF for Pressbooks: 3.2.4
Pressbooks: 5.8.2
Pressbooks TinyMCE Formats: 0.7
Restrict Content Pro: 2.9.13
Simple Advertising: 1.0
The SEO Framework: 3.2.4
Translations for PressBooks: 1.2.2
UsageDD: 1.4.6
Wordfence Security: 7.3.3
WP-Sweep: 1.1.0
WP Migrate DB: 1.0.11
WP Rocket: 2.11.6

Book Active Plugins

Activity Log: 2.5.2
BackUpWordPress: 100.3.8
BackWPup: 3.6.9
Cookie Notice: 1.2.46
Extensions for PressBooks: 1.2.1
Featured Image for PressBooks CPTs: 0.3
Mistape: 100.3.6
mPDF for Pressbooks: 3.2.4
Pressbooks: 5.8.2
Pressbooks TinyMCE Formats: 0.7
Restrict Content Pro: 2.9.13
Simple Advertising: 1.0
The SEO Framework: 3.2.4
Translations for PressBooks: 1.2.2
UsageDD: 1.4.6
Wordfence Security: 7.3.3
WP-Sweep: 1.1.0
WP Migrate DB: 1.0.11
WP Rocket: 2.11.6

Inactive Plugins

Advanced Database Cleaner: 2.0.0
Akismet Anti-Spam: 4.1.2
Candela Thin Exports: 0.1
Classic Editor: 1.5
Cloner: 1.7.7
Easy Table: 1.8
Enable Media Replace: 3.3.0
Inactive Logout: 1.8.4
Members: 2.1.0
PHP Compatibility Checker: 1.4.7
Pressbooks Stats: 1.4.1
Simple Metadata: 1.2
Simple Metadata Education: 1.0
Simple Metadata Life Cycle: 1.0
Simple Revision Cleaner: 1.1.0
WP-DBManager: 2.79.2
WP-Print: 2.58
WP Rocket | Settings Access:

Server Configuration

PHP Version: 7.1.30
MySQL Version: 5.7.26
Webserver Info: Apache

PHP Configuration

Safe Mode: Disabled
Memory Limit: 256M
Upload Max Size: 128M
Post Max Size: 8M
Upload Max Filesize: 128M
Time Limit: 900
Max Input Vars: 1000
URL-aware fopen: N/A
Display Errors: N/A

PHP Extensions

OPcache: Zend
XDebug: Disabled
cURL: Supported
cURL Version: 7.47.0
imagick: Installed
xsl: Installed

#3

That’s a warning that says the XML doesn’t validate. There’s probably junk in there from a chapter. Share the file?

#4

that´s the file:

#5

xmllint pb-xml

:12274: parser error : Char 0x0 out of allowed range
n eclectic system with a distribution of contents based on the Learning Objects.
                                                                               ^

… snip …

Unicode character 0x0 represents NULL meaning that the data you’re pulling contains a NULL somewhere (which is not allowed in XML and hence your error). An invisible character that, somehow, got into your chapter. Delete it, the problem will go away.

1 Like
#6

in book info. a mistake.

thanks @dac.chartrand

2 Likes