GeoNames Home
|
Postal Codes
|
Download / Webservice
|
About
GeoNames Forum
Search
Recent Topics
Back to home page
Register
/
Login
XML error
Forum Index
->
General
Author
Message
04/10/2011 23:00:56
Subject:
XML error
gglmg
Joined: 26/06/2009 01:16:50
Messages: 9
Offline
when Parsing Brugges XML we get
Error(2) :: 'DOMDocument::loadXML() [<a href='http://php.net/domdocument.loadxml'>domdocument.loadxml</a>]: [^] Failed to parse QName 'dbpprop:' in Entity, line: 468' on file /home/merrcury/engine/core/cake/libs/merrcury_xml_parser.php(34)
The error message says: "Failed to parse QName 'dbpprop:'"
This is because there's an element like this in the XML:
<dbpprop: xmlns:dbpprop="http://dbpedia.org/property/" [^] rdf:datatype="http://www.w3.org/2001/XMLSchema#int">59</dbpprop:> [^]
But it cannot be just "dbpprop:", there must be something else, like "dbpprop:placeOfBirth" or "dbpprop:name"
This means you are missign that in the XML
05/10/2011 18:31:09
Subject:
Re:XML error
geotree
Joined: 23/07/2007 18:28:40
Messages: 138
Location: France
Offline
Are you sure you try to parse a XML file coming from GeoNames ?
Please give the exact link so that we can investigate.
Christophe
geotree.geonames.org
geotree.geonames.org/geotree.html
Forum Index
->
General
Go to:
Select a forum
Forum in English
-------------
General
Administrative Divisions
FAQ - frequently asked questions
Postal Codes
Discussion of GeoNames Toponyms
Forum in other language
-------------
Forum in Deutsch
Powered by
JForum 2.1.5
©
JForum Team
info@geonames.org
GeoNames Home
Postal Codes
Download / Webservice
Forum
About