Diff - Left File: CorporateIncomeTax/Common/IRS8865/IRS8865.xsd (2011v1.4) Right File: CorporateIncomeTax/Common/IRS8865/IRS8865.xsd (2012v1.0)
OLD: CorporateIncomeTax/Common/IRS8865/IRS8865.xsd (2011v1.4)
NEW: CorporateIncomeTax/Common/IRS8865/IRS8865.xsd (2012v1.0)

OLD line(s): 756,758

      <!-- IRS8865 Schedule D - Capital Gains and Losses -->
      <xsd:element name="IRS8865ScheduleD" type="IRS8865ScheduleDType" minOccurs="0" />

NEW line(s): 755

OLD line(s): 1631,2091

  <!-- =================== IRS Form 8865 Schedule D ================= -->
  <!-- =============================================================== -->

  <xsd:complexType name="IRS8865ScheduleDType">
    <xsd:annotation>
      <xsd:documentation>Content model for Form 8865 Schedule D</xsd:documentation>
    </xsd:annotation>

    <xsd:sequence>
      <!-- ===== Part I - Short-Term Capital Gains and Losses - Assets Held One Year or Less ===== -->

      <!-- Element for Part I is needed in order to allow attachments at Part I -->
      <xsd:element name="PartIShortTermCapitalGains" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Content model for Schedule D Part I - Short Term Capital Gains and Losses</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:sequence>

            <!-- Short-Term Capital Gains and Losses table -->
            <xsd:element name="ShortTermCapitalGainsAndLosses" type="ShortTermCapitalGainsAndLossesType" minOccurs="0" maxOccurs="unbounded">
              <xsd:annotation>
                <xsd:documentation>
                  <Description>Short-Term Capital Gains and Losses - Assets Held One Year or Less</Description>
                  <LineNumber>Schedule D Part I Line 1</LineNumber>
                </xsd:documentation>
              </xsd:annotation>
            </xsd:element>

            <!-- Short-Term Capital Gain From Schedule D-1 Form 1065, line 2 -->
            <xsd:element name="STCGFrSchD1065Ln2" type="USAmountType" minOccurs="0">
              <xsd:annotation>
                <xsd:documentation>
                  <Description>Short-term capital gain from Schedule D-1 Form 1065, line 2</Description>
                  <LineNumber>Schedule D Part I Line 2(f)</LineNumber>
                </xsd:documentation>
              </xsd:annotation>
            </xsd:element>

            <!-- Short-Term Capital Gain From Installment Sales from Form 6252, line 26 or 37 -->
            <xsd:element name="STCGFrInstallmentSalesEntireYr" type="USAmountType" minOccurs="0">
              <xsd:annotation>
                <xsd:documentation>
                  <Description>Short-term capital gain from installment sales from Form 6252, line 26 or 37</Description>
                  <LineNumber>Schedule D Part I Line 3(f)</LineNumber>
                </xsd:documentation>
              </xsd:annotation>
            </xsd:element>

            <!-- Short-Term Capital Gain (Loss) From Like-Kind Exchanges from Form 8824 -->
            <xsd:element name="STCGLossFrLikeKindExchEntireYr" type="USAmountType" minOccurs="0">
              <xsd:annotation>
                <xsd:documentation>
                  <Description>Short-term capital gain (loss) from like-kind exchanges from Form 8824</Description>
                  <LineNumber>Schedule D Part I Line 4(f)</LineNumber>
                </xsd:documentation>
              </xsd:annotation>
            </xsd:element>

            <!-- Partnership's Share of Net Short-Term Capital Gain (Loss) -->
            <xsd:element name="PrtshpShareNetSTCGLossEntireYr" type="USAmountType" minOccurs="0">
              <xsd:annotation>
                <xsd:documentation>
                  <Description>Partnership's share of net short-term capital gain (loss), including specially allocated short-term capital gains (losses), from other partnerships, estates, and trusts</Description>
                  <LineNumber>Schedule D Part I Line 5(f)</LineNumber>
                </xsd:documentation>
              </xsd:annotation>
            </xsd:element>

            <!-- Net Short-Term Capital Gain or (Loss) -->
            <xsd:element name="NetSTCapitalGainOrLossEntireYr" type="USAmountType" minOccurs="0">
              <xsd:annotation>
                <xsd:documentation>
                  <Description>Net Short-Term Capital Gain or (Loss). Combine lines 1 through 4 in column (f). Enter here and on Form 8865, Schedule K, line 8 or 11</Description>
                  <LineNumber>Schedule D Part I Line 6(f)</LineNumber>
                </xsd:documentation>
              </xsd:annotation>
            </xsd:element>

          </xsd:sequence>

          <xsd:attribute name="referenceDocumentId" type="IdListType"/>
          <xsd:attribute name="referenceDocumentName" type="StringType" fixed="BadDebtStatement OtherBasisStatement" />

        </xsd:complexType>
      </xsd:element>

      <!-- ===== Part II - Long-Term Capital Gains and Losses - Assets Held More Than One Year ===== -->

      <!-- Element for Part II is needed in order to allow attachments at Part II -->
      <xsd:element name="PartIILongTermCapitalGains" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Content model for Schedule D Part II - Long Term Capital Gains and Losses</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:sequence>

            <!-- Long-Term Capital Gains and Losses table -->
            <xsd:element name="LongTermCapitalGainsAndLosses" type="LongTermCapitalGainsAndLossesType" minOccurs="0" maxOccurs="unbounded">
              <xsd:annotation>
                <xsd:documentation>
                  <Description>Long-Term Capital Gains and Losses - Assets Held More Than One Year</Description>
                  <LineNumber>Schedule D Part II Line 7</LineNumber>
                </xsd:documentation>
              </xsd:annotation>
            </xsd:element>

            <!-- Long-Term Capital Gain From Schedule D-1 Form 1065, line 8 -->
            <xsd:element name="LTCGFrSchD1065Ln8" type="USAmountType" minOccurs="0">
              <xsd:annotation>
                <xsd:documentation>
                  <Description>Long-term capital gain from Schedule D-1 Form 1065, line 8</Description>
                  <LineNumber>Schedule D Part II Line 8f</LineNumber>
                </xsd:documentation>
              </xsd:annotation>
            </xsd:element>

            <!-- Long-Term Capital Gain From Installment Sales from Form 6252, line 26 or 37 -->
            <xsd:element name="LTCGFrInstallmentSalesEntireYr" type="USAmountType" minOccurs="0">
              <xsd:annotation>
                <xsd:documentation>
                  <Description>Long-term capital gain from installment sales from Form 6252, line 26 or 37</Description>
                  <LineNumber>Schedule D Part II Line 9f</LineNumber>
                </xsd:documentation>
              </xsd:annotation>
            </xsd:element>

            <!-- Long-Term Capital Gain (Loss) From Like-Kind Exchanges from Form 8824 -->
            <xsd:element name="LTCGLossFrLikeKindExchEntireYr" type="USAmountType" minOccurs="0">
              <xsd:annotation>
                <xsd:documentation>
                  <Description>Long-term capital gain (loss) from like-kind exchanges from Form 8824</Description>
                  <LineNumber>Schedule D Part II Line 10f</LineNumber>
                </xsd:documentation>
              </xsd:annotation>
            </xsd:element>

            <!-- Partnership's Share of Net Long-Term Capital Gain (Loss) -->
            <xsd:element name="PrtshpShareNetLTCGLossEntireYr" type="USAmountType" minOccurs="0">
              <xsd:annotation>
                <xsd:documentation>
                  <Description>Partnership's share of net long-term capital gain (loss), including specially allocated long-term capital gains (losses), from other partnerships, estates, and trusts</Description>
                  <LineNumber>Schedule D Part II Line 11f</LineNumber>
                </xsd:documentation>
              </xsd:annotation>
            </xsd:element>

            <!-- Captial Gain Distribution -->
            <xsd:element name="CapGainDistributionEntireYr" minOccurs="0">
              <xsd:annotation>
                <xsd:documentation>
                  <Description>Capital gain distribution</Description>
                  <LineNumber>Schedule D Part II Line 12f</LineNumber>
                </xsd:documentation>
              </xsd:annotation>
              <xsd:complexType>
                <xsd:simpleContent>
                  <xsd:extension base="USAmountType">
                    <xsd:attribute name="referenceDocumentId" type="IdListType"/>
                    <xsd:attribute name="referenceDocumentName" type="StringType" fixed="CapitalGainDistributions" />
                  </xsd:extension>
                </xsd:simpleContent>
              </xsd:complexType>
            </xsd:element>

            <!-- Net Long-Term Captial Gain or (Loss) -->
            <xsd:element name="NetLTCGLossEntireYear" type="USAmountType" minOccurs="0">
              <xsd:annotation>
                <xsd:documentation>
                  <Description>Net Long-Term Capital Gain or (Loss). Combine lines 6 through 10 in column (f). Enter here and on FOrm 8865, Schedule K, line 9a or 11</Description>
                  <LineNumber>Schedule D Part II Line 13f</LineNumber>
                </xsd:documentation>
              </xsd:annotation>
            </xsd:element>

          </xsd:sequence>

          <xsd:attribute name="referenceDocumentId" type="IdListType"/>
          <xsd:attribute name="referenceDocumentName" type="StringType" fixed="OtherBasisStatement SaleOrExchangeOfCollectiblesStatement" />

        </xsd:complexType>
      </xsd:element>

    </xsd:sequence>
  </xsd:complexType>

  <!-- ===== Type for Element "ShortTermCapitalGainsAndLosses" for Schedule D Part I ===== -->

  <xsd:complexType name="ShortTermCapitalGainsAndLossesType">
    <xsd:sequence>

      <!-- Description of Property -->
      <xsd:element name="PropertyDescription" type="LineExplanationType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Description of property (e.g., 100 shares of "Z" Co.)</Description>
            <LineNumber>Schedule D Part I Line 1a</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>

      <!-- Date Acquired or ST Date Acquired Various Text -->
      <xsd:choice minOccurs="0">

        <!-- Date Acquired -->
        <xsd:element name="DateAcquired" type="DateType" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Description>Date acquired (month, day, year)</Description>
              <LineNumber>Schedule D Part I Line 1b</LineNumber>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>

        <!-- ST Date Acquired Various Text -->
        <xsd:element name="STDateAcquiredVariousTxt" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Description>ST date acquired various text</Description>
              <LineNumber>Schedule D Part I Line 1b</LineNumber>
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="StringType">
              <xsd:enumeration value="VARIOUS"/>
              <xsd:enumeration value="INHERIT"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>

      </xsd:choice>

      <!-- Date Sold -->
      <xsd:element name="DateSold" type="DateType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Date sold (month, day, year)</Description>
            <LineNumber>Schedule D Part I Line 1c</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>

      <!-- Sales Price or ST Sales Price Expired Code -->
      <xsd:choice minOccurs="0">

        <!-- Sales Price -->
        <xsd:element name="SalesPrice" type="USAmountType" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Description>Sales price (see instructions)</Description>
              <LineNumber>Schedule D Part I Line 1d</LineNumber>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>

        <!-- ST Sales Price Expired Code -->
        <xsd:element name="STSalesPriceExpiredCd" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Description>ST sales price expired code</Description>
              <LineNumber>Schedule D Part I Line 1d</LineNumber>
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="StringType">
              <xsd:enumeration value="EXPIRED"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>

      </xsd:choice>

      <!-- Cost or Other Basis or ST Cost Or Other Basis Text -->
      <xsd:choice minOccurs="0">

        <!-- Cost or Other Basis -->
        <xsd:element name="CostOrOtherBasis" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Description>Cost or other basis (see instructions)</Description>
              <LineNumber>Schedule D Part I Line 1e</LineNumber>
            </xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:extension base="USAmountType">
                <xsd:attribute name="referenceDocumentId" type="IdListType" />
                <xsd:attribute name="referenceDocumentName" type="StringType" fixed="CostOtherThanActualCashCostStatement" />
              </xsd:extension>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>

        <!-- ST Cost Or Other Basis Text -->
        <xsd:element name="STCostOrOtherBasisTxt" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Description>ST cost or other basis text</Description>
              <LineNumber>Schedule D Part I Line 1e</LineNumber>
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="StringType">
              <xsd:enumeration value="EXPIRED"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>

      </xsd:choice>

      <!-- Gain or (Loss) -->
      <xsd:element name="GainOrLossEntireYear" type="USAmountType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Gain or (loss) ((d) minus (e))</Description>
            <LineNumber>Schedule D Part I Line 1f</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>

    </xsd:sequence>
  </xsd:complexType>

  <!-- ===== Type for Element "LongTermCapitalGainsAndLosses" for Schedule D Part II ===== -->

  <xsd:complexType name="LongTermCapitalGainsAndLossesType">
    <xsd:sequence>

      <!-- Description of Property -->
      <xsd:element name="PropertyDescription" type="LineExplanationType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Description of property (e.g., 100 shares of "Z" Co.)</Description>
            <LineNumber>Schedule D Part II Line 7a</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>

      <!-- Date Acquired or LT Date Acquired Various Text -->
      <xsd:choice minOccurs="0">

        <!-- Date Acquired -->
        <xsd:element name="DateAcquired" type="DateType" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Description>Date acquired (month, day, year)</Description>
              <LineNumber>Schedule D Part II Line 7b</LineNumber>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>

        <!-- LT Date Acquired Various Text -->
        <xsd:element name="LTDateAcquiredVariousTxt" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Description>LT date acquired various text</Description>
              <LineNumber>Schedule D Part II Line 7b</LineNumber>
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="StringType">
              <xsd:enumeration value="VARIOUS"/>
              <xsd:enumeration value="INHERIT"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>

      </xsd:choice>

      <!-- Date Sold -->
      <xsd:element name="DateSold" type="DateType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Date sold (month, day, year)</Description>
            <LineNumber>Schedule D Part II Line 7c</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>

      <!-- Sales Price or LT Sales Price Expired Code -->
      <xsd:choice minOccurs="0">

        <!-- Sales Price -->
        <xsd:element name="SalesPrice" type="USAmountType" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Description>Sales price (see instructions)</Description>
              <LineNumber>Schedule D Part II Line 7d</LineNumber>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>

        <!-- LT Sales Price Expired Code -->
        <xsd:element name="LTSalesPriceExpiredCd" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Description>LT sales price expired code</Description>
              <LineNumber>Schedule D Part II Line 7d</LineNumber>
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="StringType">
              <xsd:enumeration value="EXPIRED"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>

      </xsd:choice>

      <!-- Cost or Other Basis or LT Cost Or Other Basis Expired Code -->
      <xsd:choice minOccurs="0">

        <!-- Cost or Other Basis -->
        <xsd:element name="CostOrOtherBasis" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Description>Cost or other basis (see instructions)</Description>
              <LineNumber>Schedule D Part II Line 7e</LineNumber>
            </xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:simpleContent>
              <xsd:extension base="USAmountType">
                <xsd:attribute name="referenceDocumentId" type="IdListType" />
                <xsd:attribute name="referenceDocumentName" type="StringType" fixed="CostOtherThanActualCashCostStatement" />
              </xsd:extension>
            </xsd:simpleContent>
          </xsd:complexType>
        </xsd:element>

        <!-- LT Cost Or Other Basis Expired Code -->
        <xsd:element name="LTCostOrOtherBasisExpiredCd" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Description>LT cost or other basis expired code</Description>
              <LineNumber>Schedule D Part II Line 7e</LineNumber>
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="StringType">
              <xsd:enumeration value="EXPIRED"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>

      </xsd:choice>

      <!-- Gain or (Loss) -->
      <xsd:element name="GainOrLossEntireYear" type="USAmountType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Gain or (loss) ((d) minus (e))</Description>
            <LineNumber>Schedule D Part II Line 7f</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>

    </xsd:sequence>
  </xsd:complexType>

  <!-- =============================================================== -->
