Warning - DOMDocument::loadXML() [domdocument.loadxml]: Start tag expected, '



DOMDocument::loadXML() [domdocument.loadxml]: Start tag expected, '<' not found in Entity


I am getting this above warning when I am running my project on Ubuntu. The xml response coming without xml tags (< and >). In windows, it is working properly. What is the problem? How can I solve this?


The error means you are not passing (valid) XML to DOMDocument::loadXML. To fix it, pass XML to it.


It is also (for some conditions like a empty root tag) a PHP BUG!

<a href="https://bugs.php.net/bug.php?id=50661" rel="nofollow">https://bugs.php.net/bug.php?id=50661</a>

I am using "PHP Version 5.3.6-13ubuntu3.6" and the bug is there.


  • How would I send and receive packets over a WebSocket in Javascript
  • removing the default blue color on focus
  • MySQL multiple IN conditions to subquery with same table
  • What is ./.local/share/Trash (Unix) [closed]
  • Lua: Line breaks in strings
  • Is it possible to get the word under the mouse cursor in a ``?
  • Building Qt project for C++11 standard
  • BeautifulSoup difference between findAll and findChildren
  • NHibernate manually control fetching
  • Does Apportable support to build library binary (.a/.so)?
  • Is there a way to save the selected text and highlight it again once the page is refreshed?
  • Python pickle not one-to-one: different pickles give same object
  • IE11 throwing “SCRIPT1014: invalid character” where all other browsers work
  • Convert Type Decimal to Hex (string) in .NET 3.5
  • Jenkins: FATAL: Could not initialize class hudson.util.ProcessTree$UnixReflection
  • Xcode 4 NSLog Macro link in Xcode 3
  • Play WS (2.2.1): post/put large request
  • D3 nodes and links from JSON with nested arrays of children
  • Switching to Release Build causes runtime error in Web Reference
  • Join two tables and save into third-sql
  • Deserializing XML into class C#
  • Arrow is showed instead of the material design version hamburger icon. Why doesn't syncState in
  • How to model a transition system with SPIN
  • ORA-29908: missing primary invocation for ancillary operator
  • QuartzCore.framework for Mono Develop
  • Is there a mandatory requirement to switch app.yaml?
  • How to format a variable of double type
  • Matrix multiplication with MKL
  • File upload with ng-file-upload throwing error
  • ExecuteAsync RestSharp to allow backgroundWorker CancellationPending c#
  • AngularJs get employee from factory
  • Hits per day in Google Big Query
  • Understanding cpu registers
  • File not found error Google Drive API
  • costura.fody for a dll that references another dll
  • Observable and ngFor in Angular 2
  • How to Embed XSL into XML
  • UserPrincipal.Current returns apppool on IIS
  • Converting MP3 duration time
  • Conditional In-Line CSS for IE and Others?