[jdom-interest] Why does my namespace alias disappear?

Hainer, Neil 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.
 
Thanks.

	-----Original Message----- 
	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?
	
	

	> Hi,
	> The input xml file contains 97 "hasRefs" elements like:   <hasRefs
	> rdf:resource="#SMOOSH0000000053r"/>.
	> 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" />
	
	
	Fred
	
	--
	XPath free testing software :  http://lantern.sourceforge.net
	Frédéric Laurent                     http://www.opikanoba.org
	
	



More information about the jdom-interest mailing list