Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.
The following page has been changed by ChrisEbert: http://wiki.apache.org/ws/FrontPage/Axis/OnlyTopLevelElementHasNamespace The comment on the change is: Made the short answer a little clearer. ------------------------------------------------------------------------------ == Q. The elements immediately under the top level element in XML serialized by Axis all have an attribute 'xmlns=""'. Why are they there? == From Anne Thomas Manes (posting on the axis-user list): + xmlns="" is the proper way to declare no default namespace, and its the only way to override a previously declared default namespace. @@ -57, +58 @@ For the curious, the relevant bit of the 2001 RFC is: http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#declare-element == Q. Uh, what's the short answer? == - Put attribute elementFormDefault="qualified" on your <schema> tag. The sub elements of the elements you declare aren't in the namespace you think they're in. + Put attribute elementFormDefault="qualified" on your <schema> tag. The sub elements of the elements you declare aren't in any namespace unless you force them to be.
