|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-04-24 18:06 UTC] cem@php.net
[2007-06-25 08:48 UTC] cem@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 14:00:01 2025 UTC |
Description: ------------ When you read a list into SDO from and XML file and write it back out to file the input and output don't match Reproduce code: --------------- With schema <simpleType name="SimpleTypeWithListType"> <list itemType="string"/> </simpleType> <element name="RootElement16"> <complexType> <sequence> <element name="SimpleTypeWithList" type="tns:SimpleTypeWithListType"/> </sequence> </complexType> </element> And input <tns:RootElement16 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 interop16.xsd"> <SimpleTypeWithList> listmember1 listmember2 </SimpleTypeWithList> </tns:RootElement16> Expected result: ---------------- <tns:RootElement16 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 interop16.xsd"> <SimpleTypeWithList> listmember1 listmember2 </SimpleTypeWithList> </tns:RootElement16> Actual result: -------------- <RootElement16 xmlns="http://www.apache.org/tuscany/interop" xsi:type="RootElement16" xmlns:tns="http://www.apache.org/tuscany/interop" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SimpleTypeWithList> <values>listmember1</values> <values>listmember2</values> </SimpleTypeWithList> </RootElement16>