[GCC-XML]converting gccxml output into internal database for better access

Valery Sigalov valery.sigalov@audiocodes.com
Mon, 6 May 2002 14:42:08 +0200


This is a multi-part message in MIME format.

------_=_NextPart_001_01C1F4FB.6F1CE5D4
Content-Type: text/plain; charset="windows-1255"
Content-Transfer-Encoding: quoted-printable

Michael,
Thank you for reply.
I think, I did not explain myself clearly. Actually, I am looking for libra=
ry with effective parsing algoritm.
For example, I reached the xml representation of the function and I need to=
 take all the information
about it's parameters, but the parameter's types are id links. So, I need t=
o reparse the file to have the=20
information stored after these links, and, if these pararameters are also c=
omplex types, I will need to
reparse the file many times to have entire data structure.
SQL is fine, but I want to work with my data structure, as with xml file, u=
sing the same parsing API,
but, I think, inside has to be something like in-between hashtable represen=
tation of this file for quick
search by index. I can implement all this myself, but I am sure, somebody a=
lready did it, and that is
I am looking for.
                                                                        Reg=
ards, Valery.
=20

-----Original Message-----
From: Dupont, Michael [mailto:michael.dupont@mciworldcom.de]
Sent: 06 May 2002 11:27
To: Valery Sigalov; gccxml@www.gccxml.org
Subject: RE: [GCC-XML]converting gccxml output into internal database for b=
etter access


Valery,
=20
Why do you need to reparse the data every time?
If you produce and XML file using gccxml,
 you can parse that, and the keep all the data in memory as needed.
=20
A SQL database is possible, but you really need to think about your process=
ing steps.
=20
mike

-----Original Mess[Dupont, Michael]  age-----
From: Valery Sigalov [mailto:valery.sigalov@audiocodes.com]
Sent: Montag, 6. Mai 2002 12:28
To: gccxml@www.gccxml.org
Subject: [GCC-XML]converting gccxml output into internal database for bette=
r access



Hello,=20
I need to parse the gccxml output file many times to receive the data. It s=
eems=20
very ineffective to parse the file every time from the beginning, to find t=
he next=20
id link, so I am looking for library for converting the gccxml output into =
internal=20
database.=20
I am very hope, somebody knows about the library of this kind.=20
                                Regards, Valery.=20






***************************************************************************=
*********************************
This email and any files transmitted with it are confidential material.
They are intended solely for the use of the individual or entity to whom th=
ey are addressed.
If you have received this email in error please notify postmaster@audiocode=
s.com
and permanently delete the e-mail and files.
***************************************************************************=
********************************


------_=_NextPart_001_01C1F4FB.6F1CE5D4
Content-Type: text/html; charset="windows-1255"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dwindows-1=
255">
<TITLE>converting gccxml output into internal database for better access</T=
ITLE>

<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D641470612-06052002><FONT face=3DArial color=3D#0000ff=20
size=3D2>Michael,</FONT></SPAN></DIV>
<DIV><SPAN class=3D641470612-06052002><FONT face=3DArial color=3D#0000ff si=
ze=3D2>Thank=20
you for reply.</FONT></SPAN></DIV>
<DIV><SPAN class=3D641470612-06052002><FONT face=3DArial color=3D#0000ff si=
ze=3D2>I=20
think,&nbsp;I did not explain myself clearly. Actually, I am looking for li=
brary=20
with effective parsing algoritm.</FONT></SPAN></DIV>
<DIV><SPAN class=3D641470612-06052002><FONT face=3DArial color=3D#0000ff si=
ze=3D2>For=20
example, I&nbsp;reached the xml representation of the function and I need t=
o=20
take all the information</FONT></SPAN></DIV>
<DIV><SPAN class=3D641470612-06052002><FONT face=3DArial color=3D#0000ff si=
ze=3D2>about=20
it's parameters, but the parameter's types are id links. So, I need to repa=
rse=20
the file to have the </FONT></SPAN></DIV>
<DIV><SPAN class=3D641470612-06052002><FONT face=3DArial color=3D#0000ff=20
size=3D2>information stored after these links, and, if these pararameters a=
re also=20
complex types, I will need to</FONT></SPAN></DIV>
<DIV><SPAN class=3D641470612-06052002><FONT face=3DArial color=3D#0000ff=20
size=3D2>reparse the file many times to have entire data=20
structure.</FONT></SPAN></DIV>
<DIV><SPAN class=3D641470612-06052002><FONT face=3DArial color=3D#0000ff si=
ze=3D2>SQL is=20
fine, but I want to work with my data structure, as with xml file, using th=
e=20
same parsing API,</FONT></SPAN></DIV>
<DIV><SPAN class=3D641470612-06052002><FONT face=3DArial color=3D#0000ff si=
ze=3D2>but, I=20
think, inside has to be something like in-between hashtable representation =
of=20
this file for quick</FONT></SPAN></DIV>
<DIV><SPAN class=3D641470612-06052002><FONT face=3DArial color=3D#0000ff si=
ze=3D2>search=20
by index. I can implement all this myself, but I am sure, somebody already =
did=20
it, and that is</FONT></SPAN></DIV>
<DIV><SPAN class=3D641470612-06052002><FONT face=3DArial color=3D#0000ff si=
ze=3D2>I am=20
looking for.</FONT></SPAN></DIV>
<DIV><SPAN=20
class=3D641470612-06052002>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;=20
<FONT face=3DArial color=3D#0000ff size=3D2>Regards, Valery.</FONT></SPAN><=
/DIV>
<DIV><SPAN class=3D641470612-06052002><FONT face=3DArial color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT face=3DTah=
oma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> Dupont, Michael=20
  [mailto:michael.dupont@mciworldcom.de]<BR><B>Sent:</B> 06 May 2002=20
  11:27<BR><B>To:</B> Valery Sigalov; gccxml@www.gccxml.org<BR><B>Subject:<=
