cater for "." in XML element and attribute names

This commit is contained in:
Grahame Grieve 2023-01-31 07:23:52 +11:00
parent bda3a74b40
commit 4ab03c5c93
1 changed files with 1 additions and 1 deletions

View File

@ -930,7 +930,7 @@ public class XhtmlParser {
private boolean isNameChar(char ch) private boolean isNameChar(char ch)
{ {
return Character.isLetterOrDigit(ch) || ch == '_' || ch == '-' || ch == ':'; return Character.isLetterOrDigit(ch) || ch == '_' || ch == '-' || ch == ':' || ch == '.';
} }
private String readName() throws IOException private String readName() throws IOException