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-07-02 17:34:51
|
Ok, I think the assumption here is that everything happens within a single process... but pipelining usually is more broadly defined as passing XML data across process's boundry (even across the network, e.g. SOA components) between mutiple programs... like unix's IPC, in that case, it is usually not possible to pass a DOM tree around without re-serializing... ----- Original Message ----- From: "Tatu Saloranta" <cow...@ya...> To: "Jimmy Zhang" <cra...@co...>; "Sun, Vanessa" <vs...@am...>; <vtd...@li...> Sent: Monday, July 02, 2007 9:45 AM Subject: Re: [Vtd-xml-users] update-operation impact, if any? > --- Jimmy Zhang <cra...@co...> wrote: > >> It is not much different from DOM, albeit VTD-XML's >> more efficient... >> when you send DOM downstream, still need to >> serialize... >> for VTD-XML, you just call XMLModifier's output()... > > Not necessarily, more often it's all within a single > process, the tree model just gets passed. If so, no > additional serialization or parsing is needed. > > I think it is fair to say that different models are > more optimal for different use cases, and that heavy > modifications are amongst hardest use cases for > extractive parsers to implement efficiently (as > opposed to read-only that is the most optimal). > > Regarding original problem -- it is of course possible > to move from basic DOM to other Java tree > alternatives. Also, most xml processing overhead might > not come directly from DOM model itself: it is good to > profile to see if it might have to do with other > processing (xslt if it's being used, xpath, naive > business logic that uses too much traversal). > > -+ Tatu +- > > > > > ____________________________________________________________________________________ > Sick sense of humor? Visit Yahoo! TV's > Comedy with an Edge to see what's on, when. > http://tv.yahoo.com/collections/222 > |
|
From: Tatu S. <cow...@ya...> - 2007-07-02 16:45:34
|
--- Jimmy Zhang <cra...@co...> wrote:
> It is not much different from DOM, albeit VTD-XML's
> more efficient...
> when you send DOM downstream, still need to
> serialize...
> for VTD-XML, you just call XMLModifier's output()...
Not necessarily, more often it's all within a single
process, the tree model just gets passed. If so, no
additional serialization or parsing is needed.
I think it is fair to say that different models are
more optimal for different use cases, and that heavy
modifications are amongst hardest use cases for
extractive parsers to implement efficiently (as
opposed to read-only that is the most optimal).
Regarding original problem -- it is of course possible
to move from basic DOM to other Java tree
alternatives. Also, most xml processing overhead might
not come directly from DOM model itself: it is good to
profile to see if it might have to do with other
processing (xslt if it's being used, xpath, naive
business logic that uses too much traversal).
-+ Tatu +-
____________________________________________________________________________________
Sick sense of humor? Visit Yahoo! TV's
Comedy with an Edge to see what's on, when.
http://tv.yahoo.com/collections/222
|
|
From: Jimmy Z. <cra...@co...> - 2007-07-02 01:11:12
|
It is not much different from DOM, albeit VTD-XML's more efficient...=20 when you send DOM downstream, still need to serialize...=20 for VTD-XML, you just call XMLModifier's output()... The following stage will still need to parse the incoming XML ... so you have to=20 1. parse 2. add changes 3. generate output whether using DOM or VTD-XML... where is the difference? ----- Original Message -----=20 From: Sun, Vanessa=20 To: Jimmy Zhang ; vtd...@li...=20 Sent: Sunday, July 01, 2007 4:44 PM Subject: RE: [Vtd-xml-users] update-operation impact, if any? I see.=20 Our use case is a xml processing pipeline, each stage will modify the = document then send it down to the next stage for further processing... = if I understand your comments correctly, this means each stage will have = to produce a new byte[] and NVDNav in order for the next stage to see = and navigate the whole document... We are currently using a Dom tree and just keep adding new data to the = tree and pass the tree through the pipeline. Sure it is slow (that's why = we are looking for alternative), but intuitively thinking, it should = still be more efficient for partial updates than recreate the whole = document for each stage ... am I missing something? -------------------------- Cheers, Vanessa -------------------------------------------------------------------------= ----- From: Jimmy Zhang [mailto:cra...@co...]=20 Sent: Sunday, July 01, 2007 11:14 AM To: Sun, Vanessa; vtd...@li... Subject: Re: [Vtd-xml-users] update-operation impact, if any? Does XMLModifier directly manipulating the underlying byte[]?=20 XMLModifier does *not* directly overwrite the underlying bytes...=20 it will apply change and output *new* XML data into OutputStream... How does it handle inserting new data fragment?=20 if you insert new data fragment, you just have to navigate the cursor = to the right spot in the XML document and drop it in create a new memory block to combine both of them? or just track the = new block with the token?=20 yes, that is right , except you don't explicitly create new memory block, instead you = create an outputStream (e.g. ByteArrayOutputStream) Is there a performance benchmark on update operation comparison with = the other implementation? http://vtd-xml.sourceforge.net/benchmark1.html update+xpath+indexing, = so update is part of it Can we associate multiple VTDNav with the VTDGen? Regardless, how will = the update operation impact the existing VTDNav ? (the currentIdnex for = example) You can using VTDGen to create multiple VTDNav, think VTDGEn as a DOM = parser, VTDNav as a DOM tree.. Has not effect on update, as update is associated with VTDNav, not = VTDGen... How will these newly inserted fragments impact the overall navigation = performance?=20 No effect, since inserted fragement are not really inserted, = XMLModifier only records the insertion, new XML is created only when you = ask XMLModifier to output new XML How does the update operation impact the existing bookmarks?=20 No effect, as the update operation's effect isn't immediate ----- Original Message -----=20 From: Sun, Vanessa=20 To: vtd...@li...=20 Sent: Saturday, June 30, 2007 10:26 PM Subject: [Vtd-xml-users] update-operation impact, if any? Wondering what is frequent update/insert impact for vtd-xml : a.. Does XMLModifier directly manipulating the underlying byte[]? = How does it handle inserting new data fragment? create a new memory = block to combine both of them? or just track the new block with the = token? Is there a performance benchmark on update operation comparison = with the other implementation? b.. How will these newly inserted fragments impact the overall = navigation performance?=20 c.. How does the update operation impact the existing bookmarks?=20 d.. Can we associate multiple VTDNav with the VTDGen? Regardless, = how will the update operation impact the existing VTDNav ? (the = currentIdnex for example) Thanks. -------------------------- Cheers, Vanessa -------------------------------------------------------------------------= --- = -------------------------------------------------------------------------= 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: Jimmy Z. <cra...@co...> - 2007-07-02 01:00:23
|
well, having multiple thread access same VTDNav is a feature we will =
introduce in the next
release ... up until now the assumption is that most XML tasks are =
single-threaded...
so it is always like this
parse... xpath1.... xpath2 ...xpath3...etc
I think you are looking for
xpath1=20
parse xpath2
xpath3...
right?
----- Original Message -----=20
From: Sun, Vanessa=20
To: Jimmy Zhang ; vtd...@li...=20
Sent: Sunday, July 01, 2007 4:00 PM
Subject: RE: [Vtd-xml-users] using vtd-xml in multi-threaded =
environment
if VTDNav is like a DOM document, then yes multiple threads will be =
operate on the same VTDNav. They will use different xpath to access =
different part of the document.
--------------------------
Cheers,
Vanessa
-------------------------------------------------------------------------=
-----
From: Jimmy Zhang [mailto:cra...@co...]=20
Sent: Sunday, July 01, 2007 11:19 AM
To: Sun, Vanessa; vtd...@li...
Subject: Re: [Vtd-xml-users] using vtd-xml in multi-threaded =
environment
The rule of thumb: one XPath expression per AutoPilot object..., you=20
can attach an AutoPilot object to different VTDnav object, one at a =
time...
are you using multiple threads on the *same* VTDnav object??
----- Original Message -----=20
From: Sun, Vanessa=20
To: vtd...@li...=20
Sent: Saturday, June 30, 2007 10:57 PM
Subject: [Vtd-xml-users] using vtd-xml in multi-threaded environment
Has anybody used vtd-xml in the multi-threaded environment?=20
We have multiple threads that could use AutoPilot xpath to read some =
part of the xml, do I need to create multiple AutoPilot objects? How =
about the VTDNav ? Is there any multi-threaded code example?=20
Thanks.
--------------------------
Cheers,
Vanessa
-------------------------------------------------------------------------=
---
=
-------------------------------------------------------------------------=
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: Sun, V. <vs...@am...> - 2007-07-01 23:44:45
|
I see.=20 =20 Our use case is a xml processing pipeline, each stage will modify the document then send it down to the next stage for further processing... if I understand your comments correctly, this means each stage will have to produce a new byte[] and NVDNav in order for the next stage to see and navigate the whole document... =20 We are currently using a Dom tree and just keep adding new data to the tree and pass the tree through the pipeline. Sure it is slow (that's why we are looking for alternative), but intuitively thinking, it should still be more efficient for partial updates than recreate the whole document for each stage ... am I missing something? =20 -------------------------- Cheers, Vanessa =20 ________________________________ From: Jimmy Zhang [mailto:cra...@co...]=20 Sent: Sunday, July 01, 2007 11:14 AM To: Sun, Vanessa; vtd...@li... Subject: Re: [Vtd-xml-users] update-operation impact, if any? Does XMLModifier directly manipulating the underlying byte[]?=20 XMLModifier does *not* directly overwrite the underlying bytes...=20 it will apply change and output *new* XML data into OutputStream... =20 How does it handle inserting new data fragment?=20 if you insert new data fragment, you just have to navigate the cursor to the right spot in the XML document and drop it in =20 create a new memory block to combine both of them? or just track the new block with the token?=20 yes, that is right , except you don't explicitly create new memory block, instead you create an outputStream (e.g. ByteArrayOutputStream) =20 Is there a performance benchmark on update operation comparison with the other implementation? http://vtd-xml.sourceforge.net/benchmark1.html update+xpath+indexing, so update is part of it =20 Can we associate multiple VTDNav with the VTDGen? Regardless, how will the update operation impact the existing VTDNav ? (the currentIdnex for example) =20 You can using VTDGen to create multiple VTDNav, think VTDGEn as a DOM parser, VTDNav as a DOM tree.. Has not effect on update, as update is associated with VTDNav, not VTDGen... =20 How will these newly inserted fragments impact the overall navigation performance?=20 =20 No effect, since inserted fragement are not really inserted, XMLModifier only records the insertion, new XML is created only when you ask XMLModifier to output new XML =20 How does the update operation impact the existing bookmarks?=20 =20 No effect, as the update operation's effect isn't immediate =20 ----- Original Message -----=20 From: Sun, Vanessa <mailto:vs...@am...> =20 To: vtd...@li...=20 Sent: Saturday, June 30, 2007 10:26 PM Subject: [Vtd-xml-users] update-operation impact, if any? =09 =09 Wondering what is frequent update/insert impact for vtd-xml : *=09 Does XMLModifier directly manipulating the underlying byte[]? How does it handle inserting new data fragment? create a new memory block to combine both of them? or just track the new block with the token? Is there a performance benchmark on update operation comparison with the other implementation? *=09 How will these newly inserted fragments impact the overall navigation performance?=20 *=09 How does the update operation impact the existing bookmarks?=20 *=09 Can we associate multiple VTDNav with the VTDGen? Regardless, how will the update operation impact the existing VTDNav ? (the currentIdnex for example) Thanks. =20 -------------------------- Cheers, Vanessa =20 =09 ________________________________ =09 =09 ------------------------------------------------------------------------ - 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 =09 ________________________________ =09 _______________________________________________ Vtd-xml-users mailing list Vtd...@li... https://lists.sourceforge.net/lists/listinfo/vtd-xml-users =09 |
|
From: Sun, V. <vs...@am...> - 2007-07-01 23:00:24
|
if VTDNav is like a DOM document, then yes multiple threads will be operate on the same VTDNav. They will use different xpath to access different part of the document. =20 -------------------------- Cheers, Vanessa =20 ________________________________ From: Jimmy Zhang [mailto:cra...@co...]=20 Sent: Sunday, July 01, 2007 11:19 AM To: Sun, Vanessa; vtd...@li... Subject: Re: [Vtd-xml-users] using vtd-xml in multi-threaded environment The rule of thumb: one XPath expression per AutoPilot object..., you=20 can attach an AutoPilot object to different VTDnav object, one at a time... =20 are you using multiple threads on the *same* VTDnav object?? ----- Original Message -----=20 From: Sun, Vanessa <mailto:vs...@am...> =20 To: vtd...@li...=20 Sent: Saturday, June 30, 2007 10:57 PM Subject: [Vtd-xml-users] using vtd-xml in multi-threaded environment Has anybody used vtd-xml in the multi-threaded environment?=20 =20 We have multiple threads that could use AutoPilot xpath to read some part of the xml, do I need to create multiple AutoPilot objects? How about the VTDNav ? Is there any multi-threaded code example?=20 =20 Thanks. =20 -------------------------- Cheers, Vanessa =20 =09 ________________________________ =09 =09 ------------------------------------------------------------------------ - 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 =09 ________________________________ =09 _______________________________________________ Vtd-xml-users mailing list Vtd...@li... https://lists.sourceforge.net/lists/listinfo/vtd-xml-users =09 |
|
From: Jimmy Z. <cra...@co...> - 2007-07-01 18:19:42
|
The rule of thumb: one XPath expression per AutoPilot object..., you=20 can attach an AutoPilot object to different VTDnav object, one at a = time... are you using multiple threads on the *same* VTDnav object?? ----- Original Message -----=20 From: Sun, Vanessa=20 To: vtd...@li...=20 Sent: Saturday, June 30, 2007 10:57 PM Subject: [Vtd-xml-users] using vtd-xml in multi-threaded environment Has anybody used vtd-xml in the multi-threaded environment?=20 We have multiple threads that could use AutoPilot xpath to read some = part of the xml, do I need to create multiple AutoPilot objects? How = about the VTDNav ? Is there any multi-threaded code example?=20 Thanks. -------------------------- Cheers, Vanessa -------------------------------------------------------------------------= ----- = -------------------------------------------------------------------------= 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-07-01 18:14:51
|
Does XMLModifier directly manipulating the underlying byte[]?=20 XMLModifier does *not* directly overwrite the underlying bytes...=20 it will apply change and output *new* XML data into OutputStream... How does it handle inserting new data fragment?=20 if you insert new data fragment, you just have to navigate the cursor to = the right spot in the XML document and drop it in create a new memory block to combine both of them? or just track the new = block with the token?=20 yes, that is right , except you don't explicitly create new memory block, instead you create = an outputStream (e.g. ByteArrayOutputStream) Is there a performance benchmark on update operation comparison with the = other implementation? http://vtd-xml.sourceforge.net/benchmark1.html update+xpath+indexing, = so update is part of it Can we associate multiple VTDNav with the VTDGen? Regardless, how will = the update operation impact the existing VTDNav ? (the currentIdnex for = example) You can using VTDGen to create multiple VTDNav, think VTDGEn as a DOM = parser, VTDNav as a DOM tree.. Has not effect on update, as update is associated with VTDNav, not = VTDGen... How will these newly inserted fragments impact the overall navigation = performance?=20 No effect, since inserted fragement are not really inserted, XMLModifier = only records the insertion, new XML is created only when you ask XMLModifier to output new XML How does the update operation impact the existing bookmarks?=20 No effect, as the update operation's effect isn't immediate ----- Original Message -----=20 From: Sun, Vanessa=20 To: vtd...@li...=20 Sent: Saturday, June 30, 2007 10:26 PM Subject: [Vtd-xml-users] update-operation impact, if any? Wondering what is frequent update/insert impact for vtd-xml : a.. Does XMLModifier directly manipulating the underlying byte[]? = How does it handle inserting new data fragment? create a new memory = block to combine both of them? or just track the new block with the = token? Is there a performance benchmark on update operation comparison = with the other implementation? b.. How will these newly inserted fragments impact the overall = navigation performance?=20 c.. How does the update operation impact the existing bookmarks?=20 d.. Can we associate multiple VTDNav with the VTDGen? Regardless, = how will the update operation impact the existing VTDNav ? (the = currentIdnex for example) Thanks. -------------------------- Cheers, Vanessa -------------------------------------------------------------------------= ----- = -------------------------------------------------------------------------= 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: Sun, V. <vs...@am...> - 2007-07-01 05:57:30
|
Has anybody used vtd-xml in the multi-threaded environment?=20 =20 We have multiple threads that could use AutoPilot xpath to read some part of the xml, do I need to create multiple AutoPilot objects? How about the VTDNav ? Is there any multi-threaded code example?=20 =20 Thanks. =20 -------------------------- Cheers, Vanessa =20 |
|
From: Sun, V. <vs...@am...> - 2007-07-01 05:26:14
|
Wondering what is frequent update/insert impact for vtd-xml : *=09 Does XMLModifier directly manipulating the underlying byte[]? How does it handle inserting new data fragment? create a new memory block to combine both of them? or just track the new block with the token? Is there a performance benchmark on update operation comparison with the other implementation? *=09 How will these newly inserted fragments impact the overall navigation performance?=20 *=09 How does the update operation impact the existing bookmarks?=20 *=09 Can we associate multiple VTDNav with the VTDGen? Regardless, how will the update operation impact the existing VTDNav ? (the currentIdnex for example) Thanks. =20 -------------------------- Cheers, Vanessa =20 |
|
From: Jimmy Z. <cra...@co...> - 2007-06-30 02:31:47
|
http://vtd-xml.blogspot.com/2007/06/body-p-div-h1-h2-h3-h4-h5-h6-address-= ol.html ----- Original Message -----=20 From: Jimmy Zhang=20 To: zhangong xu ; vtd...@li...=20 Sent: Friday, June 29, 2007 12:39 PM Subject: Re: [Vtd-xml-users] A problem about VTD-XML parsing. I have to investigate, but right now I think you get call = getElementFragment to get the fragement offset/length for <c>abc</c>, once you have that you can = then chop off <b>...</b> fragment, then reinsert <c>abc</c>.. let me see if I = can make it work first... ----- Original Message -----=20 From: zhangong xu=20 To: vtd...@li...=20 Sent: Friday, June 29, 2007 2:15 AM Subject: [Vtd-xml-users] A problem about VTD-XML parsing. Hi All , Ii have a problem: A xml file contains this: <a> <b> <c>abc</c> </b> </a> but now i want to process it to the following result: <a> <c>abc</c> </a> what we should do is cuting the label <b>and</b> but the content = between them is still available. I have tried it by using the removeToken() method in XMLModifier, = but it can only remove the start-tag content, the end-tag</b> is still = exist,what should i do? Can anybody give me a program example?=20 Thanks so much. -------------------------------------------------------------------------= --- Hotmail to go? Get your Hotmail, news, sports and much more! Check = out the New MSN Mobile=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/=20 -------------------------------------------------------------------------= --- _______________________________________________ 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-06-29 19:39:49
|
I have to investigate, but right now I think you get call =
getElementFragment to get
the fragement offset/length for <c>abc</c>, once you have that you can =
then chop
off <b>...</b> fragment, then reinsert <c>abc</c>.. let me see if I can =
make it work first...
----- Original Message -----=20
From: zhangong xu=20
To: vtd...@li...=20
Sent: Friday, June 29, 2007 2:15 AM
Subject: [Vtd-xml-users] A problem about VTD-XML parsing.
Hi All ,
Ii have a problem:
A xml file contains this:
<a>
<b>
<c>abc</c>
</b>
</a>
but now i want to process it to the following result:
<a>
<c>abc</c>
</a>
what we should do is cuting the label <b>and</b> but the content =
between them is still available.
I have tried it by using the removeToken() method in XMLModifier, =
but it can only remove the start-tag content, the end-tag</b> is still =
exist,what should i do?
Can anybody give me a program example?=20
Thanks so much.
-------------------------------------------------------------------------=
-----
Hotmail to go? Get your Hotmail, news, sports and much more! Check out =
the New MSN Mobile=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: zhangong xu <xuz...@ho...> - 2007-06-29 09:15:49
|
Hi All , Ii have a problem: A xml file contains this: <a> <b> <c>abc= </c> </b></a> but now i want to process it to the following result: <a= > <c>abc</c> </a> what we should do is cuting the label <b>and</b> but = the content between them is still available. I have tried it by using the = removeToken() method in XMLModifier, but it can only remove the start-tag c= ontent, the end-tag</b> is still exist,what should i do? Can anybody give = me a program example? Thanks so much. _________________________________________________________________ Hotmail to go? Get your Hotmail, news, sports and much more! Check out the = New MSN Mobile!=20 http://mobile.msn.com= |
|
From: Ben A. <ben...@st...> - 2007-06-25 09:05:31
|
Hello there I would greatly appreciate a small amount of your time to assist with my doctoral research at The University of Newcastle. The research concerns open source licensing and we're seeking developers working on Java projects. The research is supervised, ethics-approved, anonymous and results will be freely available. Participation will also provide a custom licensing report for your project. To learn more, please visit: http://licensing-research.newcastle.edu.au Thanks for reading this email, and I hope you'll consider participating. Best regards Ben Alex (My apologies for being off-topic; this list will not be emailed again) |
|
From: Rodrigo C. <rn...@gm...> - 2007-06-19 15:06:03
|
Thanks! I'll try to test it today or tomorrow. Jimmy Zhang wrote: > VTD-XML 2.1 is released. This version contains a number of features and bug > fixes. > * The BookMark class is introduced into all available plaforms of VTD-XML. > * C# and Java port of VTD-XML fix the bug of unicode chars in XPath > expression. > * C version of VTD-XML has numerous code clean-ups. > > Downloads available at > > http://sourceforge.net/project/showfiles.php?group_id=110612 > > > > ------------------------------------------------------------------------- > 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-06-18 18:29:32
|
VTD-XML 2.1 is released. This version contains a number of features and bug fixes. * The BookMark class is introduced into all available plaforms of VTD-XML. * C# and Java port of VTD-XML fix the bug of unicode chars in XPath expression. * C version of VTD-XML has numerous code clean-ups. Downloads available at http://sourceforge.net/project/showfiles.php?group_id=110612 |
|
From: Jimmy Z. <cra...@co...> - 2007-06-13 18:28:51
|
Here is the project summary for GeoXPATH GeoXPath module focuses on extending XPath implementation to support = geospatial operations, it implements an geo-enabled XPath syntax by = appending some geospatial operators to the core function library of = XPath. One can use it to do geospatial query on GML.=20 The implementation and the definitions of augmented operators will refer = to relative OGC specifications involving GML and SFS, and these = operators fall into the following three categories:=20 a.. Basic geospatial operators, such as dimension, geometrytype, srid, = envelope, astext, asbinary;=20 b.. Geospatial relationship predicates, such as equals, disjoint, = intersects, touches, crosses, within, contains, overlap;=20 c.. Geospatial analysis operators, such as distance, buffer, = convexhull, intersection, union, difference, symdifference. ----- Original Message -----=20 From: jie yan=20 To: vtd...@li...=20 Sent: Monday, June 11, 2007 8:40 PM Subject: [Vtd-xml-users] GeoXPath subproject Hi All, The GeoXPath sub-project has been declared on VTD-XML website. I'm just making first-phase preparations, to get familiar with JFlex = and CUP, to understand existing XPath implementation of VTD-XML, to read = GML and SFA specifications, to design the definitions of geo-related = functions, for instance.=20 Now it's time to start design and development, and I will appreciate = all your suggestions and comments. Leon -------------------------------------------------------------------------= ----- = -------------------------------------------------------------------------= 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: jie y. <leo...@gm...> - 2007-06-12 03:40:22
|
Hi All, The GeoXPath sub-project has been declared on VTD-XML website. I'm just making first-phase preparations, to get familiar with JFlex and CUP, to understand existing XPath implementation of VTD-XML, to read GML and SFA specifications, to design the definitions of geo-related functions, for instance. Now it's time to start design and development, and I will appreciate all your suggestions and comments. Leon |
|
From: Jimmy Z. <cra...@co...> - 2007-06-08 18:01:48
|
Hi All, In case you are interested in "XML on a chip," here is a = recently de-classfied whitepaper. http://www.ximpleware.com/wp_SUN.pdf JImmy |
|
From: Jimmy Z. <cra...@co...> - 2007-05-30 19:29:33
|
The latest piece on vtd-xml blog http://vtd-xml.blogspot.com/2007/05/in-this-article-you-will-see-parsing.html |
|
From: Harbhanu <har...@hu...> - 2007-05-17 08:21:09
|
It is in line 2866.... I just tried to locate the problem(crash) and for that I replaced that with offset++. That might not be the correct fix... but surely the problem is with that line. Since, every time the value of variable "l" is less than INT_MAX and as a result the offset variable never gets incremented ... eventually leading to an out of bound access of "s".(Line 2867) -----Original Message----- From: Jimmy Zhang [mailto:cra...@co...] Sent: Thursday, May 17, 2007 4:03 PM To: Harbhanu Cc: vtd...@li... Subject: Re: Problem with ..toRawString2 The CVS version of toRawString2 is below, which line do you increment the offset value? http://vtd-xml.cvs.sourceforge.net/vtd-xml/ximple-dev_c/vtd-xml/vtdNav.c?vie w=markup ----- Original Message ----- From: "Harbhanu" <har...@hu...> To: "'Jimmy Zhang'" <cra...@co...> Cc: <vtd...@li...> Sent: Wednesday, May 16, 2007 10:10 PM Subject: RE: Problem with ..toRawString2 > In my case the value of "offset" variable is not getting incremented...in > the while loop...so its eventually leading to an out of bound access of > array "s"... > Does this have to do anything with endianness...?? > Ps: I have to set BIG_ENDIAN macro value to 0 .if my system is little > endian... right ? > > > -----Original Message----- > From: Jimmy Zhang [mailto:cra...@co...] > Sent: Thursday, May 17, 2007 12:14 PM > To: Harbhanu > Cc: vtd...@li... > Subject: Re: Problem with ..toRawString2 > > Can't verify the issue, toRawString2 seems to work for me... > toRawString2 is called within toRawString(...)... > which offset value did you incrment? > > ----- Original Message ----- > From: "Harbhanu" <har...@hu...> > To: "'Jimmy Zhang'" <cra...@co...> > Cc: <vtd...@li...> > Sent: Tuesday, May 15, 2007 11:28 PM > Subject: Problem with ..toRawString2 > > >> 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: Jimmy Z. <cra...@co...> - 2007-05-17 08:03:24
|
The CVS version of toRawString2 is below, which line do you increment the offset value? http://vtd-xml.cvs.sourceforge.net/vtd-xml/ximple-dev_c/vtd-xml/vtdNav.c?view=markup ----- Original Message ----- From: "Harbhanu" <har...@hu...> To: "'Jimmy Zhang'" <cra...@co...> Cc: <vtd...@li...> Sent: Wednesday, May 16, 2007 10:10 PM Subject: RE: Problem with ..toRawString2 > In my case the value of "offset" variable is not getting incremented...in > the while loop...so its eventually leading to an out of bound access of > array "s"... > Does this have to do anything with endianness...?? > Ps: I have to set BIG_ENDIAN macro value to 0 .if my system is little > endian... right ? > > > -----Original Message----- > From: Jimmy Zhang [mailto:cra...@co...] > Sent: Thursday, May 17, 2007 12:14 PM > To: Harbhanu > Cc: vtd...@li... > Subject: Re: Problem with ..toRawString2 > > Can't verify the issue, toRawString2 seems to work for me... > toRawString2 is called within toRawString(...)... > which offset value did you incrment? > > ----- Original Message ----- > From: "Harbhanu" <har...@hu...> > To: "'Jimmy Zhang'" <cra...@co...> > Cc: <vtd...@li...> > Sent: Tuesday, May 15, 2007 11:28 PM > Subject: Problem with ..toRawString2 > > >> 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-17 05:11:04
|
In my case the value of "offset" variable is not getting incremented...in the while loop...so its eventually leading to an out of bound access of array "s"... Does this have to do anything with endianness...?? Ps: I have to set BIG_ENDIAN macro value to 0 .if my system is little endian... right ? -----Original Message----- From: Jimmy Zhang [mailto:cra...@co...] Sent: Thursday, May 17, 2007 12:14 PM To: Harbhanu Cc: vtd...@li... Subject: Re: Problem with ..toRawString2 Can't verify the issue, toRawString2 seems to work for me... toRawString2 is called within toRawString(...)... which offset value did you incrment? ----- Original Message ----- From: "Harbhanu" <har...@hu...> To: "'Jimmy Zhang'" <cra...@co...> Cc: <vtd...@li...> Sent: Tuesday, May 15, 2007 11:28 PM Subject: Problem with ..toRawString2 > 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: Jimmy Z. <cra...@co...> - 2007-05-17 04:14:44
|
Can't verify the issue, toRawString2 seems to work for me... toRawString2 is called within toRawString(...)... which offset value did you incrment? ----- Original Message ----- From: "Harbhanu" <har...@hu...> To: "'Jimmy Zhang'" <cra...@co...> Cc: <vtd...@li...> Sent: Tuesday, May 15, 2007 11:28 PM Subject: Problem with ..toRawString2 > 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: Jimmy Z. <cra...@co...> - 2007-05-16 18:25:06
|
Sorry for my imcomplete email, below is the complete version 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 tools, you will need *JFLex (www.jflex.de) * Java Cup (http://www.cs.princeton.edu/~appel/modern/java/CUP/) * Most the VTD-XML code is in FuncExpr.java Also keep in mind VTD-XML has C port, so the extension needs to be = portable to C as well... So take a look at the code and any input on the design of expression = evaluation very welcome! ----- 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 |