|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-04-24 18:21 UTC] cem@php.net
[2007-04-25 07:33 UTC] cem@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 12:00:01 2025 UTC |
Description: ------------ SDO crashes when reading nillable elements that are explicitly set to nil. Reproduce code: --------------- Schema <element name="RootElement39"> <complexType> <sequence> <element name="ElementWithNillable" type="string" nillable="true" maxOccurs="unbounded"/> </sequence> </complexType> </element> Input XML <tns:RootElement39 xmlns:tns="http://www.apache.org/tuscany/interop" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.apache.org/tuscany/interop interop39.xsd"> <ElementWithNillable/> <ElementWithNillable xsi:nil="true"/> </tns:RootElement39> Expected result: ---------------- No Crash Actual result: -------------- Crash Removing the Element <ElementWithNillable xsi:nil="true"/> Allows SDO to read the XML successfully.