cts.validOpticPath( string as String, [map as Object?] ) as Boolean
Parses path expressions and resolves namespaces using the $map parameter.
Support built in functions inside path since ML 11.0.0.
Returns true
if the argument is permissible as a path for
Optic op:xpath
cts.validOpticPath("/foo/bar[@baz = '1']") => true
cts.validOpticPath("/ns1:foo/ns1:bar[@baz = '1']",{ns1:"http://example.org/myns"}) => true
cts.validOpticPath("/foo/bar[@baz = '1']/fn:string(.)") => true