| -----Original Message-----
 | From: [EMAIL PROTECTED]
 | [mailto:[EMAIL PROTECTED]
 | Sent: woensdag 7 augustus 2002 15:48
 | To: [EMAIL PROTECTED]
 | Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 | Subject: RE: BUG in XUpdate implementation
 | 
 | Oh,
 | 
 | Why  this code ?
 | 
 | System.setProperty
 | ("org.infozone.tools.xml.queries.XPathQueryFactory",
 |  "org.infozone.tools.xml.queries.xalan2.XPathQueryFactoryImpl");
 | 
 | 1. It only set up XPath, not XUpdate ! Right ?

This code is used to tell Lexus which XPathQueryFactory it has to use to
select the nodes in XUpdate queries. By default this is Xalan so if you
use that you don't have to set anything. If you supply Lexus with
another DOM implementation document you (may) have to supply your own
XPathQueryFactory, for example if Lexus is used with X-Hive/DB you do
this:  

 
System.setProperty("org.infozone.tools.xml.queries.XPathQueryFactory",
        "com.xhive.xupdate.XhiveXPathQueryFactory");

 | 2. Does this version of XPath is better than the Xalan one ?

There's probably no difference because it is a wrapper around the
Xalan's XPathQueryFactory, but there are probably other people on this
list that can answer this question better...

regards,

Jeroen Breedveld  

--

X-Hive Corporation
e-mail: [EMAIL PROTECTED]
phone: +31 10 7108622
http://www.x-hive.com

----------------------------------------------------------------------
Post a message:         mailto:[EMAIL PROTECTED]
Unsubscribe:            mailto:[EMAIL PROTECTED]
Contact administrator:  mailto:[EMAIL PROTECTED]
Read archived messages: http://archive.xmldb.org/
----------------------------------------------------------------------

Reply via email to