|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-02-09 01:58 UTC] robert dot de dot wilde at online dot nl
[2017-01-10 08:12 UTC] kalle@php.net
-Status: Open
+Status: Suspended
[2017-01-10 08:12 UTC] kalle@php.net
[2021-11-16 12:37 UTC] ahmedolfat07 at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 17:00:01 2025 UTC |
Description: ------------ The script gives me a fatal error. I just try to load the XML Schema example code from w3schools, but it didn't work I tried removing whitespaces, it didn't help; Reproduce code: --------------- <?php $oXMLFactory = SDO_DAS_XML::create(); $oXMLFactory->loadString('<?xml version="1.0"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="default"> <xs:complexType name="nodeType"> <xs:sequence> <xs:element name="to" type="xs:string"/> <xs:element name="from" type="xs:string"/> <xs:element name="heading" type="xs:string"/> <xs:element name="body" type="xs:string"/> </xs:sequence> </xs:complexType> <xs:element name="note" type="noteType"/> </xs:schema>'); ?> Expected result: ---------------- Loading the definition; NO ERROR; Actual result: -------------- Fatal error: Uncaught exception 'SDO_DAS_XML_ParserException' with message 'SDO_DAS_XML::loadString - Unable to parse the supplied xml string 0 parse error(s) occurred when parsing the string: ' in /var/www/client/some.ext/http/rows/index.php:3 Stack trace: #0 /var/www/client/some.ext/http/rows/index.php(3): SDO_DAS_XML->loadString('<?xml version="...') #1 {main} thrown in /var/www/client/some.ext/http/rows/index.php on line 3