Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] URI

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Mike Fitzgerald <mikefz AT wyeast.net>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] URI
  • Date: Mon, 05 Apr 2004 06:15:55 -0600

You'll also need %20 in two other places:

"file:///C:/Program%20Files/Apache%20Group/Tomcat%204.1/webapps/wurfl/WEB-INF/wurfl.xml"
^ ^

Mike
Elliotte Rusty Harold wrote:

At 12:52 AM +0200 4/5/04, luca wrote:

Hallo,

I have this line in my servlet:

String path = "file:///C:/Program Files/Apache Group/Tomcat 4.1/webapps/wurfl/WEB-INF/wurfl.xml";
ObjectsManager.getWurflInstance(path);


Your path variable is not a legal URI. URIs may not contain an unescaped space. If you escape the space and rewrite your path as "file:///C:/Program Files/Apache Group/Tomcat%204.1/webapps/wurfl/WEB-INF/wurfl.xml" it should work.





Archive powered by MHonArc 2.6.24.

Top of Page