Hi, Fr�d�ric.

Fr�d�ric Laurent <[EMAIL PROTECTED]> wrote on 2004-05-04 04:41:37 PM:
> Elena Litani wrote:
> > Xerced does not support direct casting, but as described in the "Mixed
> > implementations" [2] section the implementation can be obtained using
> > Node.getFeature(..) method.
> > 
> > There are might be a bug in Xerces though, I believe it should only 
return
> > true for Node.isSupported(feature, version) with "+XPath" not "XPath"
> 
> Thanks for the precision. I guess there are bugs in xerces on this 
> topic, because :
> both isSupported("XPath", "3.0") and isSupported("+XPath", "3.0") give 
> the same answer : true.

That appears to be a bug in Xerces-J.  It should only return true for 
"+XPath".

> 
>    I have tested the cvs version. The getFeature method is declared in 
> the Node interface. good.
> But after
> evaluator = (XPathEvaluator) doc.getFeature("XPath", "3.0");
> 
> evaluator is null.

I spoke with Elena about this problem, and she agreed that that also 
appears to be a bug in Xerces-J (probably caused by a miscommunication 
between Xerces-J and Xalan-J developers).

Thanks,

Henry
------------------------------------------------------------------
Henry Zongaro      Xalan development
IBM SWS Toronto Lab   T/L 969-6044;  Phone +1 905 413-6044
mailto:[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to