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
7
votes
2 answers

Java/XSLT: Cannot find a matching 1-argument function

I get the following error: javax.servlet.ServletException: Cannot find a matching 1-argument function named {http://exslt.org/dynamic}evaluate() at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841) at…
Jack
6
votes
2 answers

Ant fail because of Xalan's (XSLT) secure processing feature

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 transformations: javax.xml.transform.TransformerException:…
Almer
  • 1,139
  • 1
  • 12
  • 14
6
votes
3 answers

Get first child node in XSLT using local-name()

Assume we have this simple xml ... </book> <book> <author/> <title/> </book> </books> I'm using this xpath to get the elements of the first book…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/xml" class="post-tag grid--cell" title="show questions tagged 'xml'" rel="tag">xml</a> <a href="../../questions/tagged/xslt" class="post-tag grid--cell" title="show questions tagged 'xslt'" rel="tag">xslt</a> <a href="../../questions/tagged/xpath" class="post-tag grid--cell" title="show questions tagged 'xpath'" rel="tag">xpath</a> <a href="../../questions/tagged/xslt-1.0" class="post-tag grid--cell" title="show questions tagged 'xslt-1.0'" rel="tag">xslt-1.0</a> <a href="../../questions/tagged/xalan" class="post-tag grid--cell" title="show questions tagged 'xalan'" rel="tag">xalan</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Nov 08 '11 at 23:03">asked Nov 08 '11 at 23:03</time> <a href="../../users/791406/raffian" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/791406.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="raffian" /> </a> <div class="s-user-card--info"> <a href="../../users/791406/raffian" class="s-user-card--link">raffian</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">31,267</li> <li class="s-award-bling s-award-bling__gold" title="26 gold badges">26</li> <li class="s-award-bling s-award-bling__silver" title="103 silver badges">103</li> <li class="s-award-bling s-award-bling__bronze" title="174 bronze badges">174</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-6539051"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>6</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>5</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/6539051/how-can-i-tell-xalan-not-to-validate-xml-retrieved-using-the-document-function" class="question-hyperlink">how can I tell xalan NOT to validate XML retrieved using the "document" function?</a></h3> <div class="excerpt">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.1 to run some XSL transforms, and I don't want it to…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/xml" class="post-tag grid--cell" title="show questions tagged 'xml'" rel="tag">xml</a> <a href="../../questions/tagged/validation" class="post-tag grid--cell" title="show questions tagged 'validation'" rel="tag">validation</a> <a href="../../questions/tagged/xalan" class="post-tag grid--cell" title="show questions tagged 'xalan'" rel="tag">xalan</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jun 30 '11 at 17:59">asked Jun 30 '11 at 17:59</time> <a href="../../users/104887/nont" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/104887.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="nont" /> </a> <div class="s-user-card--info"> <a href="../../users/104887/nont" class="s-user-card--link">nont</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">9,322</li> <li class="s-award-bling s-award-bling__gold" title="7 gold badges">7</li> <li class="s-award-bling s-award-bling__silver" title="62 silver badges">62</li> <li class="s-award-bling s-award-bling__bronze" title="82 bronze badges">82</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-464979"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>6</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>3</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/464979/xslt-with-xalan-vs-stx-with-joost" class="question-hyperlink">XSLT with Xalan vs. STX with Joost</a></h3> <div class="excerpt">Where can I find performance metrics (memory/time) for a non-trivial example of using XSLT (with Xalan) compared to using STX (with Joost) </div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/performance" class="post-tag grid--cell" title="show questions tagged 'performance'" rel="tag">performance</a> <a href="../../questions/tagged/xslt" class="post-tag grid--cell" title="show questions tagged 'xslt'" rel="tag">xslt</a> <a href="../../questions/tagged/xalan" class="post-tag grid--cell" title="show questions tagged 'xalan'" rel="tag">xalan</a> <a href="../../questions/tagged/stx" class="post-tag grid--cell" title="show questions tagged 'stx'" rel="tag">stx</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jan 21 '09 at 11:53">asked Jan 21 '09 at 11:53</time> <a href="../../users/15452/vihung" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/15452.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Vihung" /> </a> <div class="s-user-card--info"> <a href="../../users/15452/vihung" class="s-user-card--link">Vihung</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">12,947</li> <li class="s-award-bling s-award-bling__gold" title="16 gold badges">16</li> <li class="s-award-bling s-award-bling__silver" title="64 silver badges">64</li> <li class="s-award-bling s-award-bling__bronze" title="90 bronze badges">90</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-2501823"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>6</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/2501823/abstractmethoderror-on-org-apache-xalan-processor-transformerfactoryimpl" class="question-hyperlink">AbstractMethodError on org.apache.xalan.processor.TransformerFactoryImpl</a></h3> <div class="excerpt">With the following code: private Document transformDoc(Source source) throws TransformerException, IOException { TransformerFactory factory = TransformerFactory.newInstance(); …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/xslt" class="post-tag grid--cell" title="show questions tagged 'xslt'" rel="tag">xslt</a> <a href="../../questions/tagged/xalan" class="post-tag grid--cell" title="show questions tagged 'xalan'" rel="tag">xalan</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Mar 23 '10 at 16:44">asked Mar 23 '10 at 16:44</time> <a href="../../users/113332/jon-bristow" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/113332.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Jon Bristow" /> </a> <div class="s-user-card--info"> <a href="../../users/113332/jon-bristow" class="s-user-card--link">Jon Bristow</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,675</li> <li class="s-award-bling s-award-bling__gold" title="3 gold badges">3</li> <li class="s-award-bling s-award-bling__silver" title="27 silver badges">27</li> <li class="s-award-bling s-award-bling__bronze" title="42 bronze badges">42</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-10579339"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>6</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/10579339/is-it-possible-to-call-a-java-extension-function-from-xalan-on-android" class="question-hyperlink">Is it possible to call a Java extension function from Xalan on Android?</a></h3> <div class="excerpt">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 15:38:02.840: I/dalvikvm(7249): DexOpt: illegal method…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/android" class="post-tag grid--cell" title="show questions tagged 'android'" rel="tag">android</a> <a href="../../questions/tagged/xslt" class="post-tag grid--cell" title="show questions tagged 'xslt'" rel="tag">xslt</a> <a href="../../questions/tagged/dalvik" class="post-tag grid--cell" title="show questions tagged 'dalvik'" rel="tag">dalvik</a> <a href="../../questions/tagged/xalan" class="post-tag grid--cell" title="show questions tagged 'xalan'" rel="tag">xalan</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 14 '12 at 07:48">asked May 14 '12 at 07:48</time> <a href="../../users/1031689/jasonplutext" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1031689.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="JasonPlutext" /> </a> <div class="s-user-card--info"> <a href="../../users/1031689/jasonplutext" class="s-user-card--link">JasonPlutext</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">15,352</li> <li class="s-award-bling s-award-bling__gold" title="4 gold badges">4</li> <li class="s-award-bling s-award-bling__silver" title="44 silver badges">44</li> <li class="s-award-bling s-award-bling__bronze" title="84 bronze badges">84</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-9071692"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>5</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/9071692/xalan-xslt-out-of-memory-heap-space" class="question-hyperlink">Xalan XSLT - Out of Memory Heap Space</a></h3> <div class="excerpt">My project has a reporting module that gathers data from the database in the form of XML and runs an XSLT on it to generate the user's desired format of report. Options at this point are HTML and CSV. We use Java and Xalan to do all interaction with…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/xslt" class="post-tag grid--cell" title="show questions tagged 'xslt'" rel="tag">xslt</a> <a href="../../questions/tagged/heap-memory" class="post-tag grid--cell" title="show questions tagged 'heap-memory'" rel="tag">heap-memory</a> <a href="../../questions/tagged/xalan" class="post-tag grid--cell" title="show questions tagged 'xalan'" rel="tag">xalan</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jan 30 '12 at 22:21">asked Jan 30 '12 at 22:21</time> <a href="../../users/493807/andy" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/493807.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Andy" /> </a> <div class="s-user-card--info"> <a href="../../users/493807/andy" class="s-user-card--link">Andy</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">8,749</li> <li class="s-award-bling s-award-bling__gold" title="5 gold badges">5</li> <li class="s-award-bling s-award-bling__silver" title="34 silver badges">34</li> <li class="s-award-bling s-award-bling__bronze" title="59 bronze badges">59</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-8077106"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>5</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>4</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/8077106/how-to-avoid-o-n-2-complexity-when-grouping-records-in-xslt" class="question-hyperlink">How to avoid O(n^2) complexity when grouping records in XSLT?</a></h3> <div class="excerpt">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> <record> <group>1</group> <data>abc</abc> …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/performance" class="post-tag grid--cell" title="show questions tagged 'performance'" rel="tag">performance</a> <a href="../../questions/tagged/xslt" class="post-tag grid--cell" title="show questions tagged 'xslt'" rel="tag">xslt</a> <a href="../../questions/tagged/xerces" class="post-tag grid--cell" title="show questions tagged 'xerces'" rel="tag">xerces</a> <a href="../../questions/tagged/xalan" class="post-tag grid--cell" title="show questions tagged 'xalan'" rel="tag">xalan</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Nov 10 '11 at 09:05">asked Nov 10 '11 at 09:05</time> <a href="../../users/521799/lukas-eder" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/521799.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Lukas Eder" /> </a> <div class="s-user-card--info"> <a href="../../users/521799/lukas-eder" class="s-user-card--link">Lukas Eder</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">211,314</li> <li class="s-award-bling s-award-bling__gold" title="129 gold badges">129</li> <li class="s-award-bling s-award-bling__silver" title="689 silver badges">689</li> <li class="s-award-bling s-award-bling__bronze" title="1,509 bronze badges">1,509</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-6357091"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>5</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>3</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/6357091/jaxp-xslt-document-function-problem" class="question-hyperlink">JAXP XSLT document() function problem</a></h3> <div class="excerpt">I am working under java application which uses XSLT transformation. I have a lot of document() calls in it, so it is possible to have java.lang.OutOfMemory exception (which I actually have), because after each call of document() function the…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/xml" class="post-tag grid--cell" title="show questions tagged 'xml'" rel="tag">xml</a> <a href="../../questions/tagged/xslt" class="post-tag grid--cell" title="show questions tagged 'xslt'" rel="tag">xslt</a> <a href="../../questions/tagged/xalan" class="post-tag grid--cell" title="show questions tagged 'xalan'" rel="tag">xalan</a> <a href="../../questions/tagged/jaxp" class="post-tag grid--cell" title="show questions tagged 'jaxp'" rel="tag">jaxp</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jun 15 '11 at 11:35">asked Jun 15 '11 at 11:35</time> <a href="../../users/197953/deephace" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/197953.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="deephace" /> </a> <div class="s-user-card--info"> <a href="../../users/197953/deephace" class="s-user-card--link">deephace</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">324</li> <li class="s-award-bling s-award-bling__silver" title="3 silver badges">3</li> <li class="s-award-bling s-award-bling__bronze" title="15 bronze badges">15</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-53629927"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>5</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/53629927/how-to-set-javax-xml-transform-transformerfactory-system-property" class="question-hyperlink">How to set javax.xml.transform.TransformerFactory system property</a></h3> <div class="excerpt">I am using javax.xml.transform.Transform to convert an XML file to a PDF. This works fine on its own, but some part of the project is using Xalan, which implements its own TransformerFactory, and something in there doesn't work with Cyrillic. I have…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/xslt-1.0" class="post-tag grid--cell" title="show questions tagged 'xslt-1.0'" rel="tag">xslt-1.0</a> <a href="../../questions/tagged/xsl-fo" class="post-tag grid--cell" title="show questions tagged 'xsl-fo'" rel="tag">xsl-fo</a> <a href="../../questions/tagged/xalan" class="post-tag grid--cell" title="show questions tagged 'xalan'" rel="tag">xalan</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Dec 05 '18 at 10:16">asked Dec 05 '18 at 10:16</time> <a href="../../users/9737838/martin-fouks" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/9737838.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Martin Fouks" /> </a> <div class="s-user-card--info"> <a href="../../users/9737838/martin-fouks" class="s-user-card--link">Martin Fouks</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">67</li> <li class="s-award-bling s-award-bling__silver" title="1 silver badges">1</li> <li class="s-award-bling s-award-bling__bronze" title="8 bronze badges">8</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-3645507"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>5</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>4</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/3645507/string-functions-missing-in-xalan-2-7-java-lang-string-used-instead" class="question-hyperlink">String functions missing in Xalan 2.7, java.lang.String used instead?</a></h3> <div class="excerpt">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 exception: javax.xml.transform.TransformerException:…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/function" class="post-tag grid--cell" title="show questions tagged 'function'" rel="tag">function</a> <a href="../../questions/tagged/xpath" class="post-tag grid--cell" title="show questions tagged 'xpath'" rel="tag">xpath</a> <a href="../../questions/tagged/xalan" class="post-tag grid--cell" title="show questions tagged 'xalan'" rel="tag">xalan</a> <a href="../../questions/tagged/xslt" class="post-tag grid--cell" title="show questions tagged 'xslt'" rel="tag">xslt</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Sep 05 '10 at 08:44">asked Sep 05 '10 at 08:44</time> <a href="../../users/7641/jens-bannmann" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/7641.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Jens Bannmann" /> </a> <div class="s-user-card--info"> <a href="../../users/7641/jens-bannmann" class="s-user-card--link">Jens Bannmann</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">4,845</li> <li class="s-award-bling s-award-bling__gold" title="5 gold badges">5</li> <li class="s-award-bling s-award-bling__silver" title="49 silver badges">49</li> <li class="s-award-bling s-award-bling__bronze" title="76 bronze badges">76</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-25273763"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>5</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/25273763/execute-xslt-with-xalan-in-secure-mode-to-create-xhtml-throws-transformerconfi" class="question-hyperlink">Execute XSLT with Xalan in secure mode to create XHTML throws TransformerConfigurationException on creating attributes</a></h3> <div class="excerpt">I'm trying to use the updated version of Xalan (2.7.2) in secure mode and Having issue with it not able to understand unknown attributes. The problem is, it prevents you from using any stylesheet that emits XHTML (in secure processing mode) because…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/xslt" class="post-tag grid--cell" title="show questions tagged 'xslt'" rel="tag">xslt</a> <a href="../../questions/tagged/xalan" class="post-tag grid--cell" title="show questions tagged 'xalan'" rel="tag">xalan</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Aug 12 '14 at 20:46">asked Aug 12 '14 at 20:46</time> <a href="../../users/1108370/kazvictor" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1108370.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="kazvictor" /> </a> <div class="s-user-card--info"> <a href="../../users/1108370/kazvictor" class="s-user-card--link">kazvictor</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">329</li> <li class="s-award-bling s-award-bling__silver" title="1 silver badges">1</li> <li class="s-award-bling s-award-bling__bronze" title="13 bronze badges">13</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-2502581"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>5</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/2502581/java-io-ioexception-server-returned-http-response-code-503-for-url-http-www-w3" class="question-hyperlink">java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a></h3> <div class="excerpt">In the following code: private Document transformDoc(Source source) throws TransformerException, IOException { TransformerFactory factory = TransformerFactory.newInstance(); Transformer transformer = factory.newTransformer(new…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/xhtml" class="post-tag grid--cell" title="show questions tagged 'xhtml'" rel="tag">xhtml</a> <a href="../../questions/tagged/xslt" class="post-tag grid--cell" title="show questions tagged 'xslt'" rel="tag">xslt</a> <a href="../../questions/tagged/xalan" class="post-tag grid--cell" title="show questions tagged 'xalan'" rel="tag">xalan</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Mar 23 '10 at 18:27">asked Mar 23 '10 at 18:27</time> <a href="../../users/113332/jon-bristow" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/113332.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Jon Bristow" /> </a> <div class="s-user-card--info"> <a href="../../users/113332/jon-bristow" class="s-user-card--link">Jon Bristow</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,675</li> <li class="s-award-bling s-award-bling__gold" title="3 gold badges">3</li> <li class="s-award-bling s-award-bling__silver" title="27 silver badges">27</li> <li class="s-award-bling s-award-bling__bronze" title="42 bronze badges">42</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-18076417"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>5</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/18076417/xsl-key-not-working-when-looping-through-nodeset-obtained-with-xalan-nodeset" class="question-hyperlink">xsl:key not working when looping through nodeset obtained with xalan:nodeset</a></h3> <div class="excerpt">I have found a case where xsl:key seems not to be working. I am using XSLT 1 with Xalan (compiled) and this is what is happening: 1.- This works: key named test1 works fine: <xsl:variable name="promosRTF"> <xsl:copy-of…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/xslt" class="post-tag grid--cell" title="show questions tagged 'xslt'" rel="tag">xslt</a> <a href="../../questions/tagged/xslt-1.0" class="post-tag grid--cell" title="show questions tagged 'xslt-1.0'" rel="tag">xslt-1.0</a> <a href="../../questions/tagged/xalan" class="post-tag grid--cell" title="show questions tagged 'xalan'" rel="tag">xalan</a> <a href="../../questions/tagged/xslkey" class="post-tag grid--cell" title="show questions tagged 'xslkey'" rel="tag">xslkey</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Aug 06 '13 at 09:28">asked Aug 06 '13 at 09:28</time> <a href="../../users/1401341/fernando" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1401341.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Fernando" /> </a> <div class="s-user-card--info"> <a href="../../users/1401341/fernando" class="s-user-card--link">Fernando</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,013</li> <li class="s-award-bling s-award-bling__gold" title="2 gold badges">2</li> <li class="s-award-bling s-award-bling__silver" title="10 silver badges">10</li> <li class="s-award-bling s-award-bling__bronze" title="23 bronze badges">23</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/xalan_page=1" rel="prev" title="Go to page 1">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/xalan_page=1" rel="" title="Go to page 1">1</a> <div class="s-pagination--item is-selected">2</div> <a class="s-pagination--item" href="../../questions/tagged/xalan_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <a class="s-pagination--item" href="../../questions/tagged/xalan_page=27" rel="" title="Go to page 27">27</a> <a class="s-pagination--item" href="../../questions/tagged/xalan_page=28" rel="" title="Go to page 28">28</a> <a class="s-pagination--item" href="../../questions/tagged/xalan_page=3" rel="next" title="Go to page 3"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>