[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Loading documents from a URL
On Tue, 27 Mar 2001, Suresh Paliwal wrote:
Hello,
> Can anyone tell me how to load the root document or other vxml documents or
> audio/grammar files from a web server? Does OpenVXI support it?
Take a look at the "Trouble with remote fetching and builtin
grammars" thread from about 2 weeks ago, if you have it. From what I
understand, the fetching of remote docs is platform dependant so you must
ensure that the OS API is fetching the URI.
We are using Xerces as the XML parser (as recommended at
http://www.speech.cs.cmu.edu/openvxi/OpenVXI_1_4/browser/doc/Integration.html),
so I just took advantage of it's capabilities to implement the url related
OS API functions (e.g. VXIosOpenUrl). If you choose to use Xerces to
fetch dynamic content (say by submiting a form to a cgi), you may want to
have a look at a bug report/patch I submited to Xerces at
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=949
Pat Deegan, TGFLinux