8015092: SchemaFactory cannot parse schema if whitespace added within patterns in Selector XPath expression
Reviewed-by: lancea, alanb
This commit is contained in:
parent
a2bbd75cda
commit
75969430ac
@ -1422,7 +1422,7 @@ public class XPath {
|
||||
}
|
||||
ch = data.charAt(currentOffset);
|
||||
} while (ch == ' ' || ch == 0x0A || ch == 0x09 || ch == 0x0D);
|
||||
if (currentOffset == endOffset || ch == '|') {
|
||||
if (currentOffset == endOffset || ch == '|' || ch == '/') {
|
||||
addToken(tokens, XPath.Tokens.EXPRTOKEN_PERIOD);
|
||||
starIsMultiplyOperator = true;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user