TransformFromFile fails to create output file
The following snippet of C++ code which uses transformFromFile fails to create output file:
SaxonProcessor* processor = new SaxonProcessor(false); processor->setcwd( Current Working Directory ); Xslt30Processor* xslt = processor->newXslt30Processor(); XdmNode* xmlfile = processor->parseXmlFromFile( Some Xml File ); XsltExecutable* xslte = xslt->compileFromFile(Some Xsl File); xslte->setOutputFile(Output File); xslte->transformToFile(xmlfile);
Updated by O'Neil Delpratt over 1 year ago
- Status changed from New to In Progress
Bug issue found in the
transformToFile method of the class net.sf.saxon.option.cpp.Xslt30Processor. We fail to correctly execute the transform if the supplied source is an XdmNode value as opposed to a file source.
Please register to edit this issue