[xml] [Bug 126351] Changed - Entity resolution failed



From: bugzilla-daemon widget gnome org
To: daniel veillard com, tom_schr web de,
        libxml-qa-maint bugzilla gnome org
Cc: ke suse de
Subject: [Bug 126351] Changed - Entity resolution failed
Message-Id: <20031106161718 3B8AB40460 widget gnome org>
Date: Thu,  6 Nov 2003 11:17:18 -0500 (EST)

http://bugzilla.gnome.org/show_bug.cgi?id=126351

Changed by daniel veillard com 


[...]

+------- Additional Comments From daniel veillard com  2003-11-06 11:17 -------
+Actually it's for a slightly different reason:
+  booktitle.xml is an external parsed entity.
+The <?xml at the beginning us not parsed using the xmlDecl rule of
+XML-1.0 but by textDecl
+   http://www.w3.org/TR/REC-xml#NT-TextDecl
+the encoding is mandatory for external parsed entities.
+
+The document must be fixed. It was a bug in libxml2 that apparently
+got introduced at some point (I used to check that I'm sure) and
+got fixed in 2.6.2
+The gimp files will have to be fixed !
+Or they should use XInclude to aggregate the files instead of
+using external parsed entities.
+
+Daniel

I guess this section is what you have in mind:

    Although an XML processor is required to read only entities in the
    UTF-8 and UTF-16 encodings, it is recognized that other encodings
    are used around the world, and it may be desired for XML processors
    to read entities that use them. In the absence of external character
    encoding information (such as MIME headers), parsed entities which
    are stored in an encoding other than UTF-8 or UTF-16 must begin with
    a text declaration (see 4.3.1 The Text Declaration) containing an
    encoding declaration:

For my understanding it clearly says the encoding info is required for
encodings _other than UTF-8 or UTF-16_.  For UTF-16 the BOM is required,
though.  My English is flaky, thus it's possible that I don't understand
this paragraph properly.  Or do you have anothers section in mind?

Karl



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