Skip to content

Commit

Permalink
fix: update schemas from upstream HTML Checker
Browse files Browse the repository at this point in the history
Imported commit:
- validator/validator@37654b8
  • Loading branch information
rdeltour committed Apr 24, 2019
1 parent 275fcd1 commit 4d5a24d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@
)?
)
a.nohref.attrs =
( a.attrs
( common.attrs.basic
& common.attrs.i18n
& common.attrs.present
& common.attrs.other
& a.attrs.name?
& common.attrs.aria?
)
a.attrs =
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/adobe/epubcheck/ops/OPSCheckerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ public void testValidateXHTML301MDValid()
@Test
public void testValidateXHTML301MDInvalid()
{
Collections.addAll(expectedErrors, MessageId.RSC_005, MessageId.RSC_005);
Collections.addAll(expectedErrors, MessageId.RSC_005, MessageId.RSC_005, MessageId.RSC_005);
testValidateDocument("xhtml/invalid/md.xhtml", "application/xhtml+xml", EPUBVersion.VERSION_3);
}

Expand Down

0 comments on commit 4d5a24d

Please sign in to comment.