Assume that a certain XMLDB has an HTTP listener function, and can receive XML documents via HTTP protocol.
In this case, the XMLDB follows [Procedure] below to identify the character encoding method of the XML document received.
[Procedure]
(1) If the XML document character encoding method can be determined from the HTTP request header, process the XML document character encoding according to the HTTP request header information.
(2) If the XML document character encoding method cannot be determined from the HTTP request header, identify the character encoding from the XML document itself
Select which is correct as the identified character encoding resulting from the procedure above when the XMLDB receives a well-formed XML document according to [Conditions] below. Assume that the XMLDB follows RFC3023.
[Conditions]
The actual character encoding method for XML document is "UTF-16;" however, no XML declaration is specified.
The HTTP request header defines "Content-Type: text/xml." however, the charset parameter is not defined in this Content-Type header field.
Currently there are no comments in this discussion, be the first to comment!