tag:blogger.com,1999:blog-5951025555891494293.post8085513403499053971..comments2024-03-18T07:25:21.486+02:00Comments on random bits of computer info: command line XSLT 2.0Aleksandar Kostadinovhttp://www.blogger.com/profile/07448621230581407193noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-5951025555891494293.post-72057005506214172632016-05-10T15:13:56.112+03:002016-05-10T15:13:56.112+03:00It's a long time but FYI, here's a bug abo...It's a long time but FYI, here's a bug about the style issue:<br />https://bugzilla.redhat.com/show_bug.cgi?id=1327649Aleksandar Kostadinovhttps://www.blogger.com/profile/07448621230581407193noreply@blogger.comtag:blogger.com,1999:blog-5951025555891494293.post-74377208989022561022014-08-04T23:27:01.332+03:002014-08-04T23:27:01.332+03:00Finally I updated to jaxon. That solved my problem...Finally I updated to jaxon. That solved my problems. I included the test files to the most recent version of my github repository.<br />The drawback of my solution is that it requires maven.Anonymoushttps://www.blogger.com/profile/01924396937684376771noreply@blogger.comtag:blogger.com,1999:blog-5951025555891494293.post-6981825450762439712014-08-04T21:20:50.940+03:002014-08-04T21:20:50.940+03:00This comment has been removed by the author.Aleksandar Kostadinovhttps://www.blogger.com/profile/07448621230581407193noreply@blogger.comtag:blogger.com,1999:blog-5951025555891494293.post-17540708363638227262014-08-04T20:47:05.146+03:002014-08-04T20:47:05.146+03:00OK. Maybe you can link to some testdata that works...OK. Maybe you can link to some testdata that works with your script.<br />So I thought the links to the class-names might be outdated.<br />i.e. com.sun.org.apache.xalan.internal.xsltc.cmdline seems to refer<br />to a java 6 version. Does it work with openjdk 1.7?<br />With my test data I got a java.lang.NullPointerException<br />" at com.sun.org.apache.xalan.internal.xsltc.compiler.Parser.parse(Parser.java:495)<br /> at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:410)<br /> at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:336)<br /> at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:472)<br /> at com.sun.org.apache.xalan.internal.xsltc.cmdline.Compile.main(Compile.java:146)<br />Compiler errors:<br /> Could not compile stylesheet"<br /><br />I found out that my approach does not work yet as well, since the function<br />"regex-group" seems to be unsupported by xalan...<br /><br /><br /><br />Anonymoushttps://www.blogger.com/profile/01924396937684376771noreply@blogger.comtag:blogger.com,1999:blog-5951025555891494293.post-84261239485340287152014-08-04T20:25:50.668+03:002014-08-04T20:25:50.668+03:00Hello, you seem to be using xalan so I'd say y...Hello, you seem to be using xalan so I'd say your script is more of a different thing than an update. My script above is using built-in java xslt implementation.<br /><br />If you are not allowed to use external dependencies or want to test particularly the java implementation, then you can't use your script. On the other hand if you want to test what xalan does, then your script may help with that.<br /><br />Thanks for sharing!Aleksandar Kostadinovhttps://www.blogger.com/profile/07448621230581407193noreply@blogger.comtag:blogger.com,1999:blog-5951025555891494293.post-29322674830405019172014-08-04T19:27:47.287+03:002014-08-04T19:27:47.287+03:00I have updated your script
https://github.com/phys...I have updated your script<br />https://github.com/physikerwelt/xstlprocJAnonymoushttps://www.blogger.com/profile/01924396937684376771noreply@blogger.com