Questions tagged [xalan]

Xalan is an open source XSLT 1.0 processor with implementations in Java and C++.

Xalan is an open source XSLT 1.0 processor with implementations in Java and C++.

409 questions
0
votes
1 answer

Xalan Java extensions 'Cannot find class' error on JRE 7

I am running into a 'Cannot find class 'pkg.XSLTFunctions'. error on JRE 7 leading to a failures in compiling an XSL using Xalan. This worked perfectly in JRE 6. Here are some specifics of my application. The application is a Win32 native EXE that…
Ranjit Iyer
  • 857
  • 1
  • 11
  • 20
0
votes
1 answer

xalan validation java.lang.NoSuchMethodException: For extension function

I try to validate data in my page.
Ray
  • 1,788
  • 7
  • 55
  • 92
0
votes
1 answer

Schemalocations not copied in XSLT with Xalan Pipeline extension

i got xml files with "xsi:schemaLocation="location1 location2 ..." and alot of "xmlns:someNs". While the namespaces will e copied into the new document the schemaLocations are not and i realy can't figure out why they are deleted (all namesspaces…
Dennis Ich
  • 3,585
  • 6
  • 27
  • 44
0
votes
0 answers

switching from Xalan to Saxon

Getting error while saxon parser parsing saxon:evaluate function. This exception I am getting: XPST0003: Static error in XPath expression supplied to saxon:evaluate: Unexpected token "" in path expression net.sf.saxon.trans.XPathException:…
Java_Alert
  • 1,159
  • 6
  • 24
  • 50
0
votes
1 answer

XML transformation with XSL

I want to transfer XML file to other XML with XSLT. I want to do transformation because XML file isn't pure tree-structured document. Here's my file before:
bontade
  • 3,194
  • 6
  • 48
  • 75
0
votes
1 answer

Error while cross-compiling Xalan using mingw32

I am attempting to cross-compile Xalan for Windows using mingw32 on a Linux build host. I did this a year or so ago on Debian Lenny without too much trouble (just minor tweaks to the Makefile, and a native copy of MsgCreator), but trying to do it…
Bill B
  • 1,280
  • 13
  • 16
0
votes
1 answer

XML parsing function is taking minutes to try to parse a document and then throwing an exception, can it be sped up?

I am unfortunately having to pass Xalan an XML document to try to parse that I can not guarantee is an XML document. In one case, the user has entered in a HTML document instead. This causes XalanDefaultParsedSource::create(...) to spend a minute in…
Rhubarb
  • 3,893
  • 6
  • 41
  • 55
0
votes
1 answer

Text node content escaped by Xalan extension

I have a Xalan Java extension which returns a DocumentFragment. In my XSLT, I invoke it with something like: The problem is that where the document fragment contains a text node containing an…
JasonPlutext
  • 15,352
  • 4
  • 44
  • 84
0
votes
2 answers

Applying a xalan java transformation to an axis2 object?

I am tying to get the open source OWL-S API http://on.cs.unibas.ch/owls-api/ to use axis2. I have managed to get the requests sent correctly but when it comes to the response I am having trouble applying a transformation to it. In order to make my…
m1416
  • 1,049
  • 12
  • 22
-1
votes
2 answers
-1
votes
1 answer

getting RuntimeException while doing xsl transformation with java

I have the below java class in which i am using xstream rite now as you can see that in the below java class i am generating xml from the object later on i am doing xsl transformation by applying xslt on the generated xml in which i am getting error…
ndsfd ddsfd
  • 235
  • 1
  • 5
  • 13
-1
votes
2 answers

getting exception while doing xslt transformation through java

I have the below java class in which i am using xstream rite now as you can see that in the below java class i am generating xml from the object InvoiceReferenceNotificationMessage invoiceReferenceNotificationMessage = new…
ndsfd ddsfd
  • 235
  • 1
  • 5
  • 13
-1
votes
1 answer

Xpath to get nodes with distinct values(removing trailing and leading spaces)

I have an XML document in which I am trying to select nodes having distinct values with leading and trailing spaces removed. I am using following Xpath and it is working: ROW[COUNTRY[not(text() = following::ROW/COUNTRY[text()])]] But when I am…
Abhishekh Gupta
  • 6,206
  • 4
  • 18
  • 46
-1
votes
1 answer

XSL tracking'blind-spots' by line number in muti-pass xslt

A previous similar-looking question to mine is: "tracing-source-elements-through-multiple-xsl-transforms", but I'm seeking a way to trace xsl/xml file line numbers for failed/successful compiles and the like. I have multiple passes restricted by…
MKhomo
  • 179
  • 1
  • 10
-2
votes
1 answer

getting error in xslt transformation through java

I am trying to an xsl transformation that right now by a java object I am generating an intermediary XML and that XML is again passed to generate a new XML finally right now while in xsl transformation I am getting the error, let me show you below…
ndsfd ddsfd
  • 235
  • 1
  • 5
  • 13
1 2 3
27
28