vxi-discuss



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: OpenVXI ver 1.4 and VXIrecSetProperties



I updated my project to this new version (1.4) but still when my
'QArecSetProperties' is called the 'VXIObject hash' is empty. That is when I
call :

	VXIint num = VXIObjectNumProperties(hash);

num is always 0! What am I doing wrong??

See below example for VXML script I run (based on OpenVXI sample).

Tamar.


//--------------------------------------------------
<?xml version="1.0" ?>
<vxml version="1.0">
<property name="bargein" value="false"/>
<property name="confidencelevel" value="0.45"/>
<form id="form0">
  <field name="field0" >
    <grammar> apple | grape | plum | berry </grammar>
    <prompt><audio src="swi.ulaw"/></prompt>
    <filled>
       <prompt>I think you said <value expr="field0" /> </prompt>
       <exit expr="field0" />
    </filled>
  </field>
</form>
</vxml>
//--------------------------------------------------



-----Original Message-----
From: Brian Eberman [mailto:brian.eberman@speechworks.com]
Sent: Friday, March 30, 2001 6:17 AM
To: Tamar Furman
Subject: RE: OpenVXI ver 1.4 and VXIrecSetProperties


Thanks, with that information we where able to determine that yes this
should be fixed in 1.4.
-Brian

-----Original Message-----
From: Tamar Furman [mailto:tfurman@simplysay.com]
Sent: Wednesday, March 28, 2001 3:48 PM
To: 'brian.eberman@speechworks.com'
Subject: FW: OpenVXI ver 1.4 and VXIrecSetProperties


I meant, of course, the <property> tag... ;-)
Tamar.

-----Original Message-----
From: Tamar Furman
Sent: Wednesday, March 28, 2001 1:39 PM
To: 'Brian Eberman'
Subject: RE: OpenVXI ver 1.4 and VXIrecSetProperties


Hello Brian,

The problem is when parsing the <properties> tag the VXI retrieves
information from the wrong node. The result is that when the
VXIrecSetProperties is eventually called the 'hash' object is empty. I
raised this problem before and got the impression that this problem is known
and should be fixed for ver 1.4. I enclosed one of the former relevant
e-mails on this issue. See below...

Please correct me, maybe there is something wrong with my understanding the
<properties> VXML tag... ;-)
Tamar.




----------------------------------------------------------------------------
--------------------------
Former discussion on the mailing list on this issue:


-----Original Message-----
From: dg [mailto:dgoddeau@speechworks.com]
Sent: Thursday, March 15, 2001 4:02 PM
To: vxi-discuss@speechinfo.org
Subject: Re: OpenVXI Version 1.3


Good catch. This has been fixed for the OpenVXI 1.4 release
(hopefully out soon).

			-dg


Dimitre Piskyulev wrote:
>
> I've run into this problem already. There is a bug
> in set_properties. it has:
>    ...
>    ... get_attribute(doc,"name");
>    ...
> which should read
>    ...
>    ... get_attribute(child,"name");
>    ...
> this is both for name and for value.
> After you make the change it should work fine.
>
> -Dimitre
>
> -----Original Message-----
> From: Tamar Furman [mailto:tfurman@simplysay.com]
> Sent: Thursday, March 15, 2001 1:29 PM
> To: 'dg'
> Cc: vxi-discuss@speechinfo.org
> Subject: RE: OpenVXI Version 1.3
>
> Thanks. This seams to be the answer for why the SetProperties function was
> never called. But, when I look  at the parsing of the property tag
> (VXI::set_properties) the name and value get empty strings and when my
> SetProperties function is finally called I get an empty object. What do I
do
> wrong?
>
> Tamar.
>




This page is maintained by Alan W Black (awb@cs.cmu.edu)
speechinfo.org is hosted on a machine donated by VA Linux Systems
VA Linux Systems