You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
(6) |
Jul
(21) |
Aug
(40) |
Sep
(7) |
Oct
(41) |
Nov
(52) |
Dec
(19) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
(49) |
Feb
(37) |
Mar
(84) |
Apr
(11) |
May
(29) |
Jun
(9) |
Jul
(19) |
Aug
(9) |
Sep
(6) |
Oct
(5) |
Nov
(15) |
Dec
(3) |
| 2008 |
Jan
(7) |
Feb
(11) |
Mar
(25) |
Apr
(50) |
May
(7) |
Jun
(8) |
Jul
(10) |
Aug
(18) |
Sep
(1) |
Oct
(15) |
Nov
(1) |
Dec
(9) |
| 2009 |
Jan
(5) |
Feb
(2) |
Mar
(3) |
Apr
(5) |
May
(10) |
Jun
(4) |
Jul
(5) |
Aug
(5) |
Sep
(7) |
Oct
(15) |
Nov
(13) |
Dec
(6) |
| 2010 |
Jan
|
Feb
(3) |
Mar
(4) |
Apr
(6) |
May
|
Jun
(4) |
Jul
(12) |
Aug
(8) |
Sep
|
Oct
(1) |
Nov
(1) |
Dec
(1) |
| 2011 |
Jan
(19) |
Feb
(39) |
Mar
(28) |
Apr
(6) |
May
(7) |
Jun
(9) |
Jul
|
Aug
(1) |
Sep
|
Oct
(8) |
Nov
(3) |
Dec
(12) |
| 2012 |
Jan
(2) |
Feb
(1) |
Mar
(3) |
Apr
(4) |
May
(4) |
Jun
(3) |
Jul
(10) |
Aug
(2) |
Sep
(13) |
Oct
(24) |
Nov
(3) |
Dec
(1) |
| 2013 |
Jan
(11) |
Feb
(5) |
Mar
(4) |
Apr
(3) |
May
(3) |
Jun
(5) |
Jul
(7) |
Aug
(16) |
Sep
|
Oct
(7) |
Nov
(11) |
Dec
|
| 2014 |
Jan
(7) |
Feb
(4) |
Mar
|
Apr
|
May
(4) |
Jun
|
Jul
|
Aug
(1) |
Sep
(3) |
Oct
|
Nov
(3) |
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
(1) |
Apr
(11) |
May
(8) |
Jun
(3) |
Jul
(1) |
Aug
(3) |
Sep
(5) |
Oct
(2) |
Nov
(1) |
Dec
(1) |
| 2016 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
(3) |
May
(7) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(6) |
Nov
|
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
(5) |
Apr
|
May
(2) |
Jun
|
Jul
(4) |
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
| 2019 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Jimmy Z. <cra...@co...> - 2007-05-16 18:12:00
|
As long as we agree on API part, the forking of VTD-XML to accomodate =
more
features is welcome.. to extend Java version of VTD-XML, you probably =
need
to start with=20
----- Original Message -----=20
From: jie yan=20
To: Jimmy Zhang=20
Sent: Wednesday, May 16, 2007 2:57 AM
Subject: Re: [Vtd-xml-users] Vtd-xml-users Digest, Vol 12, Issue 6
I prefer Java.
Maybe we could re-design the expression evaluation framework to make =
it more flexible?
On 5/16/07, Jimmy Zhang < cra...@co...> wrote:
It is doable but requires a bit coding on the lex file, yacc file =
and=20
funcExpr file...
Which platform do you assume? C, Java or C#...
----- Original Message -----=20
From: jie yan=20
To: vtd...@li...=20
Sent: Wednesday, May 16, 2007 12:58 AM
Subject: Re: [Vtd-xml-users] Vtd-xml-users Digest, Vol 12, Issue 6
Hi, if I wanna extend XPath syntax by appending some functions, =
how to deal with it?
-------------------------------------------------------------------------=
-
=
-------------------------------------------------------------------------=
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/=20
-------------------------------------------------------------------------=
-
_______________________________________________
Vtd-xml-users mailing list
Vtd...@li...
https://lists.sourceforge.net/lists/listinfo/vtd-xml-users
|
|
From: John K. <jo...@hu...> - 2007-05-16 10:31:46
|
I've got one: gi...@us... It seems I can't mail you directly, Jimmy, so I'm doing it this way, sorry for that. Regards, John -- / Humanique / Webstrategie en ontwikkeling / http://www.humanique.com/ - Humanique zoekt een ervaren Web-ontwikkelaar (PHP). Bekijk de vacature op http://www.humanique.com/ - John Kraal wrote: > Will get that immediately! > > Jimmy Zhang wrote: >> Join the project as a developer should get you write access to the C >> code portion >> of it... It would be great to have a Linux port as an integral part of >> VTD-XML >> distribution... but I think you need to have an sourceforge email >> address first... >> ----- Original Message ----- From: "John Kraal" <jo...@hu...> >> To: "jie yan" <leo...@gm...> >> Cc: <vtd...@li...> >> Sent: Wednesday, May 16, 2007 1:05 AM >> Subject: Re: [Vtd-xml-users] Users/developers adding code to vtd >> >> >>> Hi, >>> >>> First off, I'm Back! (hooray). >>> >>> Second, Jimmy, in response to this; is it possible to set up some sort >>> of source-control-thing accessibly by more users. I'm saying this mostly >>> in my own regard, the arrogant man that I am. >>> >>> I'd like to continu to contribute, but changing the C-code after every >>> single release is, to say the least, daunting. In this way there will be >>> a better and simpler way of providing packages for the Unix-groups. >>> >>> Regards, >>> >>> John Kraal >>> >>> jie yan wrote: >>>> Hi, if I wanna extend XPath syntax by appending some functions, how to >>>> deal with it? >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> ------------------------------------------------------------------------- >>>> >>>> This SF.net email is sponsored by DB2 Express >>>> Download DB2 Express C - the FREE version of DB2 express and take >>>> control of your XML. No limits. Just data. Click to get it now. >>>> http://sourceforge.net/powerbar/db2/ >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> Vtd-xml-users mailing list >>>> Vtd...@li... >>>> https://lists.sourceforge.net/lists/listinfo/vtd-xml-users >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by DB2 Express >>> Download DB2 Express C - the FREE version of DB2 express and take >>> control of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> _______________________________________________ >>> Vtd-xml-users mailing list >>> Vtd...@li... >>> https://lists.sourceforge.net/lists/listinfo/vtd-xml-users >>> >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Vtd-xml-users mailing list > Vtd...@li... > https://lists.sourceforge.net/lists/listinfo/vtd-xml-users |
|
From: John K. <jo...@hu...> - 2007-05-16 08:42:58
|
Will get that immediately! Jimmy Zhang wrote: > Join the project as a developer should get you write access to the C > code portion > of it... It would be great to have a Linux port as an integral part of > VTD-XML > distribution... but I think you need to have an sourceforge email > address first... > ----- Original Message ----- From: "John Kraal" <jo...@hu...> > To: "jie yan" <leo...@gm...> > Cc: <vtd...@li...> > Sent: Wednesday, May 16, 2007 1:05 AM > Subject: Re: [Vtd-xml-users] Users/developers adding code to vtd > > >> Hi, >> >> First off, I'm Back! (hooray). >> >> Second, Jimmy, in response to this; is it possible to set up some sort >> of source-control-thing accessibly by more users. I'm saying this mostly >> in my own regard, the arrogant man that I am. >> >> I'd like to continu to contribute, but changing the C-code after every >> single release is, to say the least, daunting. In this way there will be >> a better and simpler way of providing packages for the Unix-groups. >> >> Regards, >> >> John Kraal >> >> jie yan wrote: >>> Hi, if I wanna extend XPath syntax by appending some functions, how to >>> deal with it? >>> >>> >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------- >>> >>> This SF.net email is sponsored by DB2 Express >>> Download DB2 Express C - the FREE version of DB2 express and take >>> control of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Vtd-xml-users mailing list >>> Vtd...@li... >>> https://lists.sourceforge.net/lists/listinfo/vtd-xml-users >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Vtd-xml-users mailing list >> Vtd...@li... >> https://lists.sourceforge.net/lists/listinfo/vtd-xml-users >> > > |
|
From: Jimmy Z. <cra...@co...> - 2007-05-16 08:39:39
|
Give me some time to respond I think I have something defintely working =
on myside
----- Original Message -----=20
From: Harbhanu=20
To: cra...@co...=20
Cc: vtd...@li...=20
Sent: Wednesday, May 16, 2007 12:57 AM
Subject: RE: soap.c and soap2.xml
I am not sure whether I can. because of some restrictions on sending =
out direct code.
And the procedure for taking an approval is tedius and time =
consuming...
But there is not much difference as compared to the sample code..
I only did the modification for "fread" ..
When I execute the query "/". then I get the complete document in the =
out put file.
But for other queries. its empty..
Can you send me your working copy.. of the sample ';)
-------------------------------------------------------------------------=
-----
From: cra...@co... [mailto:cra...@co...]=20
Sent: Wednesday, May 16, 2007 2:50 PM
To: Harbhanu
Cc: vtd...@li...
Subject: RE: soap.c and soap2.xml
Can you send me the exact C file used for your project?
-------------- Original message --------------=20
From: Harbhanu <har...@hu...>=20
Yes..and it is empty.
Basically its not going inside the while loop ..
-------------------------------------------------------------------------=
---
From: Jimmy Zhang [mailto:cra...@co...]=20
Sent: Wednesday, May 16, 2007 12:02 PM
To: Harbhanu
Cc: vtd...@li...
Subject: Re: soap.c and soap2.xml
how do you know it is empty?
do you have an output file name out.txt??
----- Original Message -----=20
From: Harbhanu=20
To: 'Jimmy Zhang'=20
Cc: vtd...@li...=20
Sent: Tuesday, May 15, 2007 8:27 PM
Subject: RE: soap.c and soap2.xml
selectXPath(ap,L"/ns1:Envelope/ns1:Header/*[@ns1:mustUnderstand]")
Evaluation of this(in evalXpath) .returns an empty set..r u also =
getting an empty set..??
-------------------------------------------------------------------------=
-
From: Jimmy Zhang [mailto:cra...@co...]=20
Sent: Wednesday, May 16, 2007 11:14 AM
To: Harbhanu
Cc: vtd...@li...
Subject: Re: soap.c and soap2.xml
Well, yes, you have to call setDoc with the actuall content =
length...
when "r", VC replaces /r/n with /n so the file appears shorter...
What expression?=20
Is it =
declareXPathNameSpace(ap,L"ns1",Lhttp://www.w3.org/2003/05/soap-envelope)=
;?
I tried it and it worked for me...
----- Original Message -----=20
From: Harbhanu=20
To: 'Jimmy Zhang'=20
Cc: vtd...@li...=20
Sent: Tuesday, May 15, 2007 7:22 PM
Subject: RE: soap.c and soap2.xml
Yes.. now the exception is not there..after using any of the =
suggested solutions . ("rb' for binary mode)
What was the problem??? Was it regarding the legth mismatch =
between the actual length a the length passed..
Now, the evaluation is not correct.it works for the root =
selection..but when I execute the original expression . the result is =
empty...
Any clues??
Thanks for the prompt replies..expecting the similar level of =
activity n promptness in this mailing list!!
Regards,
Harbhanu
------------------------------------------------------------------------
From: Jimmy Zhang [mailto:cra...@co...]=20
Sent: Tuesday, May 15, 2007 3:58 PM
To: Harbhanu
Cc: vtd...@li...
Subject: Re: soap.c and soap2.xml
I think you should use __int64, to fix the parse exception there =
are
two ways, one is to fopen() the XML doc using the "ro" instead =
of "r,"
this is to treat the XML as binary data...
the other way is to assign i (an int) the return value of =
fread(),
so instead of "fread(...)," do "i=3Dfread(...)."
Either one should fix the problem...
----- Original Message -----=20
From: Harbhanu=20
To: 'Jimmy Zhang'=20
Cc: vtd...@li...=20
Sent: Monday, May 14, 2007 11:13 PM
Subject: RE: soap.c and soap2.xml
Hi,
Currently I am using Vtd-XML version 2.0.
I want to use it on windows..VC-6.
Even i think the problem must be pertaining to change of =
Long...but don't know the exact source.
When I use Long typedef as long...
Line Number: 14 Offset: 6
parse exception e =3D=3D> Parse exception in parse()
Ending tag error: Start/ending tag mismatch
When I use Long typedef as __int64..
Line Number: 47 Offset: 1
parse exception e =3D=3D> Parse exception in parse()
Other Error: XML not terminated properly
Did u do any change for long long in your code ??.. In my case =
it will result in compilation errors....
Please try after doing this change in your code.are you also =
getting similar problem or there is some configuration related issue.
Regards,
Harbhanu
----------------------------------------------------------------------
From: Jimmy Zhang [mailto:cra...@co...]=20
Sent: Tuesday, May 15, 2007 12:13 PM
To: har...@hu...
Cc: vtd...@li...
Subject: soap.c and soap2.xml
I tried the same code today and could not duplicate this =
issue. I am
using VC 2003... but that should not matter...
What version of VTD-XML are you using? Changing Long to long
will not work because a long is 32 bit, a Long is 64-bit...
can you make file on Linux?
=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Hi,=20
I am trying to use the C version of VTD-XML.=20
=20
I tried executing the test program given (the SOAP example)... =
http://vtd-xml.sourceforge.net/codeSample/cs4.html [using =
soap.c soap2.xml]=20
=20
But i am getting this error....=20
=20
Line Number: 14 Offset: 6=20
parse exception e =3D=3D> Parse exception in parse()=20
Ending tag error: Start/ending tag mismatch=20
=20
I am using VC 6 on Win2k... =20
=20
When i tried compilig the project... i got this error =20
error C2632: 'long' followed by 'long' is illegal=20
=20
So.. i modified the typedef for Long to have only long...=20
Apart from this i didn't any other change ....=20
&nb sp;
Any clue about the problem....=20
=20
How should i solve the compilation error =20
=20
And if the change is correct... then what else can be the =
problem...=20
=20
In case someone has a working example ... please share it...=20
=20
Thanks !!=20
=20
Regards=20
|
|
From: Jimmy Z. <cra...@co...> - 2007-05-16 08:39:06
|
Join the project as a developer should get you write access to the C code portion of it... It would be great to have a Linux port as an integral part of VTD-XML distribution... but I think you need to have an sourceforge email address first... ----- Original Message ----- From: "John Kraal" <jo...@hu...> To: "jie yan" <leo...@gm...> Cc: <vtd...@li...> Sent: Wednesday, May 16, 2007 1:05 AM Subject: Re: [Vtd-xml-users] Users/developers adding code to vtd > Hi, > > First off, I'm Back! (hooray). > > Second, Jimmy, in response to this; is it possible to set up some sort > of source-control-thing accessibly by more users. I'm saying this mostly > in my own regard, the arrogant man that I am. > > I'd like to continu to contribute, but changing the C-code after every > single release is, to say the least, daunting. In this way there will be > a better and simpler way of providing packages for the Unix-groups. > > Regards, > > John Kraal > > jie yan wrote: >> Hi, if I wanna extend XPath syntax by appending some functions, how to >> deal with it? >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Vtd-xml-users mailing list >> Vtd...@li... >> https://lists.sourceforge.net/lists/listinfo/vtd-xml-users > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Vtd-xml-users mailing list > Vtd...@li... > https://lists.sourceforge.net/lists/listinfo/vtd-xml-users > |
|
From: Jimmy Z. <cra...@co...> - 2007-05-16 08:33:42
|
It is doable but requires a bit coding on the lex file, yacc file and=20 funcExpr file... Which platform do you assume? C, Java or C#... ----- Original Message -----=20 From: jie yan=20 To: vtd...@li...=20 Sent: Wednesday, May 16, 2007 12:58 AM Subject: Re: [Vtd-xml-users] Vtd-xml-users Digest, Vol 12, Issue 6 Hi, if I wanna extend XPath syntax by appending some functions, how to = deal with it? -------------------------------------------------------------------------= ----- = -------------------------------------------------------------------------= This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------------------------------------------------------------------= ----- _______________________________________________ Vtd-xml-users mailing list Vtd...@li... https://lists.sourceforge.net/lists/listinfo/vtd-xml-users |
|
From: John K. <jo...@hu...> - 2007-05-16 08:05:08
|
Hi, First off, I'm Back! (hooray). Second, Jimmy, in response to this; is it possible to set up some sort of source-control-thing accessibly by more users. I'm saying this mostly in my own regard, the arrogant man that I am. I'd like to continu to contribute, but changing the C-code after every single release is, to say the least, daunting. In this way there will be a better and simpler way of providing packages for the Unix-groups. Regards, John Kraal jie yan wrote: > Hi, if I wanna extend XPath syntax by appending some functions, how to > deal with it? > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Vtd-xml-users mailing list > Vtd...@li... > https://lists.sourceforge.net/lists/listinfo/vtd-xml-users |
|
From: Harbhanu <har...@hu...> - 2007-05-16 07:58:10
|
I am not sure whether I can. because of some restrictions on sending out direct code. And the procedure for taking an approval is tedius and time consuming... But there is not much difference as compared to the sample code.. I only did the modification for "fread" .. When I execute the query "/". then I get the complete document in the out put file. But for other queries. its empty.. Can you send me your working copy.. of the sample ';) _____ From: cra...@co... [mailto:cra...@co...] Sent: Wednesday, May 16, 2007 2:50 PM To: Harbhanu Cc: vtd...@li... Subject: RE: soap.c and soap2.xml Can you send me the exact C file used for your project? -------------- Original message -------------- From: Harbhanu <har...@hu...> Yes..and it is empty. Basically its not going inside the while loop .. _____ From: Jimmy Zhang [mailto:cra...@co...] Sent: Wednesday, May 16, 2007 12:02 PM To: Harbhanu Cc: vtd...@li... Subject: Re: soap.c and soap2.xml how do you know it is empty? do you have an output file name out.txt?? ----- Original Message ----- From: Harbhanu <mailto:har...@hu...> To: 'Jimmy Zhang' <mailto:cra...@co...> Cc: vtd...@li... Sent: Tuesday, May 15, 2007 8:27 PM Subject: RE: soap.c and soap2.xml selectXPath(ap,L"/ns1:Envelope/ns1:Header/*[@ns1:mustUnderstand]") Evaluation of this(in evalXpath) .returns an empty set..r u also getting an empty set..?? _____ From: Jimmy Zhang [mailto:cra...@co...] Sent: Wednesday, May 16, 2007 11:14 AM To: Harbhanu Cc: vtd...@li... Subject: Re: soap.c and soap2.xml Well, yes, you have to call setDoc with the actuall content length... when "r", VC replaces /r/n with /n so the file appears shorter... What expression? Is it declareXPathNameSpace(ap,L"ns1",Lhttp://www.w3.org/2003/05/soap-envelope);? I tried it and it worked for me... ----- Original Message ----- From: Harbhanu <mailto:har...@hu...> To: 'Jimmy Zhang' <mailto:cra...@co...> Cc: vtd...@li... Sent: Tuesday, May 15, 2007 7:22 PM Subject: RE: soap.c and soap2.xml Yes.. now the exception is not there..after using any of the suggested solutions . ("rb' for binary mode) What was the problem??? Was it regarding the legth mismatch between the actual length a the length passed.. Now, the evaluation is not correct.it works for the root selection..but when I execute the original expression . the result is empty... Any clues?? Thanks for the prompt replies..expecting the similar level of activity n promptness in this mailing list!! Regards, Harbhanu _____ From: Jimmy Zhang [mailto:cra...@co...] Sent: Tuesday, May 15, 2007 3:58 PM To: Harbhanu Cc: vtd...@li... Subject: Re: soap.c and soap2.xml I think you should use __int64, to fix the parse exception there are two ways, one is to fopen() the XML doc using the "ro" instead of "r," this is to treat the XML as binary data... the other way is to assign i (an int) the return value of fread(), so instead of "fread(...)," do "i=fread(...)." Either one should fix the problem... ----- Original Message ----- From: Harbhanu <mailto:har...@hu...> To: 'Jimmy Zhang' <mailto:cra...@co...> Cc: vtd...@li... Sent: Monday, May 14, 2007 11:13 PM Subject: RE: soap.c and soap2.xml Hi, Currently I am using Vtd-XML version 2.0. I want to use it on windows..VC-6. Even i think the problem must be pertaining to change of Long...but don't know the exact source. When I use Long typedef as long... Line Number: 14 Offset: 6 parse exception e ==> Parse exception in parse() Ending tag error: Start/ending tag mismatch When I use Long typedef as __int64.. Line Number: 47 Offset: 1 parse exception e ==> Parse exception in parse() Other Error: XML not terminated properly Did u do any change for long long in your code ??.. In my case it will result in compilation errors.... Please try after doing this change in your code.are you also getting similar problem or there is some configuration related issue. Regards, Harbhanu _____ From: Jimmy Zhang [mailto:cra...@co...] Sent: Tuesday, May 15, 2007 12:13 PM To: har...@hu... Cc: vtd...@li... Subject: soap.c and soap2.xml I tried the same code today and could not duplicate this issue. I am using VC 2003... but that should not matter... What version of VTD-XML are you using? Changing Long to long will not work because a long is 32 bit, a Long is 64-bit... can you make file on Linux? ======================================== Hi, I am trying to use the C version of VTD-XML. I tried executing the test program given (the SOAP example)... <http://vtd-xml.sourceforge.net/codeSample/cs4.html> http://vtd-xml.sourceforge.net/codeSample/cs4.html [using soap.c soap2.xml] But i am getting this error.... Line Number: 14 Offset: 6 parse exception e ==> Parse exception in parse() Ending tag error: Start/ending tag mismatch I am using VC 6 on Win2k... When i tried compilig the project... i got this error error C2632: 'long' followed by 'long' is illegal So.. i modified the typedef for Long to have only long... Apart from this i didn't any other change .... &nb sp; Any clue about the problem.... How should i solve the compilation error And if the change is correct... then what else can be the problem... In case someone has a working example ... please share it... Thanks !! Regards |
|
From: jie y. <leo...@gm...> - 2007-05-16 07:58:09
|
Hi, if I wanna extend XPath syntax by appending some functions, how to deal with it? |
|
From: <cra...@co...> - 2007-05-16 06:50:16
|
Can you send me the exact C file used for your project? -------------- Original message -------------- From: Harbhanu <har...@hu...> Yes .and it is empty Basically its not going inside the while loop .. From: Jimmy Zhang [mailto:cra...@co...] Sent: Wednesday, May 16, 2007 12:02 PM To: Harbhanu Cc: vtd...@li... Subject: Re: soap.c and soap2.xml how do you know it is empty? do you have an output file name out.txt?? ----- Original Message ----- From: Harbhanu To: 'Jimmy Zhang' Cc: vtd...@li... Sent: Tuesday, May 15, 2007 8:27 PM Subject: RE: soap.c and soap2.xml selectXPath(ap,L"/ns1:Envelope/ns1:Header/*[@ns1:mustUnderstand]") Evaluation of this(in evalXpath) returns an empty set .r u also getting an empty set .?? From: Jimmy Zhang [mailto:cra...@co...] Sent: Wednesday, May 16, 2007 11:14 AM To: Harbhanu Cc: vtd...@li... Subject: Re: soap.c and soap2.xml Well, yes, you have to call setDoc with the actuall content length... when "r", VC replaces /r/n with /n so the file appears shorter... What expression? Is it declareXPathNameSpace(ap,L"ns1",Lhttp://www.w3.org/2003/05/soap-envelope);? I tried it and it worked for me... ----- Original Message ----- From: Harbhanu To: 'Jimmy Zhang' Cc: vtd...@li... Sent: Tuesday, May 15, 2007 7:22 PM Subject: RE: soap.c and soap2.xml Yes.. now the exception is not there .after using any of the suggested solutions (rb for binary mode) What was the problem??? Was it regarding the legth mismatch between the actual length a the length passed . Now, the evaluation is not correct it works for the root selection .but when I execute the original expression the result is empty... Any clues?? Thanks for the prompt replies .expecting the similar level of activity n promptness in this mailing list!! Regards, Harbhanu From: Jimmy Zhang [mailto:cra...@co...] Sent: Tuesday, May 15, 2007 3:58 PM To: Harbhanu Cc: vtd...@li... Subject: Re: soap.c and soap2.xml I think you should use __int64, to fix the parse exception there are two ways, one is to fopen() the XML doc using the "ro" instead of "r," this is to treat the XML as binary data... the other way is to assign i (an int) the return value of fread(), so instead of "fread(...)," do "i=fread(...)." Either one should fix the problem... ----- Original Message ----- From: Harbhanu To: 'Jimmy Zhang' Cc: vtd...@li... Sent: Monday, May 14, 2007 11:13 PM Subject: RE: soap.c and soap2.xml Hi, Currently I am using Vtd-XML version 2.0 I want to use it on windows .VC-6 Even i think the problem must be pertaining to change of Long ..but dont know the exact source When I use Long typedef as long... Line Number: 14 Offset: 6 parse exception e ==> Parse exception in parse() Ending tag error: Start/ending tag mismatch When I use Long typedef as __int64.. Line Number: 47 Offset: 1 parse exception e ==> Parse exception in parse() Other Error: XML not terminated properly Did u do any change for long long in your code ?? . In my case it will result in compilation errors.. . Please try after doing this change in your code are you also getting similar problem or there is some configuration related issue Regards, Harbhanu From: Jimmy Zhang [mailto:cra...@co...] Sent: Tuesday, May 15, 2007 12:13 PM To: har...@hu... Cc: vtd...@li... Subject: soap.c and soap2.xml I tried the same code today and could not duplicate this issue. I am using VC 2003... but that should not matter... What version of VTD-XML are you using? Changing Long to long will not work because a long is 32 bit, a Long is 64-bit... can you make file on Linux? ======================================== Hi, I am trying to use the C version of VTD-XML. I tried executing the test program given (the SOAP example)... http://vtd-xml.sourceforge.net/codeSample/cs4.html [using soap.c soap2.xml] But i am getting this error.... Line Number: 14 Offset: 6 parse exception e ==> Parse exception in parse() Ending tag error: Start/ending tag mismatch I am using VC 6 on Win2k... When i tried compilig the project... i got this error error C2632: 'long' followed by 'long' is illegal So.. i modified the typedef for Long to have only long... Apart from this i didn't any other change .... Any clue about the problem.... How should i solve the compilation error And if the change is correct... then what else can be the problem... In case someone has a working example ... please share it... Thanks !! Regards |
|
From: <cra...@co...> - 2007-05-16 06:49:19
|
Hmm... thanks for pointing that out, I need to verify it, I thought this was fixed in 1.9 as someone pointed out in the Java version.. -------------- Original message -------------- From: Harbhanu <har...@hu...> > Hi, > I am trying to use the cursor apis to traverse the xml document.. > But its crashing the system..when I call "toRawString" for a particular > index... > > It seems the crash is due to the code in "toRawString2" .. the offset value > is not getting incremented > > I tried changing the offset modification logic to "offset++" and it > worked... > Please let me know if it is a defect or something wrong from my part. > > Regards, > Harbhanu > > |
|
From: Harbhanu <har...@hu...> - 2007-05-16 06:29:25
|
Hi, I am trying to use the cursor apis to traverse the xml document.. But its crashing the system..when I call "toRawString" for a particular index... It seems the crash is due to the code in "toRawString2" .. the offset value is not getting incremented I tried changing the offset modification logic to "offset++" and it worked... Please let me know if it is a defect or something wrong from my part. Regards, Harbhanu |
|
From: Harbhanu <har...@hu...> - 2007-05-16 05:50:44
|
Yes..and it is empty. Basically its not going inside the while loop .. _____ From: Jimmy Zhang [mailto:cra...@co...] Sent: Wednesday, May 16, 2007 12:02 PM To: Harbhanu Cc: vtd...@li... Subject: Re: soap.c and soap2.xml how do you know it is empty? do you have an output file name out.txt?? ----- Original Message ----- From: Harbhanu <mailto:har...@hu...> To: 'Jimmy Zhang' <mailto:cra...@co...> Cc: vtd...@li... Sent: Tuesday, May 15, 2007 8:27 PM Subject: RE: soap.c and soap2.xml selectXPath(ap,L"/ns1:Envelope/ns1:Header/*[@ns1:mustUnderstand]") Evaluation of this(in evalXpath) .returns an empty set..r u also getting an empty set..?? _____ From: Jimmy Zhang [mailto:cra...@co...] Sent: Wednesday, May 16, 2007 11:14 AM To: Harbhanu Cc: vtd...@li... Subject: Re: soap.c and soap2.xml Well, yes, you have to call setDoc with the actuall content length... when "r", VC replaces /r/n with /n so the file appears shorter... What expression? Is it declareXPathNameSpace(ap,L"ns1",Lhttp://www.w3.org/2003/05/soap-envelope);? I tried it and it worked for me... ----- Original Message ----- From: Harbhanu <mailto:har...@hu...> To: 'Jimmy Zhang' <mailto:cra...@co...> Cc: vtd...@li... Sent: Tuesday, May 15, 2007 7:22 PM Subject: RE: soap.c and soap2.xml Yes.. now the exception is not there..after using any of the suggested solutions . ("rb' for binary mode) What was the problem??? Was it regarding the legth mismatch between the actual length a the length passed.. Now, the evaluation is not correct.it works for the root selection..but when I execute the original expression . the result is empty... Any clues?? Thanks for the prompt replies..expecting the similar level of activity n promptness in this mailing list!! Regards, Harbhanu _____ From: Jimmy Zhang [mailto:cra...@co...] Sent: Tuesday, May 15, 2007 3:58 PM To: Harbhanu Cc: vtd...@li... Subject: Re: soap.c and soap2.xml I think you should use __int64, to fix the parse exception there are two ways, one is to fopen() the XML doc using the "ro" instead of "r," this is to treat the XML as binary data... the other way is to assign i (an int) the return value of fread(), so instead of "fread(...)," do "i=fread(...)." Either one should fix the problem... ----- Original Message ----- From: Harbhanu <mailto:har...@hu...> To: 'Jimmy Zhang' <mailto:cra...@co...> Cc: vtd...@li... Sent: Monday, May 14, 2007 11:13 PM Subject: RE: soap.c and soap2.xml Hi, Currently I am using Vtd-XML version 2.0. I want to use it on windows..VC-6. Even i think the problem must be pertaining to change of Long...but don't know the exact source. When I use Long typedef as long... Line Number: 14 Offset: 6 parse exception e ==> Parse exception in parse() Ending tag error: Start/ending tag mismatch When I use Long typedef as __int64.. Line Number: 47 Offset: 1 parse exception e ==> Parse exception in parse() Other Error: XML not terminated properly Did u do any change for long long in your code ??.. In my case it will result in compilation errors.... Please try after doing this change in your code.are you also getting similar problem or there is some configuration related issue. Regards, Harbhanu _____ From: Jimmy Zhang [mailto:cra...@co...] Sent: Tuesday, May 15, 2007 12:13 PM To: har...@hu... Cc: vtd...@li... Subject: soap.c and soap2.xml I tried the same code today and could not duplicate this issue. I am using VC 2003... but that should not matter... What version of VTD-XML are you using? Changing Long to long will not work because a long is 32 bit, a Long is 64-bit... can you make file on Linux? ======================================== Hi, I am trying to use the C version of VTD-XML. I tried executing the test program given (the SOAP example)... <http://vtd-xml.sourceforge.net/codeSample/cs4.html> http://vtd-xml.sourceforge.net/codeSample/cs4.html [using soap.c soap2.xml] But i am getting this error.... Line Number: 14 Offset: 6 parse exception e ==> Parse exception in parse() Ending tag error: Start/ending tag mismatch I am using VC 6 on Win2k... When i tried compilig the project... i got this error error C2632: 'long' followed by 'long' is illegal So.. i modified the typedef for Long to have only long... Apart from this i didn't any other change .... Any clue about the problem.... How should i solve the compilation error And if the change is correct... then what else can be the problem... In case someone has a working example ... please share it... Thanks !! Regards |
|
From: Jimmy Z. <cra...@co...> - 2007-05-16 04:02:47
|
how do you know it is empty? do you have an output file name out.txt?? ----- Original Message -----=20 From: Harbhanu=20 To: 'Jimmy Zhang'=20 Cc: vtd...@li...=20 Sent: Tuesday, May 15, 2007 8:27 PM Subject: RE: soap.c and soap2.xml selectXPath(ap,L"/ns1:Envelope/ns1:Header/*[@ns1:mustUnderstand]") Evaluation of this(in evalXpath) .returns an empty set..r u also = getting an empty set..?? -------------------------------------------------------------------------= ----- From: Jimmy Zhang [mailto:cra...@co...]=20 Sent: Wednesday, May 16, 2007 11:14 AM To: Harbhanu Cc: vtd...@li... Subject: Re: soap.c and soap2.xml Well, yes, you have to call setDoc with the actuall content length... when "r", VC replaces /r/n with /n so the file appears shorter... What expression?=20 Is it = declareXPathNameSpace(ap,L"ns1",Lhttp://www.w3.org/2003/05/soap-envelope)= ;? I tried it and it worked for me... ----- Original Message -----=20 From: Harbhanu=20 To: 'Jimmy Zhang'=20 Cc: vtd...@li...=20 Sent: Tuesday, May 15, 2007 7:22 PM Subject: RE: soap.c and soap2.xml Yes.. now the exception is not there..after using any of the = suggested solutions . ("rb' for binary mode) What was the problem??? Was it regarding the legth mismatch between = the actual length a the length passed.. Now, the evaluation is not correct.it works for the root = selection..but when I execute the original expression . the result is = empty... Any clues?? Thanks for the prompt replies..expecting the similar level of = activity n promptness in this mailing list!! Regards, Harbhanu -------------------------------------------------------------------------= --- From: Jimmy Zhang [mailto:cra...@co...]=20 Sent: Tuesday, May 15, 2007 3:58 PM To: Harbhanu Cc: vtd...@li... Subject: Re: soap.c and soap2.xml I think you should use __int64, to fix the parse exception there are two ways, one is to fopen() the XML doc using the "ro" instead of = "r," this is to treat the XML as binary data... the other way is to assign i (an int) the return value of fread(), so instead of "fread(...)," do "i=3Dfread(...)." Either one should fix the problem... ----- Original Message -----=20 From: Harbhanu=20 To: 'Jimmy Zhang'=20 Cc: vtd...@li...=20 Sent: Monday, May 14, 2007 11:13 PM Subject: RE: soap.c and soap2.xml Hi, Currently I am using Vtd-XML version 2.0. I want to use it on windows..VC-6. Even i think the problem must be pertaining to change of = Long...but don't know the exact source. When I use Long typedef as long... Line Number: 14 Offset: 6 parse exception e =3D=3D> Parse exception in parse() Ending tag error: Start/ending tag mismatch When I use Long typedef as __int64.. Line Number: 47 Offset: 1 parse exception e =3D=3D> Parse exception in parse() Other Error: XML not terminated properly Did u do any change for long long in your code ??.. In my case it = will result in compilation errors.... Please try after doing this change in your code.are you also = getting similar problem or there is some configuration related issue. Regards, Harbhanu -------------------------------------------------------------------------= - From: Jimmy Zhang [mailto:cra...@co...]=20 Sent: Tuesday, May 15, 2007 12:13 PM To: har...@hu... Cc: vtd...@li... Subject: soap.c and soap2.xml I tried the same code today and could not duplicate this issue. I = am using VC 2003... but that should not matter... What version of VTD-XML are you using? Changing Long to long will not work because a long is 32 bit, a Long is 64-bit... can you make file on Linux? = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Hi,=20 I am trying to use the C version of VTD-XML.=20 =20 I tried executing the test program given (the SOAP example)...=20 http://vtd-xml.sourceforge.net/codeSample/cs4.html [using soap.c = soap2.xml]=20 =20 But i am getting this error....=20 =20 Line Number: 14 Offset: 6=20 parse exception e =3D=3D> Parse exception in parse()=20 Ending tag error: Start/ending tag mismatch=20 =20 I am using VC 6 on Win2k... =20 =20 When i tried compilig the project... i got this error =20 error C2632: 'long' followed by 'long' is illegal=20 =20 So.. i modified the typedef for Long to have only long...=20 Apart from this i didn't any other change ....=20 =20 Any clue about the problem....=20 =20 How should i solve the compilation error =20 =20 And if the change is correct... then what else can be the = problem...=20 =20 In case someone has a working example ... please share it...=20 =20 Thanks !!=20 =20 Regards=20 |
|
From: Harbhanu <har...@hu...> - 2007-05-16 03:28:08
|
selectXPath(ap,L"/ns1:Envelope/ns1:Header/*[@ns1:mustUnderstand]") Evaluation of this(in evalXpath) .returns an empty set..r u also getting an empty set..?? _____ From: Jimmy Zhang [mailto:cra...@co...] Sent: Wednesday, May 16, 2007 11:14 AM To: Harbhanu Cc: vtd...@li... Subject: Re: soap.c and soap2.xml Well, yes, you have to call setDoc with the actuall content length... when "r", VC replaces /r/n with /n so the file appears shorter... What expression? Is it declareXPathNameSpace(ap,L"ns1",Lhttp://www.w3.org/2003/05/soap-envelope);? I tried it and it worked for me... ----- Original Message ----- From: Harbhanu <mailto:har...@hu...> To: 'Jimmy Zhang' <mailto:cra...@co...> Cc: vtd...@li... Sent: Tuesday, May 15, 2007 7:22 PM Subject: RE: soap.c and soap2.xml Yes.. now the exception is not there..after using any of the suggested solutions . ("rb' for binary mode) What was the problem??? Was it regarding the legth mismatch between the actual length a the length passed.. Now, the evaluation is not correct.it works for the root selection..but when I execute the original expression . the result is empty... Any clues?? Thanks for the prompt replies..expecting the similar level of activity n promptness in this mailing list!! Regards, Harbhanu _____ From: Jimmy Zhang [mailto:cra...@co...] Sent: Tuesday, May 15, 2007 3:58 PM To: Harbhanu Cc: vtd...@li... Subject: Re: soap.c and soap2.xml I think you should use __int64, to fix the parse exception there are two ways, one is to fopen() the XML doc using the "ro" instead of "r," this is to treat the XML as binary data... the other way is to assign i (an int) the return value of fread(), so instead of "fread(...)," do "i=fread(...)." Either one should fix the problem... ----- Original Message ----- From: Harbhanu <mailto:har...@hu...> To: 'Jimmy Zhang' <mailto:cra...@co...> Cc: vtd...@li... Sent: Monday, May 14, 2007 11:13 PM Subject: RE: soap.c and soap2.xml Hi, Currently I am using Vtd-XML version 2.0. I want to use it on windows..VC-6. Even i think the problem must be pertaining to change of Long...but don't know the exact source. When I use Long typedef as long... Line Number: 14 Offset: 6 parse exception e ==> Parse exception in parse() Ending tag error: Start/ending tag mismatch When I use Long typedef as __int64.. Line Number: 47 Offset: 1 parse exception e ==> Parse exception in parse() Other Error: XML not terminated properly Did u do any change for long long in your code ??.. In my case it will result in compilation errors.... Please try after doing this change in your code.are you also getting similar problem or there is some configuration related issue. Regards, Harbhanu _____ From: Jimmy Zhang [mailto:cra...@co...] Sent: Tuesday, May 15, 2007 12:13 PM To: har...@hu... Cc: vtd...@li... Subject: soap.c and soap2.xml I tried the same code today and could not duplicate this issue. I am using VC 2003... but that should not matter... What version of VTD-XML are you using? Changing Long to long will not work because a long is 32 bit, a Long is 64-bit... can you make file on Linux? ======================================== Hi, I am trying to use the C version of VTD-XML. I tried executing the test program given (the SOAP example)... <http://vtd-xml.sourceforge.net/codeSample/cs4.html> http://vtd-xml.sourceforge.net/codeSample/cs4.html [using soap.c soap2.xml] But i am getting this error.... Line Number: 14 Offset: 6 parse exception e ==> Parse exception in parse() Ending tag error: Start/ending tag mismatch I am using VC 6 on Win2k... When i tried compilig the project... i got this error error C2632: 'long' followed by 'long' is illegal So.. i modified the typedef for Long to have only long... Apart from this i didn't any other change .... Any clue about the problem.... How should i solve the compilation error And if the change is correct... then what else can be the problem... In case someone has a working example ... please share it... Thanks !! Regards |
|
From: Jimmy Z. <cra...@co...> - 2007-05-16 03:14:54
|
Well, yes, you have to call setDoc with the actuall content length... when "r", VC replaces /r/n with /n so the file appears shorter... What expression?=20 Is it = declareXPathNameSpace(ap,L"ns1",Lhttp://www.w3.org/2003/05/soap-envelope)= ;? I tried it and it worked for me... ----- Original Message -----=20 From: Harbhanu=20 To: 'Jimmy Zhang'=20 Cc: vtd...@li...=20 Sent: Tuesday, May 15, 2007 7:22 PM Subject: RE: soap.c and soap2.xml Yes.. now the exception is not there..after using any of the suggested = solutions . ("rb' for binary mode) What was the problem??? Was it regarding the legth mismatch between = the actual length a the length passed.. Now, the evaluation is not correct.it works for the root = selection..but when I execute the original expression . the result is = empty... Any clues?? Thanks for the prompt replies..expecting the similar level of activity = n promptness in this mailing list!! Regards, Harbhanu -------------------------------------------------------------------------= ----- From: Jimmy Zhang [mailto:cra...@co...]=20 Sent: Tuesday, May 15, 2007 3:58 PM To: Harbhanu Cc: vtd...@li... Subject: Re: soap.c and soap2.xml I think you should use __int64, to fix the parse exception there are two ways, one is to fopen() the XML doc using the "ro" instead of "r," this is to treat the XML as binary data... the other way is to assign i (an int) the return value of fread(), so instead of "fread(...)," do "i=3Dfread(...)." Either one should fix the problem... ----- Original Message -----=20 From: Harbhanu=20 To: 'Jimmy Zhang'=20 Cc: vtd...@li...=20 Sent: Monday, May 14, 2007 11:13 PM Subject: RE: soap.c and soap2.xml Hi, Currently I am using Vtd-XML version 2.0. I want to use it on windows..VC-6. Even i think the problem must be pertaining to change of Long...but = don't know the exact source. When I use Long typedef as long... Line Number: 14 Offset: 6 parse exception e =3D=3D> Parse exception in parse() Ending tag error: Start/ending tag mismatch When I use Long typedef as __int64.. Line Number: 47 Offset: 1 parse exception e =3D=3D> Parse exception in parse() Other Error: XML not terminated properly Did u do any change for long long in your code ??.. In my case it = will result in compilation errors.... Please try after doing this change in your code.are you also getting = similar problem or there is some configuration related issue. Regards, Harbhanu -------------------------------------------------------------------------= --- From: Jimmy Zhang [mailto:cra...@co...]=20 Sent: Tuesday, May 15, 2007 12:13 PM To: har...@hu... Cc: vtd...@li... Subject: soap.c and soap2.xml I tried the same code today and could not duplicate this issue. I am using VC 2003... but that should not matter... What version of VTD-XML are you using? Changing Long to long will not work because a long is 32 bit, a Long is 64-bit... can you make file on Linux? = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Hi,=20 I am trying to use the C version of VTD-XML.=20 =20 I tried executing the test program given (the SOAP example)...=20 http://vtd-xml.sourceforge.net/codeSample/cs4.html [using soap.c = soap2.xml]=20 =20 But i am getting this error....=20 =20 Line Number: 14 Offset: 6=20 parse exception e =3D=3D> Parse exception in parse()=20 Ending tag error: Start/ending tag mismatch=20 =20 I am using VC 6 on Win2k... =20 =20 When i tried compilig the project... i got this error =20 error C2632: 'long' followed by 'long' is illegal=20 =20 So.. i modified the typedef for Long to have only long...=20 Apart from this i didn't any other change ....=20 =20 Any clue about the problem....=20 =20 How should i solve the compilation error =20 =20 And if the change is correct... then what else can be the problem... = =20 In case someone has a working example ... please share it...=20 =20 Thanks !!=20 =20 Regards=20 |
|
From: Harbhanu <har...@hu...> - 2007-05-16 02:22:49
|
Yes.. now the exception is not there..after using any of the suggested
solutions . ("rb' for binary mode)
What was the problem??? Was it regarding the legth mismatch between the
actual length a the length passed..
Now, the evaluation is not correct.it works for the root selection..but when
I execute the original expression . the result is empty...
Any clues??
Thanks for the prompt replies..expecting the similar level of activity n
promptness in this mailing list!!
Regards,
Harbhanu
_____
From: Jimmy Zhang [mailto:cra...@co...]
Sent: Tuesday, May 15, 2007 3:58 PM
To: Harbhanu
Cc: vtd...@li...
Subject: Re: soap.c and soap2.xml
I think you should use __int64, to fix the parse exception there are
two ways, one is to fopen() the XML doc using the "ro" instead of "r,"
this is to treat the XML as binary data...
the other way is to assign i (an int) the return value of fread(),
so instead of "fread(...)," do "i=fread(...)."
Either one should fix the problem...
----- Original Message -----
From: Harbhanu <mailto:har...@hu...>
To: 'Jimmy Zhang' <mailto:cra...@co...>
Cc: vtd...@li...
Sent: Monday, May 14, 2007 11:13 PM
Subject: RE: soap.c and soap2.xml
Hi,
Currently I am using Vtd-XML version 2.0.
I want to use it on windows..VC-6.
Even i think the problem must be pertaining to change of Long...but don't
know the exact source.
When I use Long typedef as long...
Line Number: 14 Offset: 6
parse exception e ==> Parse exception in parse()
Ending tag error: Start/ending tag mismatch
When I use Long typedef as __int64..
Line Number: 47 Offset: 1
parse exception e ==> Parse exception in parse()
Other Error: XML not terminated properly
Did u do any change for long long in your code ??.. In my case it will
result in compilation errors....
Please try after doing this change in your code.are you also getting similar
problem or there is some configuration related issue.
Regards,
Harbhanu
_____
From: Jimmy Zhang [mailto:cra...@co...]
Sent: Tuesday, May 15, 2007 12:13 PM
To: har...@hu...
Cc: vtd...@li...
Subject: soap.c and soap2.xml
I tried the same code today and could not duplicate this issue. I am
using VC 2003... but that should not matter...
What version of VTD-XML are you using? Changing Long to long
will not work because a long is 32 bit, a Long is 64-bit...
can you make file on Linux?
========================================
Hi,
I am trying to use the C version of VTD-XML.
I tried executing the test program given (the SOAP example)...
<http://vtd-xml.sourceforge.net/codeSample/cs4.html>
http://vtd-xml.sourceforge.net/codeSample/cs4.html [using soap.c soap2.xml]
But i am getting this error....
Line Number: 14 Offset: 6
parse exception e ==> Parse exception in parse()
Ending tag error: Start/ending tag mismatch
I am using VC 6 on Win2k...
When i tried compilig the project... i got this error
error C2632: 'long' followed by 'long' is illegal
So.. i modified the typedef for Long to have only long...
Apart from this i didn't any other change ....
Any clue about the problem....
How should i solve the compilation error
And if the change is correct... then what else can be the problem...
In case someone has a working example ... please share it...
Thanks !!
Regards
|
|
From: Jimmy Z. <cra...@co...> - 2007-05-15 07:58:46
|
I think you should use __int64, to fix the parse exception there are two ways, one is to fopen() the XML doc using the "ro" instead of "r," this is to treat the XML as binary data... the other way is to assign i (an int) the return value of fread(), so instead of "fread(...)," do "i=3Dfread(...)." Either one should fix the problem... ----- Original Message -----=20 From: Harbhanu=20 To: 'Jimmy Zhang'=20 Cc: vtd...@li...=20 Sent: Monday, May 14, 2007 11:13 PM Subject: RE: soap.c and soap2.xml Hi, Currently I am using Vtd-XML version 2.0. I want to use it on windows..VC-6. Even i think the problem must be pertaining to change of Long...but = don't know the exact source. When I use Long typedef as long... Line Number: 14 Offset: 6 parse exception e =3D=3D> Parse exception in parse() Ending tag error: Start/ending tag mismatch When I use Long typedef as __int64.. Line Number: 47 Offset: 1 parse exception e =3D=3D> Parse exception in parse() Other Error: XML not terminated properly Did u do any change for long long in your code ??.. In my case it will = result in compilation errors.... Please try after doing this change in your code.are you also getting = similar problem or there is some configuration related issue. Regards, Harbhanu -------------------------------------------------------------------------= ----- From: Jimmy Zhang [mailto:cra...@co...]=20 Sent: Tuesday, May 15, 2007 12:13 PM To: har...@hu... Cc: vtd...@li... Subject: soap.c and soap2.xml I tried the same code today and could not duplicate this issue. I am using VC 2003... but that should not matter... What version of VTD-XML are you using? Changing Long to long will not work because a long is 32 bit, a Long is 64-bit... can you make file on Linux? = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Hi,=20 I am trying to use the C version of VTD-XML.=20 =20 I tried executing the test program given (the SOAP example)...=20 http://vtd-xml.sourceforge.net/codeSample/cs4.html [using soap.c = soap2.xml]=20 =20 But i am getting this error....=20 =20 Line Number: 14 Offset: 6=20 parse exception e =3D=3D> Parse exception in parse()=20 Ending tag error: Start/ending tag mismatch=20 =20 I am using VC 6 on Win2k... =20 =20 When i tried compilig the project... i got this error =20 error C2632: 'long' followed by 'long' is illegal=20 =20 So.. i modified the typedef for Long to have only long...=20 Apart from this i didn't any other change ....=20 =20 Any clue about the problem....=20 =20 How should i solve the compilation error =20 =20 And if the change is correct... then what else can be the problem...=20 =20 In case someone has a working example ... please share it...=20 =20 Thanks !!=20 =20 Regards=20 |
|
From: Harbhanu <har...@hu...> - 2007-05-15 06:14:17
|
Hi, Currently I am using Vtd-XML version 2.0. I want to use it on windows..VC-6. Even i think the problem must be pertaining to change of Long...but don't know the exact source. When I use Long typedef as long... Line Number: 14 Offset: 6 parse exception e ==> Parse exception in parse() Ending tag error: Start/ending tag mismatch When I use Long typedef as __int64.. Line Number: 47 Offset: 1 parse exception e ==> Parse exception in parse() Other Error: XML not terminated properly Did u do any change for long long in your code ??.. In my case it will result in compilation errors.... Please try after doing this change in your code.are you also getting similar problem or there is some configuration related issue. Regards, Harbhanu _____ From: Jimmy Zhang [mailto:cra...@co...] Sent: Tuesday, May 15, 2007 12:13 PM To: har...@hu... Cc: vtd...@li... Subject: soap.c and soap2.xml I tried the same code today and could not duplicate this issue. I am using VC 2003... but that should not matter... What version of VTD-XML are you using? Changing Long to long will not work because a long is 32 bit, a Long is 64-bit... can you make file on Linux? ======================================== Hi, I am trying to use the C version of VTD-XML. I tried executing the test program given (the SOAP example)... <http://vtd-xml.sourceforge.net/codeSample/cs4.html> http://vtd-xml.sourceforge.net/codeSample/cs4.html [using soap.c soap2.xml] But i am getting this error.... Line Number: 14 Offset: 6 parse exception e ==> Parse exception in parse() Ending tag error: Start/ending tag mismatch I am using VC 6 on Win2k... When i tried compilig the project... i got this error error C2632: 'long' followed by 'long' is illegal So.. i modified the typedef for Long to have only long... Apart from this i didn't any other change .... Any clue about the problem.... How should i solve the compilation error And if the change is correct... then what else can be the problem... In case someone has a working example ... please share it... Thanks !! Regards |
|
From: Jimmy Z. <cra...@co...> - 2007-05-15 04:14:10
|
I tried the same code today and could not duplicate this issue. I am using VC 2003... but that should not matter... What version of VTD-XML are you using? Changing Long to long will not work because a long is 32 bit, a Long is 64-bit... can you make file on Linux? =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Hi,=20 I am trying to use the C version of VTD-XML.=20 =20 I tried executing the test program given (the SOAP example)...=20 http://vtd-xml.sourceforge.net/codeSample/cs4.html [using soap.c = soap2.xml]=20 =20 But i am getting this error....=20 =20 Line Number: 14 Offset: 6=20 parse exception e =3D=3D> Parse exception in parse()=20 Ending tag error: Start/ending tag mismatch=20 =20 I am using VC 6 on Win2k... =20 =20 When i tried compilig the project... i got this error =20 error C2632: 'long' followed by 'long' is illegal=20 =20 So.. i modified the typedef for Long to have only long...=20 Apart from this i didn't any other change ....=20 =20 Any clue about the problem....=20 =20 How should i solve the compilation error =20 =20 And if the change is correct... then what else can be the problem...=20 =20 In case someone has a working example ... please share it...=20 =20 Thanks !!=20 =20 Regards=20 |
|
From: Jimmy Z. <cra...@co...> - 2007-05-15 04:08:30
|
It seems that the XML file you gunzipped contains well-formedness error
can you visually check it (go to line 22)
Jimmy
----- Original Message -----=20
From: G. P.=20
To: vtd...@li...=20
Sent: Monday, May 14, 2007 4:08 AM
Subject: [Vtd-xml-users] reading zipped xml files
Hi List,
I am trying to read from a gzipped xml file, with the following code :
GZIPInputStream gz =3D new GZIPInputStream(new FileInputStream =
(file));
byte[] b =3D new byte[(int) 2*1024]; //max file size
gz.read(b);
=20
VTDGen vg =3D new VTDGen();
vg.setDoc(b);
vg.parse(false);
But I get an=20
Exception in thread "main" com.ximpleware.ParseException: Starting tag =
Error: Invalid char in starting tag
Line Number: 22 Offset: 15
at com.ximpleware.VTDGen.parse(VTDGen.java:1388)
Can someone point me how I can read directly from a gz file ?
thanks in advance
gpio
-------------------------------------------------------------------------=
-----
=D7=F1=E7=F3=E9=EC=EF=F0=EF=E9=E5=DF=F4=E5 Yahoo!
=C2=E1=F1=E5=E8=DE=EA=E1=F4=E5 =F4=E1 =E5=ED=EF=F7=EB=E7=F4=E9=EA=DC =
=EC=E7=ED=FD =EC=E1=F4=E1 (spam); =D4=EF Yahoo! Mail =
=E4=E9=E1=E8=DD=F4=E5=E9 =F4=E7=ED =EA=E1=EB=FD=F4=E5=F1=E7 =
=E4=F5=ED=E1=F4=DE =F0=F1=EF=F3=F4=E1=F3=DF=E1 =EA=E1=F4=DC =F4=F9=ED =
=E5=ED=EF=F7=EB=E7=F4=E9=EA=FE=ED =EC=E7=ED=F5=EC=DC=F4=F9=ED=20
http://login.yahoo.com/config/mail?.intl=3Dgr=20
-------------------------------------------------------------------------=
-----
=
-------------------------------------------------------------------------=
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------------------------------------------------------------------=
-----
_______________________________________________
Vtd-xml-users mailing list
Vtd...@li...
https://lists.sourceforge.net/lists/listinfo/vtd-xml-users
|
|
From: G. P. <pag...@ya...> - 2007-05-15 03:31:47
|
Hi List,
I am trying to read from a gzipped xml file, with the following code :
GZIPInputStream gz = new GZIPInputStream(new FileInputStream (file));
byte[] b = new byte[(int) 2*1024]; //max file size
gz.read(b);
VTDGen vg = new VTDGen();
vg.setDoc(b);
vg.parse(false);
But I get an
Exception in thread "main" com.ximpleware.ParseException: Starting tag Error: Invalid char in starting tag
Line Number: 22 Offset: 15
at com.ximpleware.VTDGen.parse(VTDGen.java:1388)
Can someone point me how I can read directly from a gz file ?
thanks in advance
gpio
---------------------------------
Χρησιμοποιείτε Yahoo!
Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων
http://login.yahoo.com/config/mail?.intl=gr |
|
From: Jimmy Z. <cra...@co...> - 2007-05-11 01:26:39
|
Hi, All,
A couple of things
* Here is a preview for "Index XML documents with VTD-XML."
http://docs.google.com/Doc?id=dhdt7pxf_13hjg5w2
* VTD-XML blog (http://vtd-xml.blogspot.com) is now live. More articles and
code samples
will be published.
Cheers,
Jimmy Zhang
|
|
From: Jimmy Z. <cra...@co...> - 2007-04-26 21:14:05
|
This bug is now fixed. It is caused by not adding "%unicode" to the declaration of JFlex file of the XPath compiler... Check out http://vtd-xml.cvs.sourceforge.net/*checkout*/vtd-xml/ximple-dev/com/ximpleware/xpath/Yylex.java and http://vtd-xml.cvs.sourceforge.net/*checkout*/vtd-xml/ximple-dev/com/ximpleware/xpath/scanner.flex for the latest update... ----- Original Message ----- From: "Mark Swanson" <ma...@Sc...> To: <vtd...@li...> Sent: Wednesday, April 25, 2007 11:34 PM Subject: [Vtd-xml-users] Bug? xpath parser doesn't accept non-ascii? > Hello, > > This works: > > ap.selectXPath("/purchaseOrder/shipTo[name='Ren']") > > This does not: > > ap.selectXPath("/purchaseOrder/shipTo[name='René']") > > Any reason why non-ascii doesn't work? > > Thanks. > > -- > http://www.ScheduleWorld.com/ > Free Google Calendar synchronization with Outlook, Evolution, > cell phones, BlackBerry, PalmOS, Exchange, Mozilla, Thunderbird, > Pocket PC/Windows Mobile. Also sync tasks, notes and contacts! > WebDAV, vfreebusy, RSS, LDAP, iCalendar, iTIP, iMIP support. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Vtd-xml-users mailing list > Vtd...@li... > https://lists.sourceforge.net/lists/listinfo/vtd-xml-users > |
|
From: Jimmy Z. <cra...@co...> - 2007-04-26 08:19:58
|
will investigate and get back
----- Original Message -----
From: "Mark Swanson" <ma...@Sc...>
To: <vtd...@li...>
Sent: Wednesday, April 25, 2007 11:34 PM
Subject: [Vtd-xml-users] Bug? xpath parser doesn't accept non-ascii?
> Hello,
>
> This works:
>
> ap.selectXPath("/purchaseOrder/shipTo[name='Ren']")
>
> This does not:
>
> ap.selectXPath("/purchaseOrder/shipTo[name='René']")
>
> Any reason why non-ascii doesn't work?
>
> Thanks.
>
> --
> http://www.ScheduleWorld.com/
> Free Google Calendar synchronization with Outlook, Evolution,
> cell phones, BlackBerry, PalmOS, Exchange, Mozilla, Thunderbird,
> Pocket PC/Windows Mobile. Also sync tasks, notes and contacts!
> WebDAV, vfreebusy, RSS, LDAP, iCalendar, iTIP, iMIP support.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Vtd-xml-users mailing list
> Vtd...@li...
> https://lists.sourceforge.net/lists/listinfo/vtd-xml-users
>
|