code4craft / xsoup

When jsoup meets XPath.
MIT License
469 stars 151 forks source link

Make local copy of methods "isWhiteSpace" and "in" from jsoup. #53

Closed patricklam closed 3 years ago

patricklam commented 3 years ago

Class XTokenQueue is mostly borrowed from jsoup's TokenQueue per its doc comments. It imports internal util class StringUtil from jsoup and uses two methods from it. StringUtil's doc comments says "designed for internal jsoup use only". It's probably safer to have a local copy of these simple methods, as done in this PR.