[jdom-interest] Why does my namespace alias disappear?
hainern at jivanet.net
Fri Jan 30 05:26:46 PST 2004
I thought I was using the beta-9 version. I just downloaded it again and noticed that the size of the jar file was different from the one I was using. I retested with the new jar file and the problem seems to have gone away.
From: Frédéric Laurent [mailto:fl at opikanoba.org]
Sent: Fri 1/30/2004 2:43 AM
To: Hainer, Neil
Cc: jdom-interest at jdom.org
Subject: Re: [jdom-interest] Why does my namespace alias disappear?
> The input xml file contains 97 "hasRefs" elements like: <hasRefs
> The output file also contains 97 "hasRefs" elements, but 50 of them come
> out without the "rdf:" namespace alias:
> <hasRefs resource="#SMOOSH0000000053r"/>
> Why would that happen?
what is your version of jdom ?
it works for me (with the beta 9 version) ...
with corrections in your java and xml samples...
I have in the result file
<hasRefs rdf:resource="#SMOOSH0000000006r" />
XPath free testing software : http://lantern.sourceforge.net
Frédéric Laurent http://www.opikanoba.org
More information about the jdom-interest