XML Entity not defined

Questions about XML that are not covered by the other forums should go here.
Rares
Posts: 1
Joined: Thu May 18, 2017 6:39 pm

XML Entity not defined

Post by Rares » Thu May 18, 2017 6:49 pm

In this code at the link i have this error: Entity 'id' not defined.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<applicationID appID="AstroAndAliensLauncher">
<latestVersion>2.0</latestVersion>
<latestVersionUrl>https://docs.google.com/uc?export=download&id=0B5zn7TabTxbjM1kwdEZYRGo3NEU</latestVersionUrl>
<description>Is Working</description>
</applicationID>
How i can solve that?

adrian
Posts: 2580
Joined: Tue May 17, 2005 4:01 pm

Re: XML Entity not defined

Post by adrian » Thu May 18, 2017 6:55 pm

Hi,

& is a special character in XML. You need to escape it.
Replace & (from &id) with &

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Post Reply