-
Notifications
You must be signed in to change notification settings - Fork 402
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow NCX documents to declare a doctype
Fix #1329
- Loading branch information
Showing
5 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
...ces/epub3/B-external-identifiers/files/xml-external-identifier-allowed-valid/EPUB/nav.ncx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE math PUBLIC "-//NISO//DTD ncx 2005-1//EN" "http://www.daisy.org/z3986/2005/ncx-2005-1.dtd"> | ||
<ncx xmlns:ncx="http://www.daisy.org/z3986/2005/ncx/" | ||
xmlns="http://www.daisy.org/z3986/2005/ncx/" | ||
version="2005-1" | ||
xml:lang="en"> | ||
<head> | ||
<meta name="dtb:uid" content="NOID"/> | ||
<meta name="dtb:depth" content="1"/> | ||
<meta name="dtb:totalPageCount" content="0"/> | ||
<meta name="dtb:maxPageNumber" content="0"/> | ||
</head> | ||
<docTitle> | ||
<text>NCX</text> | ||
</docTitle> | ||
<navMap> | ||
<navPoint id="ch1" playOrder="1"> | ||
<navLabel> | ||
<text>Chapter 1</text> | ||
</navLabel> | ||
<content src="content_001.xhtml"/> | ||
</navPoint> | ||
</navMap> | ||
</ncx> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../epub3/B-external-identifiers/files/xml-external-identifier-disallowed-error/EPUB/toc.ncx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters