public String getSystemId() { return reciever.getSystemId(); }
public String getSystemId() { return reciever.getSystemId(); }
public String getSystemId() { return reciever.getSystemId(); }
/** * Takes a Receiver that expects raw output (such as might be obtained from {@link Destination#getReceiver}) * and prepends a pipeline of receivers needed to support transformation tasks, especially a * {@link ComplexContentOutputter}. * @param out a receiver expecting raw output * @return a receiver to which instructions in the stylesheet can write events. This receiver will have * been opened. * @throws XPathException if any failure occurs */ private Receiver prepareOutputReceiver(Receiver out) throws XPathException { principalResult = out; if (principalResultURI == null) { principalResultURI = out.getSystemId(); } //out = new RegularSequenceChecker(out); // uncomment for debugging //out = new TracingFilter(out); // uncomment for debugging NamespaceReducer nr = new NamespaceReducer(out); ComplexContentOutputter cco = new ComplexContentOutputter(nr); cco.setSystemId(out.getSystemId()); out = cco; if (getExecutable().createsSecondaryResult()) { // This is for the case where the stylesheet writes no output to the primary destination, // and then calls xsl:result-document with a null or empty href, in which case the xsl:result-document // output is sent to the primary output destination, but with different serialization properties. out = this.gatekeeper = new PrincipalOutputGatekeeper(this, out); } out.open(); return out; }
/** * Takes a Receiver that expects raw output (such as might be obtained from {@link Destination#getReceiver}) * and prepends a pipeline of receivers needed to support transformation tasks, especially a * {@link ComplexContentOutputter}. * @param out a receiver expecting raw output * @return a receiver to which instructions in the stylesheet can write events. This receiver will have * been opened. * @throws XPathException if any failure occurs */ private Receiver prepareOutputReceiver(Receiver out) throws XPathException { principalResult = out; if (principalResultURI == null) { principalResultURI = out.getSystemId(); } //out = new RegularSequenceChecker(out); // uncomment for debugging //out = new TracingFilter(out); // uncomment for debugging NamespaceReducer nr = new NamespaceReducer(out); ComplexContentOutputter cco = new ComplexContentOutputter(nr); cco.setSystemId(out.getSystemId()); out = cco; if (getExecutable().createsSecondaryResult()) { // This is for the case where the stylesheet writes no output to the primary destination, // and then calls xsl:result-document with a null or empty href, in which case the xsl:result-document // output is sent to the primary output destination, but with different serialization properties. out = this.gatekeeper = new PrincipalOutputGatekeeper(this, out); } out.open(); return out; }
String systemId = receiver.getSystemId(); boolean validate = options != null && options.getSchemaValidationMode() != Validation.PRESERVE; ne.setSystemId(receiver.getSystemId()); receiver = ne;
String systemId = receiver.getSystemId(); boolean validate = options != null && options.getSchemaValidationMode() != Validation.PRESERVE; ne.setSystemId(receiver.getSystemId()); receiver = ne;
public void addStartElement(NodeName elemName, SchemaType typeCode, NamespaceBinding nscodes[]) { Location loc; String sysId = receiver.getSystemId(); if (sysId == null) { loc = VoidLocation.instance(); } else { loc = new SysIdLocation(sysId); } try { receiver.startElement(elemName, typeCode, loc, 0); if (nscodes != null) { for (NamespaceBinding ns : nscodes) { receiver.namespace(ns, 0); } } } catch (XPathException e) { throw new XProcException(e); } }
String systemId = out.getSystemId(); if (systemId == null) { systemId = ResolveURI.makeAbsolute(hrefValue, base).toASCIIString();
String systemId = out.getSystemId(); if (systemId == null) { systemId = ResolveURI.makeAbsolute(hrefValue, base).toASCIIString();
public void addStartElement(NodeName elemName, SchemaType typeCode, NamespaceBinding nscodes[], int lineNumber) { Location loc; String sysId = receiver.getSystemId(); if (sysId == null) { loc = VoidLocation.instance(); } else if (lineNumber == -1) { loc = new SysIdLocation(sysId); } else { loc = new LineNumberLocation(sysId, lineNumber); } try { receiver.startElement(elemName, typeCode, loc, 0); if (nscodes != null) { for (NamespaceBinding ns : nscodes) { receiver.namespace(ns, 0); } } } catch (XPathException e) { throw new XProcException(e); } }
switch (node.getNodeKind()) { case Type.DOCUMENT: { if (out.getSystemId() == null) { out.setSystemId(node.getBaseURI()); if (out.getSystemId() == null) { out.setSystemId(node.getBaseURI());
if (target.getSystemId() == null && getDestinationBaseURI() != null) { target.setSystemId(getDestinationBaseURI().toASCIIString());
ne, receiver.getSystemId(), validation, Whitespace.NONE, schemaType, -1);
if (target.getSystemId() == null && getDestinationBaseURI() != null) { target.setSystemId(getDestinationBaseURI().toASCIIString());
nr, output.getSystemId(), validationOptions, getLocation()); String systemId = out.getSystemId();
nr, output.getSystemId(), validationOptions, getLocation()); String systemId = out.getSystemId();
if (elemOut.getSystemId() == null) { elemOut.setSystemId(getNewBaseURI(c2));
if (elemOut.getSystemId() == null) { elemOut.setSystemId(getNewBaseURI(c2));
if (elemOut.getSystemId() == null) { elemOut.setSystemId(getNewBaseURI(context, copiedNode));