Package net.sf.saxon.xpath

Examples of net.sf.saxon.xpath.XPathException$Circularity


        String module = env.getSystemId();
        lineInfo += (module == null ? "" : "of " + module + ' ');
        String prefix = getLanguage() + " syntax error " + lineInfo +
                (message.startsWith("...") ? "near" : "in") +
                " `" + s + "`:\n    ";
        XPathException exception = new StaticError(prefix + message);
        try {
            env.getConfiguration().getErrorListener().error(exception);
        } catch (TransformerException err) {
            if (err instanceof StaticError) {
                throw (StaticError) err;
View Full Code Here


            throws XPathException {
        DerivedAtomicValue val = new DerivedAtomicValue();
        val.primitiveValue = primValue;
        val.typeLabel = type;
        // TODO: no need to revalidate when atomizing an already-validated node
        XPathException err = val.checkAgainstFacets(lexicalValue);
        if (err != null) {
            if (throwError) {
                throw err;
            } else {
                return null;
View Full Code Here

            }
            controller.registerDocument(newdoc, documentKey);
            return getFragment(newdoc, fragmentId);

        } catch (TransformerException err) {
            XPathException xerr = XPathException.wrap(err);
            try {
                controller.recoverableError(xerr);
            } catch (XPathException err2) {
                throw new DynamicError(err);
            }
View Full Code Here

            }
            controller.registerDocument(newdoc, documentKey);
            return getFragment(newdoc, fragmentId);

        } catch (TransformerException err) {
            XPathException xerr = XPathException.wrap(err);
            try {
                controller.recoverableError(xerr);
            } catch (XPathException err2) {
                throw new DynamicError(err);
            }
View Full Code Here

TOP

Related Classes of net.sf.saxon.xpath.XPathException$Circularity

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.