XML declaration tag in WCF RESTful service

Is it correct to include XML declaration tag like this \[code\]<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\[/code\] into WCF RESTful service response? A service response is described by the XSD below:\[code\]<?xml version="1.0" encoding="utf-8"?><xsd:schema version="1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:element name="root"> </xsd:element></xsd:schema>\[/code\]Also is we need mandatory set the declaration tag in cause if encoding changed to UTF-16?
 
Back
Top