Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-1835

XSDHelper.getAppinfo() returns wrong result

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Java-SDO-1.0
    • Java-SDO-Next
    • None
    • WinXP

    Description

      According to SDO 2.1 spec section 3.13 (The getAppinfo() methods return the XML, starting from the specified source element.). This means if we have an annotation defined like below.

      <xsd:annotation>
      <xsd:appinfo source="appinfosrc">
      <simple:stockQuote xmlns:simple="http://www.example.com/simple">
      <symbol>fbnt</symbol>
      </simple:stockQuote>
      </xsd:appinfo>
      </xsd:annotation>

      XSDHelper.getAppinfo() should return

      <xsd:appinfo source="appinfosrc">
      <simple:stockQuote xmlns:simple="http://www.example.com/simple">
      <symbol>fbnt</symbol>
      </simple:stockQuote>
      </xsd:appinfo>

      Now it's returning the wrong result like below.

      <simple:stockQuote xmlns:simple="http://www.example.com/simple">
      <symbol>fbnt</symbol>
      </simple:stockQuote>

      Attachments

        1. 1835.patch
          5 kB
          Fuhwei Lwo

        Activity

          People

            fuhwei Fuhwei Lwo
            fuhwei Fuhwei Lwo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: