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

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 following entity:
<?xml version='1.0'>

  is fine as a document.

Okay, but the constraint is defined in clause [78] ;)


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.


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