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:27:31 UTC

[jira] Created: (TUSCANY-452) IDREF, IDREFS not supported

IDREF, IDREFS not supported
---------------------------

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

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


Reading xml

  <IDREF>idvalue0</IDREF>
  <IDREFS>idvalue0</IDREFS>

with schema 

      <element name="IDREF" type="IDREF"/>
      <element name="IDREFS" type="IDREFS"/>

wehn written out again these elements are 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-452) IDREF, IDREFS not supported

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

Yang ZHONG updated TUSCANY-452:
-------------------------------

    Attachment: fidelity.xsd
                fidelity.xml

XML isn't correctly loaded.

"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("IDREF");
   if(strcmp(p, "idvalue0"))
       return 0;
   p = root->getCString("IDREFS");
   if(strcmp(p, "idvalue0"))
       return 0;

   return 1;
}

> IDREF, IDREFS not supported
> ---------------------------
>
>                 Key: TUSCANY-452
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-452
>             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 xml
>   <IDREF>idvalue0</IDREF>
>   <IDREFS>idvalue0</IDREFS>
> with schema 
>       <element name="IDREF" type="IDREF"/>
>       <element name="IDREFS" type="IDREFS"/>
> wehn written out again these elements are 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-452) IDREF, IDREFS not supported

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

ant elder updated TUSCANY-452:
------------------------------

    Fix Version/s: Cpp-current

> IDREF, IDREFS not supported
> ---------------------------
>
>                 Key: TUSCANY-452
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-452
>             Project: Tuscany
>          Issue Type: Bug
>          Components: C++ SDO
>    Affects Versions: Cpp-current
>         Environment: Windows XP
>            Reporter: Simon Laws
>             Fix For: Cpp-current
>
>
> Reading xml
>   <IDREF>idvalue0</IDREF>
>   <IDREFS>idvalue0</IDREFS>
> with schema 
>       <element name="IDREF" type="IDREF"/>
>       <element name="IDREFS" type="IDREFS"/>
> wehn written out again these elements are 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