-
Notifications
You must be signed in to change notification settings - Fork 364
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Created two DTDs, one with just character entities for XHTML and one combined character entities for XHTML and MathML. Also: + Minor refactoring of entity resolver and catalog. + Documented the two new doctypes in author’s guide. + Made sure that other doctypes resolve to the empty string.
- Loading branch information
Showing
7 changed files
with
3,052 additions
and
89 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
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
13 changes: 13 additions & 0 deletions
13
openhtmltopdf-core/src/main/resources/resources/schema/openhtmltopdf/catalog-special.xml
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,13 @@ | ||
<?xml version='1.0'?> | ||
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="public"> | ||
|
||
<!-- ...................................................................... --> | ||
<!-- XML Catalog data for special DTD created for OpenHTMLToPDF ................................ --> | ||
<!-- ...................................................................... --> | ||
|
||
<public publicId="-//OPENHTMLTOPDF//DOC XHTML Character Entities Only 1.0//EN" uri="resources/schema/openhtmltopdf/char-entities-xhtml-only.ent" /> | ||
<public publicId="-//OPENHTMLTOPDF//MATH XHTML Character Entities With MathML 1.0//EN" uri="resources/schema/openhtmltopdf/char-entities-xhtml-mathml.ent" /> | ||
|
||
<!-- ...................................................................... --> | ||
|
||
</catalog> |
Oops, something went wrong.