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/11/08 16:10:51 UTC
[jira] Created: (TUSCANY-908) CDATA sections are not handled
CDATA sections are not handled
------------------------------
Key: TUSCANY-908
URL: http://issues.apache.org/jira/browse/TUSCANY-908
Project: Tuscany
Issue Type: Bug
Components: C++ SDO
Affects Versions: Cpp-current, Cpp-M1, Cpp-M2
Environment: All
Reporter: Simon Laws
Assigned To: Simon Laws
Fix For: Cpp-current
The SDO C++ implement ignores CDATA sections that appear in input XML documents and provides no facilities for constructing CDATA sections through the API
--
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-908) CDATA sections are not handled
Posted by "Geoff Winn (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-908?page=all ]
Geoff Winn updated TUSCANY-908:
-------------------------------
Attachment: TUSCANY-908.patch
I've modified the original patch so that the test data corresponds to the current expected output. I've built and tested it successfully on RHEL 3 and XP using VC 7.1
> CDATA sections are not handled
> ------------------------------
>
> Key: TUSCANY-908
> URL: http://issues.apache.org/jira/browse/TUSCANY-908
> Project: Tuscany
> Issue Type: Bug
> Components: C++ SDO
> Affects Versions: Cpp-current, Cpp-M1, Cpp-M2
> Environment: All
> Reporter: Simon Laws
> Assigned To: Simon Laws
> Fix For: Cpp-current
>
> Attachments: cdata.txt, TUSCANY-908.patch
>
>
> The SDO C++ implement ignores CDATA sections that appear in input XML documents and provides no facilities for constructing CDATA sections through the API
--
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-908) CDATA sections are not handled
Posted by "Simon Laws (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-908?page=all ]
Simon Laws updated TUSCANY-908:
-------------------------------
Attachment: cdata-2-src.txt
cdata-2-src.txt
The source file changes to take account fo CDATA sections in sequences. Should be applied to src/commonj/sdo but this is an Eclipse patch so expect will cause problems.
> CDATA sections are not handled
> ------------------------------
>
> Key: TUSCANY-908
> URL: http://issues.apache.org/jira/browse/TUSCANY-908
> Project: Tuscany
> Issue Type: Bug
> Components: C++ SDO
> Affects Versions: Cpp-current, Cpp-M1, Cpp-M2
> Environment: All
> Reporter: Simon Laws
> Assigned To: Simon Laws
> Fix For: Cpp-current
>
> Attachments: cdata-2-src.txt, cdata.txt, TUSCANY-908.patch
>
>
> The SDO C++ implement ignores CDATA sections that appear in input XML documents and provides no facilities for constructing CDATA sections through the API
--
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-908) CDATA sections are not handled
Posted by "Simon Laws (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-908?page=all ]
Simon Laws updated TUSCANY-908:
-------------------------------
Attachment: cdata-2-test.txt
cdata-2-test.txt
The changes to CDATA tests to take account of CDATA sections in sequences. Should be applied to core/test but again it's an Eclipse patch so may need a little tweaking.
> CDATA sections are not handled
> ------------------------------
>
> Key: TUSCANY-908
> URL: http://issues.apache.org/jira/browse/TUSCANY-908
> Project: Tuscany
> Issue Type: Bug
> Components: C++ SDO
> Affects Versions: Cpp-current, Cpp-M1, Cpp-M2
> Environment: All
> Reporter: Simon Laws
> Assigned To: Simon Laws
> Fix For: Cpp-current
>
> Attachments: cdata-2-src.txt, cdata-2-test.txt, cdata.txt, TUSCANY-908.patch
>
>
> The SDO C++ implement ignores CDATA sections that appear in input XML documents and provides no facilities for constructing CDATA sections through the API
--
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] Resolved: (TUSCANY-908) CDATA sections are not handled
Posted by "Pete Robbins (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-908?page=all ]
Pete Robbins resolved TUSCANY-908.
----------------------------------
Resolution: Fixed
Patch applied
> CDATA sections are not handled
> ------------------------------
>
> Key: TUSCANY-908
> URL: http://issues.apache.org/jira/browse/TUSCANY-908
> Project: Tuscany
> Issue Type: Bug
> Components: C++ SDO
> Affects Versions: Cpp-current, Cpp-M1, Cpp-M2
> Environment: All
> Reporter: Simon Laws
> Assigned To: Simon Laws
> Fix For: Cpp-current
>
> Attachments: cdata.txt, TUSCANY-908.patch
>
>
> The SDO C++ implement ignores CDATA sections that appear in input XML documents and provides no facilities for constructing CDATA sections through the API
--
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-908) CDATA sections are not handled
Posted by "Simon Laws (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-908?page=all ]
Simon Laws updated TUSCANY-908:
-------------------------------
Attachment: cdata.txt
A preliminary patch for handling CDATA sections. The approach taken is to allow CDATA sections to appear in property values within data objects. In this way CDATA can be accessed through the standard SDO API for either reading or creating strings,i.e. what you see is what you get. The user must be aware of the syntax of CDATA section markers and be prepared to process them.
This gives us to oppotunity to experiment wih CDATA a little and see how we feel about this approach. It was not the only approach considered when looking for a solution. In particular the introdcution of special flags to the SDO core was considered. This approach is problematic when CDATA sections appear as part of a primitive string value. We would have to undertake so fairly serious changes to the SDO core to make primit string properties that contain CDATA sections and where in those strings the CDATA appears in order that it can be pulled out for processing.
The patch has been created using subclipse which, AFAIK, doesn't support relative paths. Sorry about that. The answer is to decide where to apply it and then edit the patch file to change the contained paths appropriately.
> CDATA sections are not handled
> ------------------------------
>
> Key: TUSCANY-908
> URL: http://issues.apache.org/jira/browse/TUSCANY-908
> Project: Tuscany
> Issue Type: Bug
> Components: C++ SDO
> Affects Versions: Cpp-current, Cpp-M1, Cpp-M2
> Environment: All
> Reporter: Simon Laws
> Assigned To: Simon Laws
> Fix For: Cpp-current
>
> Attachments: cdata.txt
>
>
> The SDO C++ implement ignores CDATA sections that appear in input XML documents and provides no facilities for constructing CDATA sections through the API
--
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