[jboss-user] [Beginner's Corner] - XSLT failing - MalformedURLException: no protocol: <?xml version="1.0" encoding="UTF-8"?>

Derek Croxton do-not-reply at jboss.com
Tue Oct 23 17:17:20 EDT 2012


Derek Croxton [https://community.jboss.org/people/mataratones] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/771939#771939

--------------------------------------------------------------
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
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/771939#771939]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121023/a7830423/attachment.html 


More information about the jboss-user mailing list