Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-188

wrong java classes created for element "AccumProfitsDividends2ndTier"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: Version 2 Beta 1
    • Fix Version/s: None
    • Component/s: Compiler
    • Labels:
      None
    • Environment:
      Windows XP, Jdk 1.5_04

      Description

      i have the following element in my xsd ....

      • <xsd:element name="AccumProfitsDividends2ndTier" type="AccumProfitsDividends2ndTierType" minOccurs="0" maxOccurs="unbounded">
      • <xsd:annotation>
      • <xsd:documentation>
        <Description>Accumulated Profits table</Description>
        </xsd:documentation>
        </xsd:annotation>
        </xsd:element>

      When i looked at the produced Java class here is the snipped what it looked like, comments have been properly given but the method name has a capital alphabet after a number....
      /**

      • Appends and returns a new empty value (as xml) as the last "AccumProfitsDividends2ndTier" element
        */
        gov.irs.efile.AccumProfitsDividends2NdTierType addNewAccumProfitsDividends2NdTier();

      Similarly for 3rd it has generated with 3Rd... here is the snippet....
      /**

      • Gets ith "UndistrEarnDividends3rdTier" element
        */
        gov.irs.efile.UndistrEarnDividends3RdTierType getUndistrEarnDividends3RdTierArray(int i);

      /**

      • Returns number of "UndistrEarnDividends3rdTier" element
        */
        int sizeOfUndistrEarnDividends3RdTierArray();

      /**

      • Sets array of all "UndistrEarnDividends3rdTier" element
        */
        void setUndistrEarnDividends3RdTierArray(gov.irs.efile.UndistrEarnDividends3RdTierType[] undistrEarnDividends3RdTierArray);

      /**

      • Sets ith "UndistrEarnDividends3rdTier" element
        */
        void setUndistrEarnDividends3RdTierArray(int i, gov.irs.efile.UndistrEarnDividends3RdTierType undistrEarnDividends3RdTier);

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              shaik_reyaz Shaik Reyaz
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: