473,322 Members | 1,379 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Time to standardize the XML library for C/C++

With XML becoming the de facto data description standard, I am
extremely surprised that there is no movement towards standardizing an
xml library API for use with C and C++. Personally I have been
working with libxml2 (www.gnome.org) for a while now, and I am quite
comfortable with it. I believe that libxml2 is a good start, but I
think a slimmer version of libxml2 should be standardized.
Any thoughts?

Regards,
Kong Posh
Nov 14 '05 #1
9 1369
In article <8d**************************@posting.google.com >, "Kong Bhat"
<kb***@sta.samsung.com> wrote:

With XML becoming the de facto data description standard, I am extremely
surprised that there is no movement towards standardizing an xml library API
for use with C and C++. Personally I have been working with libxml2
(www.gnome.org) for a while now, and I am quite comfortable with it. I
believe that libxml2 is a good start, but I think a slimmer version of
libxml2 should be standardized. Any thoughts? Regards,


Why do you feel this is a C language question? This isn't an XML advocacy ng
you know.
Nov 14 '05 #2
In article <8d**************************@posting.google.com >, "Kong Bhat"
<kb***@sta.samsung.com> wrote:

With XML becoming the de facto data description standard, I am extremely
surprised that there is no movement towards standardizing an xml library API
for use with C and C++. Personally I have been working with libxml2
(www.gnome.org) for a while now, and I am quite comfortable with it. I
believe that libxml2 is a good start, but I think a slimmer version of
libxml2 should be standardized. Any thoughts? Regards,


Why do you feel this is a C language question? This isn't an XML advocacy ng
you know.
Nov 14 '05 #3
Kong Bhat wrote:
With XML becoming the de facto data description standard,
I am extremely surprised that there is no movement
toward standardizing an xml library API for use with C and C++.
Personally, I have been working with libxml2 (www.gnome.org)
for a while now and I am quite comfortable with it.
I believe that libxml2 is a good start
but I think a slimmer version of libxml2 should be standardized.


How is this on-topic in comp.std.c, comp.lang.c or comp.lang.c++?
Do you want to make this library part of the standard library?
If so, is there a compelling reason why this library must be implemented
by the compiler developer and not a third party vendor?
If the library can be implemented by third party vendors, then
a standard separate from the C/C++ standards may be a better option.

Nov 14 '05 #4
Kong Bhat wrote:
With XML becoming the de facto data description standard,
I am extremely surprised that there is no movement
toward standardizing an xml library API for use with C and C++.
Personally, I have been working with libxml2 (www.gnome.org)
for a while now and I am quite comfortable with it.
I believe that libxml2 is a good start
but I think a slimmer version of libxml2 should be standardized.


How is this on-topic in comp.std.c, comp.lang.c or comp.lang.c++?
Do you want to make this library part of the standard library?
If so, is there a compelling reason why this library must be implemented
by the compiler developer and not a third party vendor?
If the library can be implemented by third party vendors, then
a standard separate from the C/C++ standards may be a better option.

Nov 14 '05 #5
In article <8d**************************@posting.google.com >,
Kong Bhat <kb***@sta.samsung.com> wrote:
With XML becoming the de facto data description standard, I am
extremely surprised that there is no movement towards standardizing an
xml library API for use with C and C++.


It would not be appropriate to make this part of the C standard.
There are a million things that should be standardized first:
we don't even have lists or hash tables!

-- Richard
Nov 14 '05 #6
In article <8d**************************@posting.google.com >,
Kong Bhat <kb***@sta.samsung.com> wrote:
With XML becoming the de facto data description standard, I am
extremely surprised that there is no movement towards standardizing an
xml library API for use with C and C++.


It would not be appropriate to make this part of the C standard.
There are a million things that should be standardized first:
we don't even have lists or hash tables!

-- Richard
Nov 14 '05 #7
Kong Bhat wrote:
... I think a slimmer version of libxml2 should be standardized.


"Feel free."
Nov 14 '05 #8
ri*****@cogsci.ed.ac.uk (Richard Tobin) wrote in message news:<c5**********@pc-news.cogsci.ed.ac.uk>...
In article <8d**************************@posting.google.com >,
Kong Bhat <kb***@sta.samsung.com> wrote:
With XML becoming the de facto data description standard, I am
extremely surprised that there is no movement towards standardizing an
xml library API for use with C and C++.


It would not be appropriate to make this part of the C standard.
There are a million things that should be standardized first:
we don't even have lists or hash tables!

-- Richard


Kindly note that I am only in favor of standardizing the API. There
could be multiple implementations that conform to that API (including
Richard's very own "newRXP" parser), in much the same way that we have
standard APIs for I/O handling, string manipulation, mathematical
functions etc. The big advantage of that would be that code written
to handle XML processing would become extremely portable.

I will put my money on the prediction that XML processing within C/C++
applications will take off in a very very big way in the next few
years, especially as the use of WebServices becomes more widespread.
That is why I strongly feel that the time is ripe to move towards
standardizing this API.

Regards,
Kong Posh
Nov 14 '05 #9
Kong Bhat wrote:

With XML becoming the de facto data description standard, I am
extremely surprised that there is no movement towards standardizing an
xml library API for use with C and C++. Personally I have been
working with libxml2 (www.gnome.org) for a while now, and I am quite
comfortable with it. I believe that libxml2 is a good start, but I
think a slimmer version of libxml2 should be standardized.

Any thoughts?


That's an excellent idea - whoever is responsible for XML should
establish a standard library for generating/parsing it. Such a library
would, of course, be too specialized to have any proper place in the
C/C++ standard libraries.
Nov 14 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Generic Usenet Account | last post by:
The C/C++ libxml library from xmfsoft (www.xmlsoft.org ---- GNOME project) has in excess of 1000 APIs (http://www.xmlsoft.org/APIfunctions.html). This excessively high number of APIs is beyond...
30
by: Kong Bhat | last post by:
With XML becoming the de facto data description standard, I am extremely surprised that there is no movement towards standardizing an xml library API for use with C and C++. Personally I have been...
14
by: artifact.one | last post by:
It'd be really pleasant (in my opinion) if the next revision of the C language actually allowed some portable control over data alignment. Compiler-specific mechanisms for this stuff are so...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.