This is the mail archive of the
mailing list .
Re: Bad Continuation of Multi-Byte UTF-8 Sequence
/ Jirka Kosek <firstname.lastname@example.org> was heard to say:
| > / Jirka Kosek <email@example.com> 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
 prolog ::= XMLDecl? Misc* (doctypedecl Misc*)?
 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 <firstname.lastname@example.org> | All the good maxims already exist
http://www.oasis-open.org/docbook/ | in the world; we just fail to
Chair, DocBook Technical Committee | apply them.--Pascal