Pattern parsePattern(String pattern, StaticContext env, int lineNumber) throws XPathException
pattern- the pattern expressed as a String
env- the static context for the pattern
lineNumber- the line number of the pattern within some containing resource, for diagnostics
XPathException- if the pattern contains a syntax error
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.