Changes for page Engine_XalanJ

Last modified by Nicolas Gregoire on 2012/01/31 17:35

From version Icon 33.1 Icon
edited by Nicolas Gregoire
on 2012/01/11 22:54
Change comment: There is no comment for this version
To version Icon 35.1 Icon
edited by Nicolas Gregoire
on 2012/01/11 23:21
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Content
... ... @@ -25,6 +25,13 @@
25 25  * Java properties disclosure
26 26  * Java environment disclosure
27 27  
28 +== Java properties disclosure ==
29 +
30 +The xsl:system-property() standard function can be called with non standard arguments, mapped to Java properties.
31 +
32 +|=Namespace|=Extension function|=PoC|=Sample output
33 +|http:~/~/xml.apache.org/xalan|checkEnvironment()|[[xalanj-checkenv.xsl>>attach:xalanj-checkenv.xsl]]|[[xalanj-checkenv-output.txt>>attach:xalanj-checkenv-output.txt]]
34 +
28 28  == Java environment disclosure ==
29 29  
30 30  The checkEnvironment() extension function (documented [[here>>http://xml.apache.org/xalan-j/faq.html#faq-N10064||rel="__blank"]]) will display some information about the execution context (packages, paths, versions, ...).
... ... @@ -38,9 +38,9 @@
38 38  
39 39  
40 40  |=Namespace|=Extension function|=PoC|=Sample output
41 -|http:~/~/xml.apache.org/xalan/java/java.util.Date|new|[[xalanj-java-date.xsl>>attach:xalanj-java-date.xsl]]|Current date: Wed Jan 11 22:45:07 CET 2012
48 +|http:~/~/xml.apache.org/xalan/java/java.util.Date|new()|[[xalanj-java-date.xsl>>attach:xalanj-java-date.xsl]]|Current date:
49 +Wed Jan 11 22:45:07 CET 2012
42 42  
43 -
44 44  == Execution of external commands ==
45 45  
46 46  The following code will execute the command "touch /tmp/hello" :