logo       

Re: Xmlc: Versions, errors, etc.: msg#00001

java.enhydra.xmlc

Subject: Re: Xmlc: Versions, errors, etc.

On Wednesday 09 October 2002 17:21, Ben Sinclair wrote:
> This isn't really a problem, but it's annoying. Somewhere I must have
> different versions of something, but I'm not sure what or where.
>
> I develop in my IDE, and use ant when creating a distribution build. My ant
> task uses XMLC to generate classes from my HTML, which works fine. My ant
> task compiles these classes just fine as well.
>
> However, when in my IDE, it thinks the generated classes have errors:
>
> public class ChangePasswordHTML extends
> org.enhydra.xml.xmlc.html.HTMLObjectImpl implements
> org.enhydra.xml.xmlc.XMLObject, org.enhydra.xml.xmlc.html.HTMLObject {
>
> This class, which was generated, says it needs to implement
> org.w3c.dom.Node.isSupported
>
> It also doesn't like: fPreFormatOutputOptions.setEncoding("ISO-8859-1");

That's probably due to different versions of the org.w3c.dom Interfaces.
Unfortunately, these are included in quite a number of other libraries, so it
can be a bit of work to track down the .jar where they live in.

> I think I'm generating these classes using a different version of XMLC than
> my IDE is looking at for error checking, but as far as I can tell I'm using
> the exact same set of libraries.
>
> Does anyone know what I might check, maybe I'm doing something else wrong?

Look for any libraries that contain the org.w3c.dom interfaces that is on the
class path of your IDE, but not on the class path for the ant compile.

Hope this helps,

Richard
--
Richard Kunze

[ t]ivano Software, Bahnhofstr. 18, 63263 Neu-Isenburg
Tel.: +49 6102 80 99 07 - 0, Fax.: +49 6102 80 99 07 - 1
http://www.tivano.de, kunze@xxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise