GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
XML error  XML
Forum Index -> General
Author Message
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
geotree


[Avatar]
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
[WWW]
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team