SingingBush commented on code in PR #41:
URL: https://github.com/apache/xerces-j/pull/41#discussion_r2465924724


##########
src/org/apache/xerces/impl/xpath/regex/ParserForXMLSchema.java:
##########
@@ -162,9 +163,11 @@ int processCIinCharacterClass(RangeToken tok, int c) {
      * single-range     ::= multi-c-escape | category-c-escape | 
block-c-escape | <any XML char>
      * cc-normal-c      ::= <any character except [, ], \>
      * from-to-range    ::= cc-normal-c '-' cc-normal-c
+     * </pre>
      *
-     * @param useNrage Ignored.
-     * @return This returns no NrageToken.
+     * @param useNrange ignored
+     * @return a {@link RangeToken}, returns no NRANGE token
+     * @throws ParseException if regex is not conforming to the syntax

Review Comment:
   *ParserForXMLSchema* is a *RegexParser* so the message for throwing a 
ParseException is standardised in the changes of the PR. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to