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

Yuling Zhang updated TUSCANY-2752:
----------------------------------

    Attachment: SDOSchemaSAX2Parser.cpp

This is the patch for the bug, Only  the startAttribute method in 
SDOSchemaSAX2Parser.cpp is changed. The changement is that the following 
statement is added after statement "thisProperty.isElement = false;"

The added statement is:
thisProperty.isContainment = false;   //!!!!!! new added. The default value of 
isContaintment is true.   !!!!!!

> The schema got from a SDO object is not consistent with the schema from which 
> the object is generated.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2752
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2752
>             Project: Tuscany
>          Issue Type: Bug
>          Components: C++ SDO
>    Affects Versions: Cpp-M3
>         Environment: Windows XP
> Visual C++6.0 
> CPP-tuscany_sdo-M3
> libxml2-2.7.2
> iconv-1.7.2
> zlib-1.2.3
>            Reporter: Yuling Zhang
>             Fix For: Java-DAS-Next
>
>         Attachments: SDOSchemaBugTestcase.cpp, SDOSchemaSAX2Parser.cpp
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The schema got from a SDO object is not consistent with the schema from which 
> the object is generated. The attributes in the initial schema become elements 
> in the schema generated later. The reason is that when generating the SDO 
> object, the isContainment attribue of a properties comming from a attribute 
> in the schema is not setted to false.(The default value of inContainment is 
> true.)  Therefor, the property is recognized as a element not a attribute for 
> its isContainment attribue is true.

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

Reply via email to