You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org> on 2006/11/12 05:13:37 UTC
[jira] Created: (TUSCANY-920) SDO XML parser does not consider ns
prefix decls. from parent elements
SDO XML parser does not consider ns prefix decls. from parent elements
----------------------------------------------------------------------
Key: TUSCANY-920
URL: http://issues.apache.org/jira/browse/TUSCANY-920
Project: Tuscany
Issue Type: Bug
Components: C++ SDO
Affects Versions: Cpp-current
Reporter: Jean-Sebastien Delfino
Assigned To: Pete Robbins
Fix For: Cpp-current
When deserializing an XML doc, the SDO XML parser does not consider the ns prefix declarations from parent elements. The parser should be changed to work track current namespace prefix declarations using a stack.
The attached patch contains a simplistic fix for this issue, and simply merges any new ns prefix decls with the top level ones. I think that this will handle 99% of the cases, but in the longer term this should be replaced by a correct stack-based implementation.
--
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-920) SDO XML parser does not consider ns
prefix decls. from parent elements
Posted by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-920?page=all ]
Jean-Sebastien Delfino updated TUSCANY-920:
-------------------------------------------
Attachment: TUSCANY-920.patch
The attached patch was generated by svn diff run from the tuscany/cpp/sdo directory.
> SDO XML parser does not consider ns prefix decls. from parent elements
> ----------------------------------------------------------------------
>
> Key: TUSCANY-920
> URL: http://issues.apache.org/jira/browse/TUSCANY-920
> Project: Tuscany
> Issue Type: Bug
> Components: C++ SDO
> Affects Versions: Cpp-current
> Reporter: Jean-Sebastien Delfino
> Assigned To: Pete Robbins
> Fix For: Cpp-current
>
> Attachments: TUSCANY-920.patch
>
>
> When deserializing an XML doc, the SDO XML parser does not consider the ns prefix declarations from parent elements. The parser should be changed to work track current namespace prefix declarations using a stack.
> The attached patch contains a simplistic fix for this issue, and simply merges any new ns prefix decls with the top level ones. I think that this will handle 99% of the cases, but in the longer term this should be replaced by a correct stack-based implementation.
--
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-920) SDO XML parser does not consider ns
prefix decls. from parent elements
Posted by "Pete Robbins (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-920?page=all ]
Pete Robbins resolved TUSCANY-920.
----------------------------------
Resolution: Fixed
> SDO XML parser does not consider ns prefix decls. from parent elements
> ----------------------------------------------------------------------
>
> Key: TUSCANY-920
> URL: http://issues.apache.org/jira/browse/TUSCANY-920
> Project: Tuscany
> Issue Type: Bug
> Components: C++ SDO
> Affects Versions: Cpp-current
> Reporter: Jean-Sebastien Delfino
> Assigned To: Pete Robbins
> Fix For: Cpp-current
>
> Attachments: TUSCANY-920.patch
>
>
> When deserializing an XML doc, the SDO XML parser does not consider the ns prefix declarations from parent elements. The parser should be changed to work track current namespace prefix declarations using a stack.
> The attached patch contains a simplistic fix for this issue, and simply merges any new ns prefix decls with the top level ones. I think that this will handle 99% of the cases, but in the longer term this should be replaced by a correct stack-based implementation.
--
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