cater for "." in XML element and attribute names
This commit is contained in:
parent
bda3a74b40
commit
4ab03c5c93
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue