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...
Aksoyn asked 26/6, 2023 at 10:20

7

Solved

I have the following code: javax.xml.transform.TransformerFactory factory = TransformerFactory.newInstance(); factory.setAttribute(XMLConstants.ACCESS_EXTERNAL_DTD, ""); javax.xml.transform.Transf...
Taxation asked 17/7, 2017 at 20:2

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 ...
Khz asked 24/4, 2018 at 11:39

2

Solved

With the following code: private Document transformDoc(Source source) throws TransformerException, IOException { TransformerFactory factory = TransformerFactory.newInstance(); factory.setFeature...
Gelation asked 23/3, 2010 at 16:44

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...
Agretha asked 24/9, 2010 at 16:24

2

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...
Cangue asked 28/4, 2015 at 15:50

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...
Panegyrize asked 10/4, 2018 at 9:39

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

Assume we have this simple xml ... <books> <book> <author/> <title/> </book> <book> <author/> <title/> </book> </books> I'm...
Haplo asked 8/11, 2011 at 23:3

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...
Dupe asked 27/2, 2014 at 21:58

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...
Combat asked 9/5, 2013 at 5:50

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

I use Xalan in my application, but need to use Saxon with a reference implementation to generate test output to compare with. I want to use them both during unit tests. However, as soon as I add an...
Steelworker asked 27/6, 2012 at 11:8

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...
Kinny asked 14/5, 2012 at 7:48

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...
Binnings asked 5/9, 2010 at 8:44

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...
Pice asked 23/11, 2011 at 10:12

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...
Matilda asked 10/5, 2011 at 7:33

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...
Holotype asked 7/7, 2010 at 6:30

© 2022 - 2024 — McMap. All rights reserved.