Examples of checkUniqueOutputDestination()


Examples of client.net.sf.saxon.ce.Controller.checkUniqueOutputDestination()

            return getFragment(doc, fragmentId, c);
        }

        // check that the document was not written by this transformation

        if (!controller.checkUniqueOutputDestination(documentKey)) {
            pool.markUnavailable(documentKey);
            XPathException err = new XPathException(
                    "Cannot read a document that was written during the same transformation: " + documentKey);
            err.setXPathContext(c);
            err.setErrorCode("XTRE1500");
View Full Code Here

Examples of client.net.sf.saxon.ce.Controller.checkUniqueOutputDestination()

            if (controller.getDocumentPool().find(documentKey.toString()) != null) {
                dynamicError("Cannot write to a URI that has already been read: " + documentKey.toString(), "XTRE1500", context);
            }
           
            if (!controller.checkUniqueOutputDestination(documentKey)) {
                dynamicError("Cannot write more than one result document to the same URI: " + documentKey.toString(),"XTDE1490" ,context);
            } else {
              controller.addToResultDocumentPool(documentKey, doc);
                //controller.addUnavailableOutputDestination(documentKey);
            }
View Full Code Here

Examples of net.sf.saxon.Controller.checkUniqueOutputDestination()

            err.setLocator(this);
            err.setErrorCode("XTRE1500");
            throw err;
        }

        if (!controller.checkUniqueOutputDestination(result.getSystemId())) {
            XPathException err = new XPathException("Cannot write more than one result document to the same URI: " +
                    result.getSystemId());
            err.setXPathContext(context);
            err.setLocator(this);
            err.setErrorCode("XTDE1490");
View Full Code Here

Examples of net.sf.saxon.Controller.checkUniqueOutputDestination()

            } catch (TransformerException e) {
                throw XPathException.makeXPathException(e);
            }
        }

        if (!controller.checkUniqueOutputDestination(result.getSystemId())) {
            XPathException err = new XPathException("Cannot write more than one result document to the same URI, or write to a URI that has been read: " +
                    result.getSystemId());
            err.setXPathContext(context);
            err.setErrorCode("XTDE1490");
            throw err;
View Full Code Here

Examples of org.pdf4j.saxon.Controller.checkUniqueOutputDestination()

            err.setXPathContext(context);
            err.setErrorCode("XTRE1500");
            throw err;
        }

        if (!controller.checkUniqueOutputDestination(result.getSystemId())) {
            XPathException err = new XPathException("Cannot write more than one result document to the same URI: " +
                    result.getSystemId());
            err.setXPathContext(context);
            err.setErrorCode("XTDE1490");
            throw err;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.