473,395 Members | 1,623 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,395 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 1371
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.