Re: DTD problem with MrProject
- From: Christian Biesinger <cbiesinger web de>
- Cc: gnome-office-list gnome org
- Subject: Re: DTD problem with MrProject
- Date: Thu, 13 Nov 2003 10:30:23 +0000
Richard Hult wrote:
tor 2003-11-13 klockan 00.04 skrev Christian E. Kaas:
It works if I extend the xml tag
<?xml version ="1.0" encoding="ISO-8859-1"?>
You should use encoding="UTF-8" since that's the encoding of the files.
Why is that needed?
Per http://www.w3.org/TR/xml11/#sec-prolog-dtd, the encoding attribute
is optional.
http://www.w3.org/TR/xml11/#NT-EncodingDecl also says:
"[...] it is also a fatal error if an XML entity contains no encoding
declaration and its content is not legal UTF-8 or UTF-16."
Hence, UTF-8 xml files should not need an encoding declaration.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]