NEW line(s): 1627

OLD line(s): 2219

      <xsd:element name="NetShortTermCapitalGainLoss" type="USAmountType" minOccurs="0">
NEW line(s): 1755

      <xsd:element name="NetShortTermCapitalGainLoss" minOccurs="0">
OLD line(s): 2225

NEW line(s): 1762,1769

        <xsd:complexType>
          <xsd:simpleContent>
            <xsd:extension base="USAmountType">
              <xsd:attribute name="referenceDocumentId" type="IdListType" />
              <xsd:attribute name="referenceDocumentName" type="StringType" fixed="IRS1065ScheduleD" />
            </xsd:extension>
          </xsd:simpleContent>
        </xsd:complexType>
OLD line(s): 2229

      <xsd:element name="NetLongTermCapitalGainLoss" type="USAmountType" minOccurs="0">
NEW line(s): 1773

      <xsd:element name="NetLongTermCapitalGainLoss" minOccurs="0">
OLD line(s): 2235

NEW line(s): 1780,1787

        <xsd:complexType>
          <xsd:simpleContent>
            <xsd:extension base="USAmountType">
              <xsd:attribute name="referenceDocumentId" type="IdListType" />
              <xsd:attribute name="referenceDocumentName" type="StringType" fixed="IRS1065ScheduleD" />
            </xsd:extension>
          </xsd:simpleContent>
        </xsd:complexType>
