[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlbeans-dev
Subject: SV: xpath
From: "Zetterman, Erik" <erik.zetterman () sogeti ! se>
Date: 2005-02-28 7:02:42
Message-ID: 3EA204D2E66759458D656B4D3049228F011D999E () sogorex01 ! ad ! sogeti ! se
[Download RAW message or body]
Hi
and thanks.
It's great there is an ant task for this but I'm thinking it would be even better, \
and make xbeans more "usage-friendly", to package the jars needed for xpath to work \
either: a) in the xbeans zip file
or
b) in a separate jar/zip found at the download site(s)
Regards, Erik
________________________________
Från: Rajiv Balachandran [mailto:rbalacha@bea.com]
Skickat: fr 2005-02-25 18:52
Till: user@xmlbeans.apache.org
Ämne: RE: xpath
Hi,
The ant build script downloads the Saxon jar from the following url:
http://voxel.dl.sourceforge.net/sourceforge/saxon/saxonb8-1-1.zip
The zip contains the saxon8.jar.
Hope this helps.
-Rajiv
-----Original Message-----
From: Jean-Christophe Pazzaglia [mailto:Jean-Christophe.Pazzaglia@eurecom.fr]
Sent: Friday, February 25, 2005 8:40 AM
To: user@xmlbeans.apache.org
Subject: Re: xpath
I built it from the source and
the jars are stored under the
XMLBeansv2\trunk\build\lib
after a ant
jc
> Hi
>
> I am also quite interested in those jars, since we would like to try out
> xpath in the 2.0 beta.
>
> In 1.0.3, xbean_xpath.jar and others (eg jaxen) were included in the
> zip-file, so what has happened this time?
>
> Susanna
>
> -----Original Message-----
> From: Zetterman, Erik [mailto:erik.zetterman@sogeti.se]
> Sent: den 25 februari 2005 16:21
> To: user@xmlbeans.apache.org
> Subject: RE: xpath
>
>
> Hi
> And thanks for your quick reply
>
> I have another question, where can I get these jar-files? In the
> xbean.zip is only xbean.jar and jsr173_api.jar. I suspect I need at
> least saxon8.jar and xbean_xpath.jar.
>
> Erik
>
> -----Original Message-----
> From: Jean-Christophe Pazzaglia
> [mailto:Jean-Christophe.Pazzaglia@eurecom.fr]
> Sent: den 25 februari 2005 3:39
> To: user@xmlbeans.apache.org
> Subject: Re: xpath
>
> Dear Erik and other XMLBeaners,
>
> I suspect that you encounter the bug referenced JIRA89 and
> after several attempts we (thanks to Yana) find out the reason
> (probably DOM related).
>
> There is an isssue using xpath query with data structure built
> directly on memoryt (but not while reading an existing xml from a
> file/stream).
> If you encounter this bug, you may be able to execute your xpath
> by saving your data as a file and rereading it (cf workaround)
>
> So the workaround is :
>
> MyXMLType myobject = ...;
>
> File tmp = File.createTempFile(/"xpathbug"/, /".xml"/);
> myObject.save(tmp);
> myObject= MyXMLType.Factory.parse(tmp);
>
>
> I know this is overkill, but I am pretty sure that
> they will find a patch asap.
>
> jc
>
> PS: you should have at least saxon8, xbean_xpath and xbean in your
> classpath
> this sis my classpath
> <path id="project.classpath">
> <pathelement location="bin"/>
> <pathelement
> location="E:/eclipse/plugins/org.jboss.ide.eclipse.jdt.test.core_1.3.30/
> lib/junit-3.8.1/junit.jar"/>
> <pathelement location="lib/xmltypes.jar"/>
> <pathelement location="lib/jsr173_api.jar"/>
> <pathelement location="lib/jsr173_ri.jar"/>
> <pathelement location="lib/resolver.jar"/>
> <pathelement location="lib/xbean.jar"/>
> <pathelement location="lib/xcresolver.zip"/>
> <pathelement location="lib/xmlpublic.jar"/>
> <pathelement location="lib/saxon8.jar"/>
> <pathelement location="lib/xbean_xpath.jar"/>
> </path>
>
> Zetterman, Erik wrote:
>
>
>
> > Hi
> >
> > I would like to use xpath queries with xbeans 2.0 but I can't use
> > complex queries.
> >
> > I read somewhere that I should use Saxon but where can I get the right
> >
> >
>
>
>
> > .jar-file and should I place it before or after xbean.jar in
> > classpath? Any (other) configurations needed?
> >
> > Thnx, Erik.
> >
> >
> >
>
>
>
>
--
Jean-Christophe Pazzaglia, PhD <Jean-Christophe.Pazzaglia@eurecom.fr>
Corporate communications
Tel: (+33) 4-93-00-26-78
PGP Key available : http://www.eurecom.fr/~pazzagli/publickey.pgp
--
Institut Eurécom - Office 029
http://www.eurecom.fr/
2229 Route des Crêtes
BP 193
06904 Sophia Antipolis, France
Fax: (+33) 4-93-00-26-27
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org
[Attachment #3 (text/html)]
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>RE: xpath </TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText53721 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>and thanks.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>It's great there is an ant task for this
but I'm thinking it would be even better, and make xbeans more "usage-friendly",
to package the jars needed for xpath to work either:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>a) in the xbeans zip file</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>or </FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>b) in a separate jar/zip found at the
download site(s)</FONT></DIV><FONT face=Arial size=2></FONT></DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Regards, Erik</DIV>
<DIV dir=ltr>
<DIV dir=ltr><BR></DIV>
<DIV dir=ltr>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr><FONT face=Tahoma size=2><B>Från:</B> Rajiv Balachandran
[mailto:rbalacha@bea.com]<BR><B>Skickat:</B> fr 2005-02-25 18:52<BR><B>Till:</B>
user@xmlbeans.apache.org<BR><B>Ämne:</B> RE: xpath <BR></FONT><BR></DIV></DIV>
<DIV>
<P><FONT size=2>Hi,<BR><BR>The ant build script downloads the Saxon jar from the
following url:<BR><A
href="http://voxel.dl.sourceforge.net/sourceforge/saxon/saxonb8-1-1.zip">http://voxel.dl.sourceforge.net/sourceforge/saxon/saxonb8-1-1.zip</A><BR>The \
zip contains the saxon8.jar.<BR><BR>Hope this
helps.<BR><BR>-Rajiv<BR><BR><BR><BR>-----Original Message-----<BR>From:
Jean-Christophe Pazzaglia [<A
href="mailto:Jean-Christophe.Pazzaglia@eurecom.fr">mailto:Jean-Christophe.Pazzaglia@eurecom.fr</A>]<BR>Sent: \
Friday, February 25, 2005 8:40 AM<BR>To: user@xmlbeans.apache.org<BR>Subject:
Re: xpath<BR><BR><BR>I built it from the source and<BR>the jars are stored
under the<BR>XMLBeansv2\trunk\build\lib<BR>after a
ant<BR><BR>jc<BR><BR>>Hi<BR>><BR>>I am also quite interested in those
jars, since we would like to try out<BR>>xpath in the 2.0
beta.<BR>><BR>>In 1.0.3, xbean_xpath.jar and others (eg jaxen) were
included in the<BR>>zip-file, so what has happened this
time?<BR>><BR>>Susanna<BR>><BR>>-----Original
Message-----<BR>>From: Zetterman, Erik [<A
href="mailto:erik.zetterman@sogeti.se">mailto:erik.zetterman@sogeti.se</A>]<BR>>Sent: \
den 25 februari 2005 16:21<BR>>To: user@xmlbeans.apache.org<BR>>Subject:
RE: xpath<BR>><BR>><BR>>Hi<BR>>And thanks for your quick
reply<BR>><BR>>I have another question, where can I get these jar-files?
In the<BR>>xbean.zip is only xbean.jar and jsr173_api.jar. I suspect I need
at<BR>>least saxon8.jar and
xbean_xpath.jar.<BR>><BR>>Erik<BR>><BR>>-----Original
Message-----<BR>>From: Jean-Christophe Pazzaglia<BR>>[<A
href="mailto:Jean-Christophe.Pazzaglia@eurecom.fr">mailto:Jean-Christophe.Pazzaglia@eurecom.fr</A>]<BR>>Sent: \
den 25 februari 2005 3:39<BR>>To: user@xmlbeans.apache.org<BR>>Subject:
Re: xpath<BR>><BR>>Dear Erik and other XMLBeaners,<BR>><BR>>I
suspect that you encounter the bug referenced JIRA89 and<BR>>after several
attempts we (thanks to Yana) find out the reason<BR>>(probably DOM
related).<BR>><BR>>There is an isssue using xpath query with data
structure built<BR>>directly on memoryt (but not while reading an existing
xml from a<BR>>file/stream).<BR>>If you encounter this bug, you may be
able to execute your xpath<BR>>by saving your data as a file and rereading it
(cf workaround)<BR>><BR>>So the workaround is :<BR>><BR>>MyXMLType
myobject = ...;<BR>><BR>>File tmp = File.createTempFile(/"xpathbug"/,
/".xml"/);<BR>>myObject.save(tmp);<BR>>myObject=
MyXMLType.Factory.parse(tmp);<BR>><BR>><BR>>I know this is overkill,
but I am pretty sure that<BR>>they will find a patch
asap.<BR>><BR>>jc<BR>><BR>>PS: you should have at least saxon8,
xbean_xpath and xbean in your<BR>>classpath<BR>>this sis my
classpath<BR>><path id="project.classpath"><BR>><pathelement
location="bin"/><BR>><pathelement<BR>>location="E:/eclipse/plugins/org.jbo \
ss.ide.eclipse.jdt.test.core_1.3.30/<BR>>lib/junit-3.8.1/junit.jar"/><BR>><pathelement \
location="lib/xmltypes.jar"/><BR>><pathelement
location="lib/jsr173_api.jar"/><BR>><pathelement
location="lib/jsr173_ri.jar"/><BR>><pathelement
location="lib/resolver.jar"/><BR>><pathelement
location="lib/xbean.jar"/><BR>><pathelement
location="lib/xcresolver.zip"/><BR>><pathelement
location="lib/xmlpublic.jar"/><BR>><pathelement
location="lib/saxon8.jar"/><BR>><pathelement
location="lib/xbean_xpath.jar"/><BR>></path><BR>><BR>>Zetterman,
Erik wrote:<BR>><BR>> <BR>><BR>>>Hi<BR>>><BR>>>I
would like to use xpath queries with xbeans 2.0 but I can't
use<BR>>>complex queries.<BR>>><BR>>>I read somewhere that I
should use Saxon but where can I get the
right<BR>>> <BR>>><BR>><BR>> <BR>><BR>>>.jar-file \
and should I place it before or after xbean.jar in<BR>>>classpath? Any
(other) configurations needed?<BR>>><BR>>>Thnx,
Erik.<BR>>><BR>>> <BR>>><BR>><BR>><BR>> <BR>><BR><BR><BR>--<BR>Jean-Christophe \
Pazzaglia, PhD <Jean-Christophe.Pazzaglia@eurecom.fr><BR>Corporate
communications<BR>Tel: (+33) 4-93-00-26-78<BR>PGP Key available : <A
href="http://www.eurecom.fr/~pazzagli/publickey.pgp">http://www.eurecom.fr/~pazzagli/publickey.pgp</A><BR>--<BR>Institut \
Eurécom - Office 029<BR><A
href="http://www.eurecom.fr/">http://www.eurecom.fr/</A><BR>2229 Route des
Crêtes<BR>BP 193<BR>06904 Sophia Antipolis, France<BR>Fax: (+33)
4-93-00-26-27<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>---------------------------------------------------------------------<BR>To \
unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org<BR>For additional
commands, e-mail:
user-help@xmlbeans.apache.org<BR><BR><BR><BR><BR>---------------------------------------------------------------------<BR>To \
unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org<BR>For additional
commands, e-mail:
user-help@xmlbeans.apache.org<BR><BR></FONT></P></DIV>
</BODY>
</HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic