axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jake Goulding <>
Subject Re: AxisFault: Namespace URI may not be null
Date Mon, 07 Jul 2008 16:32:53 GMT
On further reading, I think that this sentence makes it more clear what 
should happen:

"Default namespace declarations do not apply directly to attribute 
names; the interpretation of unprefixed attributes is determined by the 
element on which they appear"

That is, the code should be something like:

if (namespace uri of attribute == null)
   use namespace uri if containing element


Jake Goulding wrote:
> 2/ I don't think that this should cause my program to generate an 
> exception in this manner. According to the spec:
> "The namespace name for an unprefixed attribute name always has no 
> value." [1]
> To me, this says that it is quite possible / likely for an attribute to 
> have a null URI. However, I would love for clarifications on this point. 
> For what it is worth, other attributes that *are* in my XSD seem to work 
> fine.
> Thanks!
> -Jake

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message