Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there such a thing as XML 2.0?

Tags:

xml

I'm trying to build a .swc containing a .xml config file into Flash Builder, but I keep getting an error saying that there is an XML version mismatch on my .xml config file; it specifies a 2.0 xml.

I've tried on my own specifying a version 2.0 in the opening tag of the .xml file such as:

<?xml version="2.0" encoding="UTF-8"?>

but that didn't work.

I also googled xml 2.0 and wikipedia says that there is no official release of xml 2.0, though a few sites mention the above opening tags as xml 2.0. So is there xml 2.0 out there and if so, how do I use it?

like image 367
Pat Avatar asked Jan 14 '11 14:01

Pat


People also ask

Is XML version required?

Note that in an XML Declaration the encoding and standalone are both optional. Only the version is mandatory. Also, these are not attributes, so if they are present they must be in that order: version , followed by any encoding , followed by any standalone . <?

What is XML file format?

What is XML? The Extensible Markup Language (XML) is a simple text-based format for representing structured information: documents, data, configuration, books, transactions, invoices, and much more. It was derived from an older standard format called SGML (ISO 8879), in order to be more suitable for Web use.

How do I run an XML file?

Right-click the XML file and select "Open With." This will display a list of programs to open the file in. Select "Notepad" (Windows) or "TextEdit" (Mac). These are the pre-installed text editors for each operating system and should already be on the list. Any basic text editors will work.


1 Answers

No there is not. There are currently two versions of XML: v1.0 and v1.1. The v1.0 Standard is currently available in the Fifth Edition, the v1.1 Standard in the Second Edition.

The W3C recommends the use of v1.0, as long as you dont need the features of v1.1.

All to be read here on wikipedia and here on the W3C page.

like image 120
fresskoma Avatar answered Oct 17 '22 06:10

fresskoma