This is the mail archive of the mailing list .

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bad Continuation of Multi-Byte UTF-8 Sequence

/ Jirka Kosek <> was heard to say:
| > / Jirka Kosek <> was heard to say:
| > | All other files than master should contain only encoding declaration not
| > | full XML declaration:
| > |
| > | <?xml encoding="???"?>
| > 
| > I don't think that's valid XML. If you introduce an XML declaration,
| > you must specify the XML version number (and it must be 1.0).
| Encoding can be specified by this way for external parsed entities,
| version pseudoattribute is optional - 

With respect, the version pseudoattribute is not optional. From the
XML Recommendation:

   [22] prolog  ::= XMLDecl? Misc* (doctypedecl Misc*)?
   [23] XMLDecl ::= '<?xml' VersionInfo EncodingDecl? SDDecl? S? '?>'

The XML Declaration is optional, but if it is present, the version
pseudoattribute must be present.

| moreover some XML processors are
| unable to process external entity if it contains version information in
| its declaration.   

That's a bug in the implementation.

                                        Be seeing you,

Norman Walsh <>      | All the good maxims already exist | in the world; we just fail to
Chair, DocBook Technical Committee | apply them.--Pascal

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]