Search code examples
xmlxml-1.1

What XML version to use?


I have an online shop where vendors can upload and import there articles in two formats.

  1. plain text (tab delimted)
  2. XML

Currently I'm using XML 1.0.

However I see there is also a version 1.1

At wikipedia it is stated that for most uses 1.0 will be OK to use. http://en.wikipedia.org/wiki/XML#Versions

It also states it uses the following Unicode encoding: Unicode 2.0 to Unicode 3.2.

In the fifth edition, XML names may contain characters in the Balinese, Cham, or Phoenician scripts among many others which have been added to Unicode since Unicode 3.2

Currently I only have a couple of 'latin' based languages but this may change in the future and I want to be prepared.

Are there any characters in Unicode 3.2 not supported for some languages? Is v1.0 safe to use for me?

If you need more info just let me know.


Solution

  • Use version 1.0.

    You would only need to use version 1.1 if you are using certain non-ASCII characters in identifiers, EBCDIC line ending characters, or control characters (character codes 1 - 31).

    Rationale and list of changes for XML 1.1