Topic: http stream question


Author: noneof@yourbusiness.com ("Ken Shaw")
Date: Fri, 12 Sep 2003 23:01:33 +0000 (UTC)
Raw View
I'm developing an XML library that needs to be portable. I've been using the
standard library and boost::shared_ptr. Now I have a problem, I need to be
able to get a document, an external DTD in this case, referenced by a URL.
There is no standard way to do this and this makes the cross platform
development next to impossible. In comparison Java has a class for this
built into it's i/o class hierarchy.

After reading the proposals for the library TR, I wonder why a rather basic
extension to the iostream classes to allow for http requests is not in it?
Is there some basic problem that I'm missing?

Ken

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]