Make sure _nothing_ preceeds the XML Declaration -- not even whitespace -- except the optional Byte Order Mark.
Make sure _nothing_ comes between the XML Declaration and the start tag for the root element except comments, whitespace, or processing instructions. If those check out, we'd need to see the first several lines rather than just the XML Declaration. But actually, you should probably be asking the Xerces folks, since this is a parser error rather than an Xalan error. ______________________________________ Joe Kesselman / IBM Research
