You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Costin Manolache <co...@eng.sun.com> on 2000/08/01 00:06:00 UTC

Re: Compiling xalan-2

"Timm, Sean" wrote:

> This is a problem with the latest Xerces because of some changes in the DOM
> support...it compiles fine with 1.1.2.

Sorry, I don't understand how it could compile - you can't have
2 methods with the same name in a java class ( stree/ElementImpl).
But I'll try :-)

Also in ResultTreeFrag - it seem it depends on org.w3c.dom, it
shouldn't depend on xerces version.

( I'm working on xalan-2 - i.e. wathever is in xml-xalan/java )

Please help,
Costin

>
> The problems:
>  [javac] xml-xalan/java/src/org/apache/xalan/stree/ElementImpl.java:523:
> Duplicate method declaration: int getLength()
>
>   [javac]
> /home/costin/src/xml/xsl/xml-xalan/java/src/org/apache/xalan/stree/ElementIm
> pl.java:525:
> Method getAttrCount() not found in class
> org.apache.xalan.stree.ElementImpl.
>
>
> /home/costin/src/xml/xsl/xml-xalan/java/src/org/apache/xalan/transformer/Res
> ultTreeFrag.java:74:
> class org.apache.xalan.transformer.ResultTreeFrag must be declared
> abstract. It does not define boolean hasAttributes() from interface
> org.w3c.dom.Node.
>
> Thanks,
> Costin