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

On Fri, Nov 07, 2003 at 09:44:50AM +0100, Karl Eichwalder wrote:
Daniel Veillard <veillard redhat com> writes:

What I pointed to is IMHO very clear:
  4.3.1 The Text Declaration

  External parsed entities should each begin with a text declaration.
  Text Declaration
  [77]    TextDecl    ::=    '<?xml' VersionInfo? EncodingDecl S? '?>'

Problem: "should" is not defined in "1.2 Terminology".

  The production rule is normative, it is a fatal error, believe me !

My conclusion is right, you must add the encoding declaration in the
included entities (or drop the TextDecl altogether if using UTF-8,

Okay, that's define in [78] - I did'nt read the REC carefully enough.

  Sorry for letting this go through. I'm pretty sure I did implement
that check a couple of years ago, but it somewhat disapeared, I don't 
know why :-\


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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