|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57236 Substituation group processing not working
Submitted: 2006-09-14 06:21 UTC Modified: 2007-06-25 08:50 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 06:21 UTC] simonslaws at googlemail dot com
SDO fails to recognize elements in a substitution group other than the base element of the substitution group

Reproduce code:

  <complexType name="ComplexTypeSubstitutionGroupBaseType">
      <element name="ElementInSubstitutionGroupBase" type="string"/>
  <element name="ElementSubstitutionGroupBase" type="tns:ComplexTypeSubstitutionGroupBaseType"/>

  <element name="ElementSubstitutionGroupUnrelated" type="string" substitutionGroup="tns:ElementSubstitutionGroupBase"/>
  <complexType name="ComplexTypeSubstitutionGroupExtendsType">
      <extension base="tns:ComplexTypeSubstitutionGroupBaseType">
          <element name="ElementInSubstitutionGroupExtends" type="string"/>
  <element name="ElementSubstitutionGroupExtends" type="tns:ComplexTypeSubstitutionGroupExtendsType" substitutionGroup="tns:ElementSubstitutionGroupBase"/>
  <element name="RootElement40">
        <element ref="tns:ElementSubstitutionGroupBase" maxOccurs="unbounded" />

input XML

<RootElement40 xmlns=""
	xsi:schemaLocation=" interop40.xsd">


        <ElementSubstitutionUnrelated>Some Data</ElementSubstitutionUnrelated>



Expected result:
Creation of SDO

Actual result:
Exception in PHP Interop test: SDO_DAS_XML::loadFile - Unable to parse the suppl
ied xml file
2 parse error(s) occurred when parsing the file './interop40-in.xml':
1. Parser found unknown element ElementSubstitutionUnrelated
2. Parser found unknown element ElementSubstitutionGroupExtends


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-04-24 18:25 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.

Also the testcase is incomplete. Please make sure the schema is complete if you reopen.
 [2007-06-25 08:50 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-2021 The PHP Group
All rights reserved.
Last updated: Sun Dec 05 02:03:34 2021 UTC