I do not know about SunOne 7, but the problem that causes this stacktrace is a leading line break or any other white space before the openinng <?xml...> processing instruction. Make sure that your tld really starts with <?xml version="1.0" encoding="utf-8"?>.
[Message sent by forum member 'writtmeyer' (writtmeyer)]
http://forums.java.net/jive/thread.jspa?messageID=273411