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

XSDHelper.getAppinfo() returns wrong result

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Java-SDO-1.0
    • Fix Version/s: Java-SDO-Next
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated: