error.badfetch on non existent root document (bis)

As i did not get any anwer to the message, i post my query one more time.
The issue is as follows:
	In a document named doc1.vxml, which is a root document (do not specify an application attribute in the vxml tag), we transition to a document 	doc2.vxml.
	doc2.vxml refers to a non existing root document (i.e., application attribute set to doc2-root-unexisting.vxml).

As the spec says (chap 1.5.2), 
" If a document refers to a non-existent application root document, an error.badfetch event is thrown ",
an error.badfetch is thrown in this case.

The question: where is the error thrown, or in other way, where do i put the error.badfetch handler to catch the error?
I see 2 possibilities:
- in doc1.vxml, which means that if a document refers to a non existing root document, it is a badfecth to try to get this document.
- in doc2.vxml, which means that current document has to be initialized before getting and initializing the root document.

I think this is the same issue with the following assertion in chapter 1.5.2:
"If a document's application attribute refers to a document that also has an application attribute specified, an error.semantic event is thrown. "

except that, in this case, the error.semantic could also be catched in the first root document.

Thanks for your clarification.

Arnaud.


> -----Message d'origine-----
> De : Arnaud VALLEE 
> Envoyé : jeudi 9 janvier 2003 10:37
> À : www-voice@w3.org
> Objet : error.badfetch on non existent root document
> 
> 
> 
> Hello,
> 
> I have a question about where the error.badfetch is thrown 
> and caught when a called document has non existent root document.
> 
> Take the following scenario.
> The document 1 makes a transition to document 2 whose root 
> document does not exist.
> document 1 and document 2 have error.badfetch handler at the 
> document level.
> Where is the error supposed to be caught?
> 
> I think the question could be the same for the following assertion: 
> If a document's application attribute refers to a document 
> that also has an application attribute specified, an 
> error.semantic event is thrown. 
> 
> Thanks,
> 
> Arnaud.
> 
> 

Received on Tuesday, 21 January 2003 09:21:02 UTC