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.
Thanks in advance.
Regards,
Kishore.
Disclaimer:
>This message and any attachment(s) contained here are information that is
>confidential, proprietary to HCL Technologies and its customers. Contents
may be privileged or otherwise protected >by law. The >information is solely
intended for the individual or the entity it is addressed to. If you are
>not the intended >recipient of this message, you are not authorized to
read, forward, >print, retain, >copy or disseminate this message or any part
of it. If you >have received >this e-mail in error, please notify the sender
immediately by >return e-mail >and delete it from your computer.
DISCLAIMER
The contents of this e-mail and any attachment(s) are confidential and intended
for the
named recipient(s) only. It shall not attach any liability on the originator or
HCL or its
affiliates. Any views or opinions presented in this email are solely those of
the author and
may not necessarily reflect the opinions of HCL or its affiliates. Any form of
reproduction,
dissemination, copying, disclosure, modification, distribution and / or
publication of this
message without the prior written consent of the author of this e-mail is
strictly
prohibited. If you have received this email in error please delete it and
notify the sender
immediately. Before opening any mail and attachments please check them for
viruses and
defect.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]