|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57234 SDOName written out instead of original element name
Submitted: 2006-09-14 05:46 UTC Modified: 2007-06-25 08:49 UTC
From: simonslaws at googlemail dot com Assigned:
Status: No Feedback Package: SCA_SDO (PECL)
PHP Version: 5.1.4 OS: XP
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-09-14 05:46 UTC] simonslaws at googlemail dot com
XML elements can have and sdo name attribute to tell SDO how it should refer to the element. However SDO is writing this SDO name out as the element name when the data objects are written to XML. The resulting XML does not validate. 

Reproduce code:
  <element name="RootElement34">
        <element name="ElementWithSDOName" sdo:name="ElementWithSDONameSDOName" type="string"/>

Input XML

<tns:RootElement34 xmlns:tns=""
	xsi:schemaLocation=" interop34.xsd">

Expected result:
<tns:RootElement34 xmlns:tns=""
	xsi:schemaLocation=" interop34.xsd">

Actual result:
<RootElement34 xmlns="" xsi:type="RootElement34" xmlns:tns="" xmlns:xsi="">


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-14 08:07 UTC] simonslaws at googlemail dot com
This also applies to the attributes with SDO name
 [2007-04-24 18:11 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PECL.

I think you're probably describing a Tuscany problem, but there's no link in the defect and I don't see an obvious issue which corresponds. Please either add a link, or if this is a problem with the PHP extension, confirm that it still exists with the latest release.
 [2007-06-25 08:49 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Oct 25 09:01:23 2020 UTC