Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Java-SDO-1.0
-
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>