|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57401 Sequence information lost during clone()
Submitted: 2006-11-28 06:19 UTC Modified: 2007-04-24 11:50 UTC
From: Assigned: tuscany (profile)
Status: Closed Package: SCA_SDO (PECL)
PHP Version: 5.2.0 RC4 OS: XP
Private report: No CVE-ID: None
 [2006-11-28 06:19 UTC]
I have a sequenced type defined by a schema with mixed=true.  I can load an instance of this using the XML DAS, write it out again and all is fine.

The problem occurs when I clone the SDO into a new XML_Document and then write that out (can be using the same XML DAS).  All sequence text/formatting is lost as a result.  I have checked and the new SDO is still sequenced, it's just the  sequence content which has been lost.

Reproduce code:
Test case can be provided on request.

Expected result:
Cloning should preserve sequence data.

Actual result:
Cloning loses sequence information.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-28 08:22 UTC]
I've created for this.
 [2007-04-24 11:50 UTC]
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at

Was fixed in release 1.1.2
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon May 29 13:03:45 2023 UTC