Pierrick Brihaye wrote:
Salut
> Florent Georges a écrit :
> > As DOM objects are recogniced by this method, do I have to
> > construct a DOM tree from the XMLReader?
> I think so :
> XQueryContext.declareVariable(String qname, Object value)
> calls :
> XPathUtil.javaObjectToXPath(value, this)
> Which, in turns may take a org.w3c.dom.Node as an argument :
> } else if (obj instanceof Node) {
Thanks for those explanations. I wrote a little converter from SAX
events to an org.w3c.dom.Document. But if I call declareVariable()
with this Document, I get the following IOException:
unsupported Java type: class orbeon.apache.xerces.dom.DocumentImpl
I must admit I'm lost, here :-(
Any thought?
Regards,
--drkm
p4.vert.ukl.yahoo.com uncompressed/chunked Wed Aug 23 22:13:39 GMT 2006
___________________________________________________________________________
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences.
http://fr.answers.yahoo.com
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws