You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Daniel Barclay <Da...@digitalfocus.com> on 2000/06/07 17:34:27 UTC

bug: doc.: XSLTProcessorFactory: bad ref. to XercesLiaison

(Re Xalan version 1.0.1:)

There's an error in the documentation for XSLTProcessorFactory.getProcessor().


The method description for XSLTProcessorFactory.getProcessor() says:

     Note If you want to process DOM Node input, use
     getProcessorUsingLiaisonName(org.apache.xalan.xdom.XercesLiaison).

1.  That class name is wrong.  Instead of:
     org.apache.xalan.xdom.XercesLiaison
it (apparently) should be:
    org.apache.xalan.xpath.xdom.XercesLiaison

2.  (It's ambiguous whether "getProcessorUsingLiaisonName(org.apache.xalan.xdom.XercesLiaison)" is
meant to be a method signature or source code to use.)

3.  The syntax is illegal.  You can't use a class name in a method call.
The class name must be given as a string, as in:
	getProcessorUsingLiaisonName("org.apache.xalan.xpath.xdom.XercesLiaison")


Daniel
-- 
Daniel Barclay
Digital Focus
Daniel.Barclay@digitalfocus.com