[Bug 226079] Merge Review: libxml2

bugzilla at redhat.com bugzilla at redhat.com
Mon Jun 2 17:45:50 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Merge Review: libxml2


https://bugzilla.redhat.com/show_bug.cgi?id=226079





------- Additional Comments From veillard at redhat.com  2008-06-02 13:45 EST -------
Side note, could you point Toshio Kuratomi to XML specification appendix F.
  http://www.w3.org/TR/REC-xml/#sec-guessing-with-ext-info

He seems unaware that the software can expect XML files to be in a specific
encoding - contextual metadata which can't be preserved when saved on
a POSIX filesystem - and that this external information do override
both the autodetection and the encoding declaration. So basically by 
converting a XML file blindly you can break it in context even if it looks
legit say from an out of context xmllint checking.
  i.e. his suggestion here
  https://www.redhat.com/archives/fedora-packaging/2008-May/msg00071.html
is just broken, sorry. (me being 'chilling' is probably right in perspective
but that's not a technical issue !)

  And just in case I may sound stupid, please remember that UTF-16 is
the most common encoding for XML internal processing, on Windows, on the
Web (DOM imposes UTF-16) and in Java, which represent a huge subset of
the XML computing world.

Daniel

P.S.: It's not that i agree with appendix F-2 (I tried to get rid of it, failed)
      or with the use of UTF-16 (or derivative) over UTF-8, but that's just the
      way things are defined now.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the Fedora-package-review mailing list