-
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.
Update the XHTML 1.1 RNG schema to latest version
* update XHTML 1.1 RNG schema for usemap attribute // refs #696 > Changing the datatype for the usemap attribute from IDREF to URIREF - most user agents require that map references be relative URIs that are local to the document. -- see https://www.w3.org/TR/xhtml-modularization/Overview.html#status * No changes for empty class attributes, added a test anyways // refs #733 Fixes #733
- Loading branch information
Showing
6 changed files
with
54 additions
and
32 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
22 changes: 0 additions & 22 deletions
22
src/test/resources/20/single/xhtml/invalid/imagemap-bad_issue696.xhtml
This file was deleted.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
src/test/resources/20/single/xhtml/valid/empty-class-attribute-is-valid_issue733.xhtml
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,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | ||
<head> | ||
<title>XHTML 1.1 example</title> | ||
</head> | ||
<body> | ||
<h1>XHTML 1.1 example</h1> | ||
|
||
<p>This is an example for the datatype change of the @class attribute in XHTML 1.1 (EPUB 2).</p> | ||
<p>After the <a href="https://www.w3.org/TR/xhtml-modularization/Overview.html#status" | ||
>latest revision of the XHTML 1.1 DTD in 2010</a> the @class attribute | ||
allows for empty values.</p> | ||
<p>At the time of this writing, oXygen will report this as invalid because | ||
they also use an outdated version of the XHTML 1.1 DTD for validation. | ||
However, this will be fixed in a future release.</p> | ||
|
||
|
||
<div class=""> | ||
Empty @class attribute is valid | ||
</div> | ||
</body> | ||
</html> |
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