Sorry, my mistake there (should have confirmed the values from the schema
spec before replying).




                                                                                       
                                                
                      Dennis Sosnoski                                                  
                                                
                      <[EMAIL PROTECTED]        To:       [EMAIL PROTECTED]            
                                           
                      >                        cc:                                     
                                                
                                               Subject:  Re: xmlns=" " in the 
doc\literal SOAP message                                 
                      09/02/2003 12:32                                                 
                                                
                      PM                                                               
                                                
                      Please respond to                                                
                                                
                      axis-user                                                        
                                                
                                                                                       
                                                
                                                                                       
                                                




The "elementFormDefault" attribute of the schema element takes values of
"qualified" or "unqualified", not "true" and "false". Furthermore, the
default is "unqualified", meaning that elements do not use a namespace
(technically, they're in the "nonnamespace" namespace).

  - Dennis

[EMAIL PROTECTED] wrote:

>
>
>
>Whether local elements are namespacequalified or not depends on the
>elementFormDefault attribute of the schema definition.
>
>Thus given the following definition:
>
><schema targetName="http://www.foo.com"; elementFormDefault ="true"/>
>       <element name="foo"
>           <complexType>
>                 <sequence>
>                         <element name="bar" type="xsd:string"/>
>                         <element name="baz" type="xsd:string"/>
>                 </sequence>
>           <complexType>
>      </element>
></schema>
>
...

>
>Note that the default value of elementFormDefault is true in case you omit
>the declaration.
>
>- Junaid
>
>
>




Reply via email to