You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Fuhwei Lwo (JIRA)" <tu...@ws.apache.org> on 2007/10/05 19:21:50 UTC

[jira] Updated: (TUSCANY-1835) XSDHelper.getAppinfo() returns wrong result

     [ https://issues.apache.org/jira/browse/TUSCANY-1835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fuhwei Lwo updated TUSCANY-1835:
--------------------------------

    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>


  was:
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}



> 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.
> <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>

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org