When I first read this, it didn't mean anything to me. But looking at it again, I think I saw something like that when Ant didn't think the build.xml was an XML file, so it started complaining from the first character.
Try prefixing the web.xml file with a valid XML definition:
You may be having the same problem with your web.xml as I once think I had with build.xml. [ May 14, 2007: Message edited by: Tim Holloway ]
Got idle CPU cycles? Join the war on COVID-19 by donating them to find the coronavirus' weak spots. folding@home Runs in the background. https://foldingathome.org
Come have lunch with me Arthur. Adventure will follow. This tiny ad: