"Kishore Lakshmana Nererella - TLS, Chennai" <[EMAIL PROTECTED]> wrote on 10/13/2006 09:22:52 AM:
> Hi, > I am working on an XML module in a Java project. I am using Apache's > Xerces library for XML handling. While building the project using Ant script > (ver 1.6.5), I am getting an error of "cannot resolve symbol: method > setTextContent(java.lang.String)". Going through the libraries that ant > build accesses, I found that it is using xml-apis.jar for XML functionality. > I went through the JAR file and found that it doesn't have the > setTextContent function of Node class. Then I replaced this JAR file with > the Xerces 2.8.1's xml-apis.jar file (a newer version which has this > function included in it). Inspite of doing this, I am getting the same > error. > > Can somebody please help me in resolving this issue? I had been working on > this issue since two days. So, please help me out. If you're running with JDK 1.4+ you need to use the "Endorsed Standards Override Mechanism" [1]. > Thanks in advance. > > Regards, > Kishore. [1] http://java.sun.com/j2se/1.4.2/docs/guide/standards/ Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
