xalan Questions
1
I have java code that exports some data into an excel file. ( I only included below what I think are the relevant parts in the code)
Everything worked fine but then I upgraded my xalan from 2.7.2 t...
7
Solved
I have the following code:
javax.xml.transform.TransformerFactory factory = TransformerFactory.newInstance();
factory.setAttribute(XMLConstants.ACCESS_EXTERNAL_DTD, "");
javax.xml.transform.Transf...
2
Solved
I have some code like:
XMLInputFactory xif = XMLInputFactory.newInstance()
TransformerFactory tf = TransformerFactory.newInstance("org.apache.xalan.processor.TransformerFactoryImpl", null)
Transf...
Alburg asked 29/5, 2013 at 12:6
3
I have the following code:
final TransformerFactory factory = TransformerFactory.newInstance();
factory.setAttribute(XMLConstants.ACCESS_EXTERNAL_DTD, "");
The second line works fine in modern ...
2
Solved
With the following code:
private Document transformDoc(Source source) throws TransformerException, IOException {
TransformerFactory factory = TransformerFactory.newInstance();
factory.setFeature...
6
Trying to retrieve the SOAP body from a SOAP response, but getting this error:
NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespace...
Straw asked 27/10, 2010 at 19:53
5
Solved
I'm using xalan with the following xsl header:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns:redirect="http://xml.apache.org/xalan/redirect"
extension-...
Epilogue asked 8/3, 2010 at 15:5
5
Solved
I tried to pass a w3c.dom.Document, Element and NodeList as parameters to a xslt transform.
I want to be able to process it within the xslt:
<xsl:param name="links" />
<xsl:template mat...
2
Does setting FEATURE_SECURE_PROCESSING in transformerFactory update other security features as well?
In jdk1.6, while I am setting
transformerFactory.setFeature(XMLConstants.ACCESS_EXTERNAL_DTD, false)
I am facing the following error:
javax.xml.transform.TransformerConfigurationException: C...
4
Solved
Consider this code (based entirely on flying saucer's "getting started" code, their rights reserved):
package flyingsaucerpdf;
import java.io.File;
import java.io.FileOutputStream;
import java.io....
Jamisonjammal asked 27/3, 2011 at 6:31
2
It is year 2018. What is the state of the Xerces2 XML parser and Xalan XSLT processor libraries for Java? Their last releases appear to be 2.11.0 in 2013 and 2.7.2 in 2014 respectively.
Are they...
5
Solved
Yesterday Oracle decided to take down java.sun.com for a while. This screwed things up for me because xalan tried to validate some XML but couldn't retrieve the properties.dtd.
I'm using xalan 2.7...
Leann asked 30/6, 2011 at 17:59
3
Solved
Is the class org.apache.xalan.processor.TransformerFactoryImpl thread safe? Or do I have to a keep local copy for each thread?
Dry asked 4/4, 2011 at 5:14
3
Solved
2
I have had EXSLT's core date functions working well in some XSL templates I've been using for years. I'd like to start using a new one: seconds. This function is not one of the "core" functions and...
3
Solved
I am currently using Xalan 2.7.0 for XSLT transformations over XML, but thinking over to switch to Saxon 9 version for XSLT transformations. So could someone list me the major cons and prons of usi...
3
Solved
I'm using Apache Xerces 2.11.0 and Apache Xalan 2.7.1 and I'm having problems with additional carriage return characters in the serialized XML.
I have this (pseudo) code:
String myString = ...;
D...
Perfect asked 11/6, 2011 at 16:59
2
Solved
1
docx4j uses Xalan to convert docx to HTML, and relies heavily on Xalan Java extensions to do the work.
But Xalan extensions don't work for me on Android (working with 4.0.3). LogCat says:
05-14 1...
4
Solved
I am using Xalan 2.7.0 (as bundled with Apache FOP 1.0) and have problems when using string functions.
The line <xsl:value-of select="fn:replace('test', 't', '*')"/> results in this exceptio...
2
Solved
My junit tests run via ant 1.7 from within my Eclipse environment but the build failes when the junitreport task is performed:
BUILD FAILED
.../build.xml:222: Errors while applying transformati...
4
Solved
I'm frequently running into performance issues when I XSL transform large amounts of data into HTML. This data is usually just a couple of very large tables of roughly this form:
<table>
&l...
Bresnahan asked 10/11, 2011 at 9:5
3
Solved
Where can I find performance metrics (memory/time) for a non-trivial example of using XSLT (with Xalan) compared to using STX (with Joost)
Atlante asked 21/1, 2009 at 11:53
2
Solved
UPDATE 17.Jul.2013:
XALAN 2.7 does not cache document() calls within a request. So it is crucial to store each needed document in a variable in the XSL.
I have searched for quite a while and did...
2
i want to transform a XML by XSLT with XALAN. Now i want to use a extension-function, this function have to be added in JAVA source like in SAXON:
Method:
TransformerFactory tFactory = Transforme...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.