I am new to XML and the means for parsing an XML strings What I need is a little direction. First of all, let be say thank you to all for reading. Here us what I am doing. I am have a simple client to publish an xml encoded string using the embedded JMS for WebSphere Application Developer V5.1. I also have a simple client which is subscribing to the topic. I am using Digester (http://jakarta.apache.org/commons/digester.html) to parse the XML. The message is getting passed as it should, but the parsing is failing because of the following reason: java.net.MalformedURLException: no protocol:-- then is the the xml formatted string.
My problem is how to spin up the *.dtd file. My initial thoughts are to create a web server and place the dtd file in a directory. This will allow validation of the XML and provide the correct protocol. Based on others experience from this forum, is this sound? Thanks loads!
posted 12 years ago
Welcome to the 'ranch! Could you post a few lines of the code that leads to this exception of yours?