What XML version to use?

前端 未结 3 1313
悲&欢浪女
悲&欢浪女 2021-01-03 23:32

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 u

相关标签:
3条回答
  • 2021-01-04 00:08

    XML 1.1 came out of a fanatical desire to be "inclusive" by supporting all the world's languages, including methods of writing Abyssinian that were only used for 15 years nearly a century ago. If you are one of the 99.99999% of the population who doesn't need to capture ancient manuscripts, XML 1.1 is a total waste of time.

    0 讨论(0)
  • 2021-01-04 00:19

    Beyond non-useful things (like silly EBCDIC linefeeds), there is unfortunately one nice feature that XML 1.1 allows: ability to use character entities for Unicode/ASCII control characters other than LF/CR/Tab. Except that you still can not include nulls, even using character references.

    So this is hardly enough to make one use 1.1, unless there is specific need to contain these characters.

    0 讨论(0)
  • 2021-01-04 00:34

    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

    0 讨论(0)
提交回复
热议问题