XSDHelper.getAppinfo() returns wrong result
-------------------------------------------

                 Key: TUSCANY-1835
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1835
             Project: Tuscany
          Issue Type: Bug
          Components: Java SDO Implementation
    Affects Versions: Java-SDO-1.0
         Environment: WinXP
            Reporter: Fuhwei Lwo
            Assignee: Fuhwei Lwo


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.

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

XSDHelper.getAppinfo() should return
{noformat}
<xsd:appinfo source="appinfosrc">
        <simple:stockQuote xmlns:simple="http://www.example.com/simple";>
                <symbol>fbnt</symbol>
        </simple:stockQuote>
</xsd:appinfo>
{noformat}

Now it's returning the wrong result like below.
{noformat}
        <simple:stockQuote xmlns:simple="http://www.example.com/simple";>
                <symbol>fbnt</symbol>
        </simple:stockQuote>
{noformat}


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to