Re: [xml] When will you support xml version 1.1?

Dear Daniel.

Sorry, to have offended you. That never was my intentition.

So, the short answer is "No, libxml is not going to support xml version

Daniel Veillard wrote:

On Wed, Jun 06, 2007 at 11:35:09AM +0200, Oliver Meyer wrote:
Hi everybody,

in xml 1.1 you are allowed to have e.g.  as an attribute value. My xmllint does not support that version.
Are you planning to support xml 1.1?

Kind Regards,


   <?xml version = "1.1" encoding = "UTF-8"?>
   <foo a= '&#7;'/>

And what is the meaning of that &#7; ?

It's a BELL char. But, yes you are right: We'd like to express that
char, because we receive binary data, that we do not interpret and just
pass along in "xml"-format.

My point on the subject is the following:
  - 1.1 allows to dump invalid content unchecked from database without
    worrying about semantic. Does this help interoperability ? No,
    clean up your databases

Well, you can store binary data in a database. ;-)

But then: Don't store it in XML, but in binary. I got the point.

  - Also note that 1.1 rejects documents which are well-formed from
    an 1.0 perspective, see production RestrictedChar, the code point
    [#xE-#x1F] | [#x7F-#x84] | [#x86-#x9F] which used to be allowed as-is
    will now raise a well-formedness error.

That is really bad. To be over precise: [#xE-#x1F] is not allowed in 1.0

I am part of the Working Group which created XML-1.1, there were good intents
for it like cleanup w.r.t. Unicode, but some big vendors also pushed for
allowing characters which were IMHO rightfully blocked in 1.0 . And it's
unfortunately not backward compatible. While I would be sensible to request driven by the good intents, yours
is from my perspective due to the fact that you have not well defined data
and you would like to make this 'portable'. Please clean your data instead of sending the problem to the next person in the food chain.

The person sending us the data and the person that receives that data
are/is the same person :-)

  I don't see how '&#7;' could make any sense if I received it in a
text document (yes XML is fundamentally text), maybe I need to be enlightened !
But this was debated to death in the Working Group before, my opinion is
well set, and I prefer to protect my users base from the real use of 1.1
(and thanks to the Web gods, the request to allow code point 0 was blocked !)

  In a nutshell, no, clean up your data, or use something else, if
you really want to send raw data, why not use binary directly ? That's
just fine, but don't pretend it's a text format.


Thanks for the answer,

Dr. Oliver Meyer

DSA Daten- und Systemtechnik GmbH
Pascalstrasse 28
D-52076 Aachen

Phone:    +49(2408)9492-793
Fax:      +49(2408)9492-92
E-mail:   Oliver Meyer dsa-ac de

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]