/B>=20
  RE: [GCC-XML]converting gccxml output into internal database for better=
   access<BR><BR></FONT></DIV>
  <DIV><SPAN class=3D846302909-06052002><FONT color=3D#0000ff=20
  size=3D2>Valery,</FONT></SPAN></DIV>
  <DIV><SPAN class=3D846302909-06052002><FONT color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D846302909-06052002><FONT color=3D#0000ff size=3D2>Why =
do you need=20
  to reparse the data every time?</FONT></SPAN></DIV>
  <DIV><SPAN class=3D846302909-06052002><FONT color=3D#0000ff size=3D2>If y=
ou produce=20
  and XML file using gccxml,</FONT></SPAN></DIV>
  <DIV><SPAN class=3D846302909-06052002><FONT color=3D#0000ff size=3D2>&nbs=
p;you can=20
  parse that, and the keep all the data in memory as needed.</FONT></SPAN><=
/DIV>
  <DIV><SPAN class=3D846302909-06052002><FONT color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D846302909-06052002><FONT color=3D#0000ff size=3D2>A SQ=
L database=20
  is possible, but you really need to think about your processing=20
  steps.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D846302909-06052002><FONT color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D846302909-06052002><FONT color=3D#0000ff=20
  size=3D2>mike</FONT></SPAN></DIV>
  <BLOCKQUOTE>
    <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT face=3DT=
ahoma=20
    size=3D2>-----Original Mess<SPAN class=3D846302909-06052002><FONT face=
=3DArial=20
    color=3D#0000ff>[Dupont,=20
    Michael]&nbsp;&nbsp;</FONT></SPAN>age-----<BR><B>From:</B> Valery Sigal=
ov=20
    [mailto:valery.sigalov@audiocodes.com]<BR><B>Sent:</B> Montag, 6. Mai 2=
002=20
    12:28<BR><B>To:</B> gccxml@www.gccxml.org<BR><B>Subject:</B>=20
    [GCC-XML]converting gccxml output into internal database for better=20
    access<BR><BR></FONT></DIV><!-- Converted from text/rtf format -->
    <P><FONT face=3DArial size=3D2>Hello,</FONT> <BR><FONT face=3DArial siz=
e=3D2>I need=20
    to parse the gccxml output file many times to receive the data. It seem=
s=20
    </FONT><BR><FONT face=3DArial size=3D2>very ineffective to parse the fi=
le every=20
    time from the beginning, to find the next </FONT><BR><FONT face=3DArial=
     size=3D2>id link, so I am looking for library for converting the gccxm=
l output=20
    into internal </FONT><BR><FONT face=3DArial size=3D2>database.</FONT> <=
BR><FONT=20
    face=3DArial size=3D2>I am very hope, somebody knows about the library =
of this=20
    kind.</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face=3DArial size=3D2>=
Regards,=20
    Valery.</FONT> </P><CODE><FONT=20
size=3D3><BR></BLOCKQUOTE></BLOCKQUOTE></FONT></CODE><CODE><FONT SIZE=3D3><=
BR>
<BR>
***************************************************************************=
*********************************<BR>
This email and any files transmitted with it are confidential material.<BR>
They are intended solely for the use of the individual or entity to whom th=
ey are addressed.<BR>
If you have received this email in error please notify postmaster@audiocode=
s.com<BR>
and permanently delete the e-mail and files.<BR>
***************************************************************************=
********************************<BR>
</FONT></CODE>
</BODY></HTML>

------_=_NextPart_001_01C1F4FB.6F1CE5D4--