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: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • To: luca <passani AT eunet.no>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] URI
  • Date: Sun, 4 Apr 2004 19:55:21 -0400

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.

--

Elliotte Rusty Harold
elharo AT metalab.unc.edu
Effective XML (Addison-Wesley, 2003)
http://www.cafeconleche.org/books/effectivexml
http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA




Archive powered by MHonArc 2.6.24.

Top of Page