XML Entity not defined

Questions about XML that are not covered by the other forums should go here.
Rares
Posts: 1

XML Entity not defined

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: 2326

Re: XML Entity not defined

Thu May 18, 2017 6:55 pm

Hi,

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

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

Return to “General XML Questions”

Who is online

Users browsing this forum: No registered users and 0 guests