OLD line(s): 2531

              <xsd:attribute name="referenceDocumentName" type="StringType" fixed="IRS3468 IRS4255 IRS5884 IRS5884B IRS6478 IRS6765 IRS8820 IRS8826 IRS8834 IRS8835 IRS8844 IRS8845 IRS8846 IRS8864 IRS8874 IRS8881 IRS8882 IRS8896 IRS8900 IRS8906 IRS8907 IRS8908 IRS8909 IRS8910 IRS8911 IRS8912 IRS8923 ItemizedOtherCreditsSchedule NonconventionalSourceFuelCreditSchedule" />
NEW line(s): 2083

              <xsd:attribute name="referenceDocumentName" type="StringType" fixed="IRS3468 IRS4255 IRS5884 IRS6478 IRS6765 IRS8820 IRS8826 IRS8834 IRS8835 IRS8844 IRS8845 IRS8846 IRS8864 IRS8874 IRS8881 IRS8882 IRS8896 IRS8900 IRS8906 IRS8907 IRS8908 IRS8909 IRS8910 IRS8911 IRS8912 IRS8923 ItemizedOtherCreditsSchedule NonconventionalSourceFuelCreditSchedule" />
OLD line(s): 3502

NEW line(s): 3055,3072

      <!-- Loans From Partners -->
      <xsd:element name="LoansFromPartnersBOY" type="USAmountType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Loans from partners (or persons related to partners)....|</Description>
            <LineNumber>Schedule L Line 19a(b)</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="LoansFromPartnersEOY" type="USAmountType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Loans from partners (or persons related to partners)....|</Description>
            <LineNumber>Schedule L Line 19a(d)</LineNumber>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      
OLD line(s): 3508

            <LineNumber>Schedule L Line 19(b)</LineNumber>
NEW line(s): 3078

            <LineNumber>Schedule L Line 19b(b)</LineNumber>
OLD line(s): 3516

            <LineNumber>Schedule L Line 19(d)</LineNumber>
NEW line(s): 3086

            <LineNumber>Schedule L Line 19b(d)</LineNumber>