axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajith Harshana Ranabahu (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-366) ADB schema compiler ignores the elementFormDefault="qualified" attribute
Date Mon, 09 Jan 2006 04:01:20 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-366?page=all ]

Ajith Harshana Ranabahu updated AXIS2-366:
------------------------------------------

    Description: 
The problem arises when there are simpletypes (that maps directly to the java primitives)
in the schema
say the schema is like the following

<s:schema elementFormDefault="qualified" targetNamespace="http://ws.cdyne.com/">
..........
      <s:element name="VerifyMXRecord">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="email" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="LicenseKey" type="s:string" />
          </s:sequence>
        </s:complexType>

when code is generated for the VerifyMXRecord element, the concept that both it's children
are namespace qualified gets lost !
To fix this the both the codegen and the Adbpullparser need to be fixed

  was:
The problem arises when there are simpletypes (that maps directly to the java primitives)
in the schema
say the schema is like the following

<s:schema elementFormDefault="qualified" targetNamespace="http://ws.cdyne.com/">
..........
      <s:element name="VerifyMXRecord">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="email" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="LicenseKey" type="s:string" />
          </s:sequence>
        </s:complexType>

when code is generated for the VerifyMXRecord element, the concept that both it's children
are namespace qualified.
To fix this the both the codegen and the Adbpullparser need to be fixed


> ADB schema compiler ignores the elementFormDefault="qualified" attribute
> ------------------------------------------------------------------------
>
>          Key: AXIS2-366
>          URL: http://issues.apache.org/jira/browse/AXIS2-366
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: databinding
>  Environment: All
>     Reporter: Ajith Harshana Ranabahu
>     Assignee: Ajith Harshana Ranabahu

>
> The problem arises when there are simpletypes (that maps directly to the java primitives)
in the schema
> say the schema is like the following
> <s:schema elementFormDefault="qualified" targetNamespace="http://ws.cdyne.com/">
> ..........
>       <s:element name="VerifyMXRecord">
>         <s:complexType>
>           <s:sequence>
>             <s:element minOccurs="0" maxOccurs="1" name="email" type="s:string" />
>             <s:element minOccurs="0" maxOccurs="1" name="LicenseKey" type="s:string"
/>
>           </s:sequence>
>         </s:complexType>
> when code is generated for the VerifyMXRecord element, the concept that both it's children
are namespace qualified gets lost !
> To fix this the both the codegen and the Adbpullparser need to be fixed

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message