You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Laws (JIRA)" <tu...@ws.apache.org> on 2006/06/06 18:10:30 UTC

[jira] Created: (TUSCANY-450) ElementOfSimpleTypeWithSDOPropertyType and ElementOfSimpleTypeWithSDOOppositePropertyType not supported

ElementOfSimpleTypeWithSDOPropertyType and ElementOfSimpleTypeWithSDOOppositePropertyType not supported
-------------------------------------------------------------------------------------------------------

         Key: TUSCANY-450
         URL: http://issues.apache.org/jira/browse/TUSCANY-450
     Project: Tuscany
        Type: Bug

  Components: C++ SDO  
    Versions: Cpp-current    
 Environment: Windows XP
    Reporter: Simon Laws


reading 

  <ElementOfSimpleTypeWithSDOPropertyType>idvalue0</ElementOfSimpleTypeWithSDOPropertyType>
  <ElementOfSimpleTypeWithSDOOppositePropertyType>idvalue0</ElementOfSimpleTypeWithSDOOppositePropertyType>

with schema 

      <element name="ElementOfSimpleTypeWithSDOPropertyType" type="IDREF" sdo:propertyType="tns:SimpleTypeWithNameType"/>      
      <element name="ElementOfSimpleTypeWithSDOOppositePropertyType" type="IDREF" sdo:propertyType="tns:SimpleTypeWithNameType" sdo:oppositeProperty="tns:ElementOfSimpleTypeWithSDOPropertyType"/>      

and writing out again lead to these element being missing

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-450) ElementOfSimpleTypeWithSDOPropertyType and ElementOfSimpleTypeWithSDOOppositePropertyType not supported

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-450?page=all ]

ant elder updated TUSCANY-450:
------------------------------

    Fix Version/s: Cpp-current

> ElementOfSimpleTypeWithSDOPropertyType and ElementOfSimpleTypeWithSDOOppositePropertyType not supported
> -------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-450
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-450
>             Project: Tuscany
>          Issue Type: Bug
>          Components: C++ SDO
>    Affects Versions: Cpp-current
>         Environment: Windows XP
>            Reporter: Simon Laws
>             Fix For: Cpp-current
>
>
> reading 
>   <ElementOfSimpleTypeWithSDOPropertyType>idvalue0</ElementOfSimpleTypeWithSDOPropertyType>
>   <ElementOfSimpleTypeWithSDOOppositePropertyType>idvalue0</ElementOfSimpleTypeWithSDOOppositePropertyType>
> with schema 
>       <element name="ElementOfSimpleTypeWithSDOPropertyType" type="IDREF" sdo:propertyType="tns:SimpleTypeWithNameType"/>      
>       <element name="ElementOfSimpleTypeWithSDOOppositePropertyType" type="IDREF" sdo:propertyType="tns:SimpleTypeWithNameType" sdo:oppositeProperty="tns:ElementOfSimpleTypeWithSDOPropertyType"/>      
> and writing out again lead to these element being missing

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-450) ElementOfSimpleTypeWithSDOPropertyType and ElementOfSimpleTypeWithSDOOppositePropertyType not supported

Posted by "Yang ZHONG (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-450?page=all ]

Yang ZHONG updated TUSCANY-450:
-------------------------------

    Attachment: fidelity.xsd
                fidelity.xml

XML isn't correctly loaded, although element "ElementOfSimpleTypeWithSDOOppositePropertyType" model may have a problem since oppositeProperty doesn't exist within propertyType.

"fidelity.xsd" and "fidelity.xml" are attached for the following Test Case.

int sdotest::testFidelity()
{
    DataFactoryPtr mdg  = DataFactory::getDataFactory();
        
    XSDHelperPtr xsh = HelperProvider::getXSDHelper(mdg);
    xsh->defineFile("fidelity.xsd");
    XMLHelperPtr myXMLHelper = HelperProvider::getXMLHelper(mdg);
    XMLDocumentPtr myXMLDocument = myXMLHelper->loadFile("fidelity.xml");
    DataObjectPtr root = myXMLDocument->getRootDataObject();
    const char* p = root->getCString("ElementOfSimpleTypeWithSDOPropertyType");
    if(strcmp(p, "idvalue0"))
        return 0;
    p = root->getCString("ElementOfSimpleTypeWithSDOOppositePropertyType");
    if(strcmp(p, "idvalue0"))
        return 0;
        
    return 1;
}

> ElementOfSimpleTypeWithSDOPropertyType and ElementOfSimpleTypeWithSDOOppositePropertyType not supported
> -------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-450
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-450
>             Project: Tuscany
>          Issue Type: Bug
>          Components: C++ SDO
>    Affects Versions: Cpp-current
>         Environment: Windows XP
>            Reporter: Simon Laws
>             Fix For: Cpp-current
>
>         Attachments: fidelity.xml, fidelity.xsd
>
>
> reading 
>   <ElementOfSimpleTypeWithSDOPropertyType>idvalue0</ElementOfSimpleTypeWithSDOPropertyType>
>   <ElementOfSimpleTypeWithSDOOppositePropertyType>idvalue0</ElementOfSimpleTypeWithSDOOppositePropertyType>
> with schema 
>       <element name="ElementOfSimpleTypeWithSDOPropertyType" type="IDREF" sdo:propertyType="tns:SimpleTypeWithNameType"/>      
>       <element name="ElementOfSimpleTypeWithSDOOppositePropertyType" type="IDREF" sdo:propertyType="tns:SimpleTypeWithNameType" sdo:oppositeProperty="tns:ElementOfSimpleTypeWithSDOPropertyType"/>      
> and writing out again lead to these element being missing

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org