axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Jordahl <>
Subject RE: grumble about QName(null,*)
Date Thu, 26 Feb 2004 20:34:37 GMT

Your grumbled are heard and understood. :-)

My reading of the JavaDocs and your message is that Axis needs to make no
changes to our use or implementation of QName.

Is that correct?

Tom Jordahl
Macromedia Server Development

-----Original Message-----
From: Paul R Brown [] 
Sent: Monday, February 16, 2004 12:07 PM
Subject: Re: grumble about QName(null,*)

> It so happens that the implementation of javax.xml.namespace.QName 
> sets the URI to "" when this happens, but it's still a Bad Thing to 
> do, since URIs are never null (but may be "").  QName is broken for 
> allowing a null argument to be passed, and that's goofy since it 
> throws an exception if a null prefix is passed.

According to

this is the official (and thus, in a twisted sense, correct) behavior, 
except that a null prefix should also be permitted.

	-- Paul

View raw message