Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Missing scheme in absolute URI reference

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: Arjan Huijzer <huijzer AT gmail.com>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Missing scheme in absolute URI reference
  • Date: Thu, 21 Dec 2006 07:55:12 -0500

Arjan Huijzer wrote:

My XML document looks like:


<asset_list xmlns="wke_asset_list" version="1.0">
<!-- some content -->
</asset_list>


When I modify the value of the xmlns attribute to "http://wke_asset_list"; it
works.
Can someone shed some light on this? I would hate to have to modify the
namespace.


That's exactly what you have to do. Non-absolute namespace URIs have been deprecated for years now. XOM does not allow them.

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/




Archive powered by MHonArc 2.6.24.

Top of Page