2 Replies Latest reply on Oct 25, 2012 12:04 PM by mataratones

    XSLT failing - MalformedURLException: no protocol: <?xml version="1.0" encoding="UTF-8"?>

    mataratones

      I have a rather complicated XSLT that only works with the saxon transformer (the open source version). 

       

      Neither I nor my colleague could get it to work in XSLTaction, but I have it working fine in a standalone Java app.  So I wrote a custom action and just copied what I had in the standalone class.  Unfortunately, it fails with the error

       

      <code>

      MalformedURLException: no protocol: <?xml version="1.0" encoding="UTF-8"?>

      </code>

       

      There are quite a few cases of people asking about this error in different contexts, but none of the solutions has worked for me.  (Many center around setting a SystemID, which I tried.)

       

      What could be causing this problem in JBoss (developer studio) that isn't happening in a standalone Java app?

       

      Derek