{
//boolean result = false;
boolean result = true;
if (xmlDecl != null)
{
StringTokenizer st = new StringTokenizer(
OMMITED_XML_DECLARATION_DELIMITERS, XML_DECLARATION_DELIMITERS);
Enumeration tokens = st.parse(xmlDecl);
boolean found = false;
while (tokens.hasMoreElements() && !found)
{
String token = (String) tokens.nextElement();
if (token.equals(ENCODING_TOKEN))