[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: XML Guidelines -05
At 14:55 02/06/19 -0400, Hollenbeck, Scott wrote:
The -05 version of the IETF XML guidelines document can be retrieved from
the mailing list web page:
http://www.imc.org/ietf-xml-use/index.html
Thanks for your contributions!
-Scott-
>>>>>>>>
4.4 XML Declarations
The XML declaration is also an
important marker for character set/encoding (see Section 5.1), if any
encoding other than UTF-8 is allowed.
>>>>>>>>
The end should be changed to
"if any encoding other than UTF-8 or UTF-16 is
used. Note that in the case of UTF-16, XML requires that the entity
starts with a so-called Byte Order Mark, which is not part of the
character data."
It's not the encodings allowed, but the specific one used, that makes
the declaration necessary.
>>>>>>>>
An XML
declaration should be required in cases where, if allowed, the
character encoding is anything other than UTF-8.
>>>>>>>>
This seems repetitive, but is now correct, except that the end
sould be changed to 'UTF-8 or UTF-16'.
>>>>>>>>
In
situations where encodings other than UTF-8 are allowed, the encoding
must be specified using an "encoding" attribute in the XML
declaration (see Section 4.4), even if there might be other protocol
mechanisms for designating the encoding.
>>>>>>>>
Again, change 'UTF-8 are allowed' to 'UTF-8 or UTF-16 are used'
(and 'In situations where' to 'When').
Regards, Martin.